ldas-tools-diskcacheAPI  2.7.2
Classes | Namespaces | Macros | Typedefs | Functions
Directory.cc File Reference
#include <diskcache_config.h>
#include <sys/stat.h>
#include <algorithm>
#include <list>
#include <string>
#include <sstream>
#include <utility>
#include "ldastoolsal/Directory.hh"
#include "ldastoolsal/gpstime.hh"
#include "ldastoolsal/System.hh"
#include "ldastoolsal/Timeout.hh"
#include "genericAPI/Logging.hh"
#include "genericAPI/Stat.hh"
#include "diskcacheAPI/Common/Logging.hh"
#include "diskcacheAPI/Cache/Directory.hh"
#include "diskcacheAPI/Cache/DirectoryManager.hh"
#include "diskcacheAPI/Cache/ExcludedDirectoriesSingleton.hh"
#include "diskcacheAPI/Cache/ExcludedPattern.hh"
#include "diskcacheAPI/Cache/QueryAnswer.hh"
#include "diskcacheAPI/Cache/RegistrySingleton.hh"
#include "diskcacheAPI/Streams/ASCII.hh"
#include "diskcacheAPI/Streams/Binary.hh"
#include "Devices.hh"
Include dependency graph for Directory.cc:

Classes

union  anonymous_namespace{Directory.cc}::stat_id
 
class  diskCache::Cache::StatInfo
 

Namespaces

 anonymous_namespace{Directory.cc}
 
 diskCache
 Maintains a list of commands that are supported.
 
 diskCache::Streams
 
 diskCache::Cache
 

Macros

#define VERBOSE_ERROR   0
 
#define AT_BASE(a)
 
#define AT(a)   AT_BASE( a << std::endl << "\t" )
 
#define HERE()   AT_BASE( "" )
 
#define COND_QUEUE_LOG_MESSAGE(MSG, MODE, LVL, CALLER, TYPE)
 
#define COND_CALLER(A)
 

Typedefs

typedef diskCache::Cache::Directory Directory
 
typedef diskCache::Cache::Directory::SymbolicLinkError SymbolicLinkError
 
typedef diskCache::Cache::Directory::children_type children_type
 
typedef diskCache::Cache::Directory::ignored_type ignored_type
 
typedef diskCache::Cache::Directory::dirref_type dirref_type
 
typedef diskCache::Cache::DirectoryScanData DirectoryScanData
 
typedef std::list< std::string > filename_container_type
 
typedef std::string directory_element_type
 
typedef std::list< directory_element_typedirectory_container_type
 
typedef boost::weak_ptr< Directory::dirref_type::element_type > diskCache::Cache::weakdirref_type
 

Functions

diskCache::Cache::Directory::timestamp_type anonymous_namespace{Directory.cc}::do_stat (const std::string &Path, struct stat &StatStruct, bool IsRoot)
 
const string anonymous_namespace{Directory.cc}::errnoMessage ()
 Get errno string message. More...
 
void anonymous_namespace{Directory.cc}::read_directory (const std::string &Path, const std::string &RootDirectory, directory_container_type &Children, ignored_type &IgnoredDirectories, Directory::index_container_type &OldData, DirectoryScanData &ScanData, const diskCache::Cache::StatInfo &Stat)
 
Streams::IBinary & diskCache::operator>> (Streams::IBinary &Stream, Cache::Directory::dirref_type &Data)
 

Macro Definition Documentation

◆ AT

#define AT (   a)    AT_BASE( a << std::endl << "\t" )

◆ AT_BASE

#define AT_BASE (   a)

◆ COND_CALLER

#define COND_CALLER (   A)

◆ COND_QUEUE_LOG_MESSAGE

#define COND_QUEUE_LOG_MESSAGE (   MSG,
  MODE,
  LVL,
  CALLER,
  TYPE 
)

◆ HERE

#define HERE ( )    AT_BASE( "" )

◆ VERBOSE_ERROR

#define VERBOSE_ERROR   0

Typedef Documentation

◆ children_type

◆ Directory

◆ directory_container_type

◆ directory_element_type

typedef std::string directory_element_type

◆ DirectoryScanData

◆ dirref_type

◆ filename_container_type

typedef std::list< std::string > filename_container_type

◆ ignored_type

◆ SymbolicLinkError