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

#include <MetaCommands.hh>

Inheritance diagram for diskCache::MetaCommand::Dump:
Inheritance graph
[legend]
Collaboration diagram for diskCache::MetaCommand::Dump:
Collaboration graph
[legend]

Public Types

typedef ServerInfo::port_type port_type
 
typedef ServerInfo::port_type port_type
 
typedef ServerInfo::port_type port_type
 

Public Member Functions

 Dump (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server)
 
 Dump (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server)
 
 Dump (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server)
 
void ClientHandle (server_responce_type Value)
 
void ClientHandle (server_responce_type Value)
 
void ClientHandle (server_responce_type Value)
 
bool IsServer () const
 
bool IsServer () const
 
bool IsServer () const
 
const ServerInfoServer () const
 
const ServerInfoServer () const
 
const ServerInfoServer () const
 
const std::string & ServerHostname () const
 
const std::string & ServerHostname () const
 
const std::string & ServerHostname () const
 
port_type ServerPort () const
 
port_type ServerPort () const
 
port_type ServerPort () const
 
void ServerRequest (const std::string &Command)
 
void ServerRequest (const std::string &Command)
 
void ServerRequest (const std::string &Command)
 
void operator() ()
 
void operator() ()
 
void operator() ()
 

Static Public Member Functions

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

Protected Member Functions

virtual void evalClient ()
 
virtual void evalServer ()
 
virtual void evalStandalone ()
 
virtual void evalClient ()
 
virtual void evalServer ()
 
virtual void evalStandalone ()
 
virtual void evalClient ()
 
virtual void evalServer ()
 
virtual void evalStandalone ()
 
server_responce_type clientHandle ()
 
server_responce_type clientHandle ()
 
server_responce_type clientHandle ()
 
void eval ()
 
void eval ()
 
void eval ()
 
client_type serverRequestHandle ()
 
client_type serverRequestHandle ()
 
client_type serverRequestHandle ()
 

Private Types

enum  {
  OPT_IFO, OPT_OUTPUT_ASCII, OPT_OUTPUT_BINARY, OPT_TYPE,
  OPT_VERSION_ASCII, OPT_VERSION_BINARY
}
 
enum  {
  OPT_IFO, OPT_OUTPUT_ASCII, OPT_OUTPUT_BINARY, OPT_TYPE,
  OPT_VERSION_ASCII, OPT_VERSION_BINARY
}
 
enum  {
  OPT_IFO, OPT_OUTPUT_ASCII, OPT_OUTPUT_BINARY, 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 m_ifo
 
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

◆ port_type [1/3]

◆ port_type [2/3]

◆ port_type [3/3]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_IFO 
OPT_OUTPUT_ASCII 
OPT_OUTPUT_BINARY 
OPT_TYPE 
OPT_VERSION_ASCII 
OPT_VERSION_BINARY 

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_IFO 
OPT_OUTPUT_ASCII 
OPT_OUTPUT_BINARY 
OPT_TYPE 
OPT_VERSION_ASCII 
OPT_VERSION_BINARY 

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_IFO 
OPT_OUTPUT_ASCII 
OPT_OUTPUT_BINARY 
OPT_TYPE 
OPT_VERSION_ASCII 
OPT_VERSION_BINARY 

Constructor & Destructor Documentation

◆ Dump() [1/3]

diskCache::MetaCommand::Dump::Dump ( CommandLineOptions Args,
const ClientServerInterface::ServerInfo Server 
)

◆ Dump() [2/3]

diskCache::MetaCommand::Dump::Dump ( CommandLineOptions Args,
const ClientServerInterface::ServerInfo Server 
)

◆ Dump() [3/3]

diskCache::MetaCommand::Dump::Dump ( CommandLineOptions Args,
const ClientServerInterface::ServerInfo Server 
)

Member Function Documentation

◆ ClientHandle() [1/3]

void diskCache::MetaCommand::ClientServerInterface::ClientHandle ( server_responce_type  Value)
inlineinherited

◆ ClientHandle() [2/3]

void diskCache::MetaCommand::ClientServerInterface::ClientHandle ( server_responce_type  Value)
inherited

◆ ClientHandle() [3/3]

void diskCache::MetaCommand::ClientServerInterface::ClientHandle ( server_responce_type  Value)
inherited

◆ clientHandle() [1/3]

server_responce_type diskCache::MetaCommand::ClientServerInterface::clientHandle ( )
inlineprotectedinherited

◆ clientHandle() [2/3]

server_responce_type diskCache::MetaCommand::ClientServerInterface::clientHandle ( )
protectedinherited

◆ clientHandle() [3/3]

server_responce_type diskCache::MetaCommand::ClientServerInterface::clientHandle ( )
protectedinherited

◆ eval() [1/3]

void diskCache::MetaCommand::ClientServerInterface::eval ( )
inlineprotectedinherited

◆ eval() [2/3]

void diskCache::MetaCommand::ClientServerInterface::eval ( )
protectedinherited

◆ eval() [3/3]

void diskCache::MetaCommand::ClientServerInterface::eval ( )
protectedinherited

◆ evalClient() [1/3]

void diskCache::MetaCommand::Dump::evalClient ( )
protectedvirtual

◆ evalClient() [2/3]

virtual void diskCache::MetaCommand::Dump::evalClient ( )
protectedvirtual

◆ evalClient() [3/3]

virtual void diskCache::MetaCommand::Dump::evalClient ( )
protectedvirtual

◆ evalServer() [1/3]

virtual void diskCache::MetaCommand::Dump::evalServer ( )
protectedvirtual

◆ evalServer() [2/3]

virtual void diskCache::MetaCommand::Dump::evalServer ( )
protectedvirtual

◆ evalServer() [3/3]

void diskCache::MetaCommand::Dump::evalServer ( )
protectedvirtual

◆ evalStandalone() [1/3]

void diskCache::MetaCommand::Dump::evalStandalone ( )
protectedvirtual
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.

Implements diskCache::MetaCommand::ClientServerInterface.

◆ evalStandalone() [2/3]

virtual void diskCache::MetaCommand::Dump::evalStandalone ( )
protectedvirtual

◆ evalStandalone() [3/3]

virtual void diskCache::MetaCommand::Dump::evalStandalone ( )
protectedvirtual

◆ init_options() [1/3]

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

◆ init_options() [2/3]

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

◆ init_options() [3/3]

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

◆ IsServer() [1/3]

bool diskCache::MetaCommand::ClientServerInterface::IsServer ( ) const
inherited

◆ IsServer() [2/3]

bool diskCache::MetaCommand::ClientServerInterface::IsServer ( ) const
inlineinherited

◆ IsServer() [3/3]

bool diskCache::MetaCommand::ClientServerInterface::IsServer ( ) const
inherited

◆ operator()() [1/3]

void diskCache::MetaCommand::ClientServerInterface::operator() ( )
inlineinherited

◆ operator()() [2/3]

void diskCache::MetaCommand::ClientServerInterface::operator() ( )
inherited

◆ operator()() [3/3]

void diskCache::MetaCommand::ClientServerInterface::operator() ( )
inherited

◆ Options() [1/3]

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

◆ Options() [2/3]

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

◆ Options() [3/3]

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

◆ Server() [1/3]

const ServerInfo& diskCache::MetaCommand::ClientServerInterface::Server ( ) const
inherited

◆ Server() [2/3]

const ClientServerInterface::ServerInfo & diskCache::MetaCommand::ClientServerInterface::Server ( ) const
inlineinherited

◆ Server() [3/3]

const ServerInfo& diskCache::MetaCommand::ClientServerInterface::Server ( ) const
inherited

◆ ServerHostname() [1/3]

const std::string & diskCache::MetaCommand::ClientServerInterface::ServerHostname ( ) const
inlineinherited

◆ ServerHostname() [2/3]

const std::string& diskCache::MetaCommand::ClientServerInterface::ServerHostname ( ) const
inherited

◆ ServerHostname() [3/3]

const std::string& diskCache::MetaCommand::ClientServerInterface::ServerHostname ( ) const
inherited

◆ ServerPort() [1/3]

port_type diskCache::MetaCommand::ClientServerInterface::ServerPort ( ) const
inherited

◆ ServerPort() [2/3]

ClientServerInterface::port_type diskCache::MetaCommand::ClientServerInterface::ServerPort ( ) const
inlineinherited

◆ ServerPort() [3/3]

port_type diskCache::MetaCommand::ClientServerInterface::ServerPort ( ) const
inherited

◆ ServerRequest() [1/3]

void diskCache::MetaCommand::ClientServerInterface::ServerRequest ( const std::string &  Command)
inherited

◆ ServerRequest() [2/3]

void diskCache::MetaCommand::ClientServerInterface::ServerRequest ( const std::string &  Command)
inherited

◆ ServerRequest() [3/3]

void diskCache::MetaCommand::ClientServerInterface::ServerRequest ( const std::string &  Command)
inlineinherited

◆ serverRequestHandle() [1/3]

client_type diskCache::MetaCommand::ClientServerInterface::serverRequestHandle ( )
inlineprotectedinherited

◆ serverRequestHandle() [2/3]

client_type diskCache::MetaCommand::ClientServerInterface::serverRequestHandle ( )
protectedinherited

◆ serverRequestHandle() [3/3]

client_type diskCache::MetaCommand::ClientServerInterface::serverRequestHandle ( )
protectedinherited

Member Data Documentation

◆ m_args

CommandLineOptions diskCache::MetaCommand::Dump::m_args
private

◆ m_ifo

std::string diskCache::MetaCommand::Dump::m_ifo
private

◆ m_options

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

◆ m_output_ascii

std::string diskCache::MetaCommand::Dump::m_output_ascii
private

◆ m_output_binary

std::string diskCache::MetaCommand::Dump::m_output_binary
private

◆ m_type

std::string diskCache::MetaCommand::Dump::m_type
private

◆ m_version_ascii

version_type diskCache::MetaCommand::Dump::m_version_ascii
private

◆ m_version_binary

version_type diskCache::MetaCommand::Dump::m_version_binary
private

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