ldas-tools-diskcacheAPI 2.7.7
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, const std::string &DefaultConfigurationFilename=std::string(""))
 
void operator() ()
 
 Scan (CommandLineOptions &Args, const std::string &DefaultConfigurationFilename=std::string(""))
 
void operator() ()
 
 Scan (CommandLineOptions &Args, const std::string &DefaultConfigurationFilename=std::string(""))
 
void operator() ()
 

Static Public Member Functions

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

Private Types

enum  {
  OPT_CONCURRENCY , OPT_CONFIGURATION_FILE , 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_CONFIGURATION_FILE , 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_CONFIGURATION_FILE , OPT_EXTENSIONS , OPT_MOUNT_POINTS ,
  OPT_OUTPUT_ASCII , OPT_OUTPUT_BINARY , OPT_RWLOCK_INTERVAL , OPT_TYPE ,
  OPT_VERSION_ASCII , OPT_VERSION_BINARY
}
 

Static Private Member Functions

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

Private Attributes

CommandLineOptions m_args
 
std::string configuration_filename
 
Variables variables
 

Static Private Attributes

static OptionSetm_options
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_CONCURRENCY 
OPT_CONFIGURATION_FILE 
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_CONFIGURATION_FILE 
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_CONFIGURATION_FILE 
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,
const std::string &  DefaultConfigurationFilename = std::string( "" ) 
)

◆ Scan() [2/3]

diskCache::MetaCommand::Scan::Scan ( CommandLineOptions Args,
const std::string &  DefaultConfigurationFilename = std::string("") 
)

◆ Scan() [3/3]

diskCache::MetaCommand::Scan::Scan ( CommandLineOptions Args,
const std::string &  DefaultConfigurationFilename = std::string("") 
)

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

◆ configuration_filename

std::string diskCache::MetaCommand::Scan::configuration_filename
private

◆ m_args

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

◆ m_options

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

◆ variables

Variables diskCache::MetaCommand::Scan::variables
private

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