ldas-tools-diskcacheAPI  2.7.2
Public Types | Public Member Functions | Private Attributes | List of all members
diskCache::MetaCommand::Daemon::Config_ Class Reference
Inheritance diagram for diskCache::MetaCommand::Daemon::Config_:
Inheritance graph
[legend]
Collaboration diagram for diskCache::MetaCommand::Daemon::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_ (Daemon &Command)
 
virtual 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_ (Daemon &Command)
 
virtual 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_ (Daemon &Command)
 
virtual 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)
 

Private Attributes

Daemoncommand
 
state_type state
 

Member Typedef Documentation

◆ base_type [1/3]

◆ base_type [2/3]

◆ base_type [3/3]

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::MetaCommand::Daemon::Config_::Config_ ( Daemon Command)

◆ Config_() [2/3]

diskCache::MetaCommand::Daemon::Config_::Config_ ( Daemon Command)

◆ Config_() [3/3]

diskCache::MetaCommand::Daemon::Config_::Config_ ( Daemon Command)

Member Function Documentation

◆ Parse() [1/3]

void diskCache::MetaCommand::Daemon::Config_::Parse ( std::istream &  Stream)
virtual

◆ Parse() [2/3]

virtual void diskCache::MetaCommand::Daemon::Config_::Parse ( std::istream &  Stream)
virtual

◆ Parse() [3/3]

virtual void diskCache::MetaCommand::Daemon::Config_::Parse ( std::istream &  Stream)
virtual

◆ ParseBlock() [1/3]

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

◆ ParseBlock() [2/3]

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

◆ ParseBlock() [3/3]

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

◆ ParseKeyValue() [1/3]

void diskCache::MetaCommand::Daemon::Config_::ParseKeyValue ( const std::string &  Key,
const std::string &  Value 
)
virtual
Todo:
Need to produce and exception regarding unknown keyword found
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.

◆ ParseKeyValue() [2/3]

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

◆ ParseKeyValue() [3/3]

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

◆ ParseWord() [1/3]

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

◆ ParseWord() [2/3]

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

◆ ParseWord() [3/3]

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

Member Data Documentation

◆ command

Daemon & diskCache::MetaCommand::Daemon::Config_::command
private

◆ state

state_type diskCache::MetaCommand::Daemon::Config_::state
private

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