ldas-tools-diskcacheAPI  2.6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
diskCache::MetaCommand::CommandTable Class Reference

#include <MetaCommands.hh>

Public Types

enum  command_type {
  CMD_UNKNOWN, CMD_DAEMON, CMD_DUMP, CMD_FILENAMES,
  CMD_FILENAMES_RDS, CMD_INTERVALS, CMD_MOUNT_POINT_STATS, CMD_QUIT,
  CMD_RECONFIGURE, CMD_SCAN, CMD_STATUS
}
 

Public Member Functions

 ~CommandTable ()
 Destructor to release system resources. More...
 

Static Public Member Functions

static command_type Lookup (const std::string &Name)
 Translate from ascii to enumerated type. More...
 
static const char * Lookup (command_type Command)
 

Member Enumeration Documentation

Enumerator
CMD_UNKNOWN 
CMD_DAEMON 
CMD_DUMP 
CMD_FILENAMES 
CMD_FILENAMES_RDS 
CMD_INTERVALS 
CMD_MOUNT_POINT_STATS 
CMD_QUIT 
CMD_RECONFIGURE 
CMD_SCAN 
CMD_STATUS 

Constructor & Destructor Documentation

diskCache::MetaCommand::CommandTable::~CommandTable ( )

Destructor to release system resources.

Member Function Documentation

CommandTable::command_type diskCache::MetaCommand::CommandTable::Lookup ( const std::string &  Name)
inlinestatic

Translate from ascii to enumerated type.

Parameters
[in]NameThe ascii form of the command
Returns
The appropriate value from the command_type enumeration. If Name cannot be mapped, then the value CMD_UNKNOWN is returned.
const char * diskCache::MetaCommand::CommandTable::Lookup ( command_type  Command)
inlinestatic

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