ldas-tools-diskcacheAPI  2.7.1
Public Member Functions | Static Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
diskCache::MetaCommand::Scan Class Reference

#include <MetaCommands.hh>

Collaboration diagram for diskCache::MetaCommand::Scan:
Collaboration graph
[legend]

Public Member Functions

 Scan (CommandLineOptions &Args)
 
void operator() ()
 
 Scan (CommandLineOptions &Args)
 
void operator() ()
 
 Scan (CommandLineOptions &Args)
 
void operator() ()
 

Static Public Member Functions

static const OptionSetOptions ()
 
static const OptionSetOptions ()
 
static const OptionSetOptions ()
 

Private Types

enum  {
  OPT_CONCURRENCY , OPT_EXTENSIONS , OPT_MOUNT_POINTS , OPT_OUTPUT_ASCII ,
  OPT_OUTPUT_BINARY , OPT_RWLOCK_INTERVAL , OPT_TYPE , OPT_VERSION_ASCII ,
  OPT_VERSION_BINARY
}
 
enum  {
  OPT_CONCURRENCY , OPT_EXTENSIONS , OPT_MOUNT_POINTS , OPT_OUTPUT_ASCII ,
  OPT_OUTPUT_BINARY , OPT_RWLOCK_INTERVAL , OPT_TYPE , OPT_VERSION_ASCII ,
  OPT_VERSION_BINARY
}
 
enum  {
  OPT_CONCURRENCY , OPT_EXTENSIONS , OPT_MOUNT_POINTS , OPT_OUTPUT_ASCII ,
  OPT_OUTPUT_BINARY , OPT_RWLOCK_INTERVAL , OPT_TYPE , OPT_VERSION_ASCII ,
  OPT_VERSION_BINARY
}
 
typedef diskCache::Cache::SDGTx::file_extension_container_type extensions_type
 
typedef MountPointManagerSingleton::mount_point_name_container_type mount_points_type
 
typedef diskCache::Cache::SDGTx::file_extension_container_type extensions_type
 
typedef MountPointManagerSingleton::mount_point_name_container_type mount_points_type
 
typedef diskCache::Cache::SDGTx::file_extension_container_type extensions_type
 
typedef MountPointManagerSingleton::mount_point_name_container_type mount_points_type
 

Static Private Member Functions

static OptionSetinit_options ()
 
static OptionSetinit_options ()
 
static OptionSetinit_options ()
 

Private Attributes

CommandLineOptions m_args
 
extensions_type m_extensions
 
mount_points_type m_mount_points
 
std::string m_output_ascii
 
std::string m_output_binary
 
std::string m_type
 
version_type m_version_ascii
 
version_type m_version_binary
 

Static Private Attributes

static OptionSetm_options
 

Member Typedef Documentation

◆ extensions_type [1/3]

◆ extensions_type [2/3]

◆ extensions_type [3/3]

◆ mount_points_type [1/3]

◆ mount_points_type [2/3]

◆ mount_points_type [3/3]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_CONCURRENCY 
OPT_EXTENSIONS 
OPT_MOUNT_POINTS 
OPT_OUTPUT_ASCII 
OPT_OUTPUT_BINARY 
OPT_RWLOCK_INTERVAL 
OPT_TYPE 
OPT_VERSION_ASCII 
OPT_VERSION_BINARY 

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_CONCURRENCY 
OPT_EXTENSIONS 
OPT_MOUNT_POINTS 
OPT_OUTPUT_ASCII 
OPT_OUTPUT_BINARY 
OPT_RWLOCK_INTERVAL 
OPT_TYPE 
OPT_VERSION_ASCII 
OPT_VERSION_BINARY 

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_CONCURRENCY 
OPT_EXTENSIONS 
OPT_MOUNT_POINTS 
OPT_OUTPUT_ASCII 
OPT_OUTPUT_BINARY 
OPT_RWLOCK_INTERVAL 
OPT_TYPE 
OPT_VERSION_ASCII 
OPT_VERSION_BINARY 

Constructor & Destructor Documentation

◆ Scan() [1/3]

diskCache::MetaCommand::Scan::Scan ( CommandLineOptions Args)

◆ Scan() [2/3]

diskCache::MetaCommand::Scan::Scan ( CommandLineOptions Args)

◆ Scan() [3/3]

diskCache::MetaCommand::Scan::Scan ( CommandLineOptions Args)

Member Function Documentation

◆ init_options() [1/3]

OptionSet & diskCache::MetaCommand::Scan::init_options ( )
staticprivate

◆ init_options() [2/3]

static OptionSet& diskCache::MetaCommand::Scan::init_options ( )
staticprivate

◆ init_options() [3/3]

static OptionSet& diskCache::MetaCommand::Scan::init_options ( )
staticprivate

◆ operator()() [1/3]

void diskCache::MetaCommand::Scan::operator() ( )
Todo:
format results for output to stream diskCache::ASCII::Translate( &std::cout, results );
Todo:
When the output is ascii, the query options should allow the user to request a subset of the entire cache.
Todo:
When the output is binary, the query options should allow the user to request a subset of the entire cache.

◆ operator()() [2/3]

void diskCache::MetaCommand::Scan::operator() ( )

◆ operator()() [3/3]

void diskCache::MetaCommand::Scan::operator() ( )

◆ Options() [1/3]

const OptionSet & diskCache::MetaCommand::Scan::Options ( )
static

◆ Options() [2/3]

static const OptionSet& diskCache::MetaCommand::Scan::Options ( )
static

◆ Options() [3/3]

static const OptionSet& diskCache::MetaCommand::Scan::Options ( )
static

Member Data Documentation

◆ m_args

CommandLineOptions diskCache::MetaCommand::Scan::m_args
private

◆ m_extensions

extensions_type diskCache::MetaCommand::Scan::m_extensions
private

◆ m_mount_points

mount_points_type diskCache::MetaCommand::Scan::m_mount_points
private

◆ m_options

static OptionSet & diskCache::MetaCommand::Scan::m_options
staticprivate

◆ m_output_ascii

std::string diskCache::MetaCommand::Scan::m_output_ascii
private

◆ m_output_binary

std::string diskCache::MetaCommand::Scan::m_output_binary
private

◆ m_type

std::string diskCache::MetaCommand::Scan::m_type
private

◆ m_version_ascii

version_type diskCache::MetaCommand::Scan::m_version_ascii
private

◆ m_version_binary

version_type diskCache::MetaCommand::Scan::m_version_binary
private

The documentation for this class was generated from the following files: