ldas-tools-diskcacheAPI 2.7.7
Public Types | Public Member Functions | Protected Attributes | List of all members
diskCache::Variables::Config_ Class Reference

#include <Variables.hh>

Inheritance diagram for diskCache::Variables::Config_:
Inheritance graph
[legend]
Collaboration diagram for diskCache::Variables::Config_:
Collaboration graph
[legend]

Public Types

enum  state_type {
  BLOCK_DAEMON , BLOCK_EXTENSIONS , BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS ,
  BLOCK_MOUNT_POINTS , BLOCK_UNKNOWN , NON_BLOCK , BLOCK_DAEMON ,
  BLOCK_EXTENSIONS , BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS , BLOCK_MOUNT_POINTS ,
  BLOCK_UNKNOWN , NON_BLOCK , BLOCK_DAEMON , BLOCK_EXTENSIONS ,
  BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS , BLOCK_MOUNT_POINTS , BLOCK_UNKNOWN ,
  NON_BLOCK
}
 
enum  state_type {
  BLOCK_DAEMON , BLOCK_EXTENSIONS , BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS ,
  BLOCK_MOUNT_POINTS , BLOCK_UNKNOWN , NON_BLOCK , BLOCK_DAEMON ,
  BLOCK_EXTENSIONS , BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS , BLOCK_MOUNT_POINTS ,
  BLOCK_UNKNOWN , NON_BLOCK , BLOCK_DAEMON , BLOCK_EXTENSIONS ,
  BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS , BLOCK_MOUNT_POINTS , BLOCK_UNKNOWN ,
  NON_BLOCK
}
 
enum  state_type {
  BLOCK_DAEMON , BLOCK_EXTENSIONS , BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS ,
  BLOCK_MOUNT_POINTS , BLOCK_UNKNOWN , NON_BLOCK , BLOCK_DAEMON ,
  BLOCK_EXTENSIONS , BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS , BLOCK_MOUNT_POINTS ,
  BLOCK_UNKNOWN , NON_BLOCK , BLOCK_DAEMON , BLOCK_EXTENSIONS ,
  BLOCK_EXCLUDED_DIRECTORIES , BLOCK_EXCLUDED_PATTERNS , BLOCK_MOUNT_POINTS , BLOCK_UNKNOWN ,
  NON_BLOCK
}
 
typedef LDASTools::AL::Config base_type
 
typedef LDASTools::AL::Config base_type
 
typedef LDASTools::AL::Config base_type
 

Public Member Functions

 Config_ (Variables &Parser)
 
void Parse (std::istream &Stream)
 
virtual void ParseBlock (const std::string &Value)
 
virtual void ParseKeyValue (const std::string &Key, const std::string &Value)
 
virtual void ParseWord (const std::string &Value)
 
 Config_ (Variables &Parser)
 
void Parse (std::istream &Stream)
 
virtual void ParseBlock (const std::string &Value)
 
virtual void ParseKeyValue (const std::string &Key, const std::string &Value)
 
virtual void ParseWord (const std::string &Value)
 
 Config_ (Variables &Parser)
 
void Parse (std::istream &Stream)
 
virtual void ParseBlock (const std::string &Value)
 
virtual void ParseKeyValue (const std::string &Key, const std::string &Value)
 
virtual void ParseWord (const std::string &Value)
 

Protected Attributes

Variablesstorage
 
state_type state
 

Member Typedef Documentation

◆ base_type [1/3]

typedef LDASTools::AL::Config diskCache::Variables::Config_::base_type

◆ base_type [2/3]

typedef LDASTools::AL::Config diskCache::Variables::Config_::base_type

◆ base_type [3/3]

typedef LDASTools::AL::Config diskCache::Variables::Config_::base_type

Member Enumeration Documentation

◆ state_type [1/3]

Enumerator
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 

◆ state_type [2/3]

Enumerator
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 

◆ state_type [3/3]

Enumerator
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 
BLOCK_DAEMON 
BLOCK_EXTENSIONS 
BLOCK_EXCLUDED_DIRECTORIES 
BLOCK_EXCLUDED_PATTERNS 
BLOCK_MOUNT_POINTS 
BLOCK_UNKNOWN 
NON_BLOCK 

Constructor & Destructor Documentation

◆ Config_() [1/3]

diskCache::Variables::Config_::Config_ ( Variables Parser)

◆ Config_() [2/3]

diskCache::Variables::Config_::Config_ ( Variables Parser)

◆ Config_() [3/3]

diskCache::Variables::Config_::Config_ ( Variables Parser)

Member Function Documentation

◆ Parse() [1/3]

void diskCache::Variables::Config_::Parse ( std::istream &  Stream)

◆ Parse() [2/3]

void diskCache::Variables::Config_::Parse ( std::istream &  Stream)

◆ Parse() [3/3]

void diskCache::Variables::Config_::Parse ( std::istream &  Stream)

◆ ParseBlock() [1/3]

void diskCache::Variables::Config_::ParseBlock ( const std::string &  Value)
virtual

◆ ParseBlock() [2/3]

virtual void diskCache::Variables::Config_::ParseBlock ( const std::string &  Value)
virtual

◆ ParseBlock() [3/3]

virtual void diskCache::Variables::Config_::ParseBlock ( const std::string &  Value)
virtual

◆ ParseKeyValue() [1/3]

void diskCache::Variables::Config_::ParseKeyValue ( const std::string &  Key,
const std::string &  Value 
)
virtual
Todo:
Need to produce an exception regarding parse error in configuration file as a key/value pair was encountered where a word value was expected.

Reimplemented in diskCache::MetaCommand::Daemon::DaemonConfig_, diskCache::MetaCommand::Daemon::DaemonConfig_, and diskCache::MetaCommand::Daemon::DaemonConfig_.

◆ ParseKeyValue() [2/3]

virtual void diskCache::Variables::Config_::ParseKeyValue ( const std::string &  Key,
const std::string &  Value 
)
virtual

◆ ParseKeyValue() [3/3]

virtual void diskCache::Variables::Config_::ParseKeyValue ( const std::string &  Key,
const std::string &  Value 
)
virtual

◆ ParseWord() [1/3]

void diskCache::Variables::Config_::ParseWord ( const std::string &  Value)
virtual
Todo:
Have Variables::Config_::ParseWord throw exception if it reaches an unreachable state.

◆ ParseWord() [2/3]

virtual void diskCache::Variables::Config_::ParseWord ( const std::string &  Value)
virtual

◆ ParseWord() [3/3]

virtual void diskCache::Variables::Config_::ParseWord ( const std::string &  Value)
virtual

Member Data Documentation

◆ state

state_type diskCache::Variables::Config_::state
protected

◆ storage

Variables & diskCache::Variables::Config_::storage
protected

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