Luiza  v03-01
Public Member Functions | Static Public Member Functions | List of all members
luiza::CMProcessor Class Reference

#include <CMProcessor.h>

Public Member Functions

ProcessorgetProc (const std::string &type)
 
ssMap getProcDesc ()
 
StringParameters * getSParams (const std::string &type)
 
StringParameters * mergeParams (const std::string &type, StringParameters *sp)
 
ProcessorParametergetParam (const std::string &type, const std::string &key)
 
const std::string getParamD (const std::string &type, const std::string &key)
 
const std::string getParamT (const std::string &type, const std::string &key)
 
int getParamSetSize (const std::string &type, const std::string &key)
 
bool isParamVec (const std::string &type, const std::string &key)
 
bool isParamOpt (const std::string &type, const std::string &key)
 
bool isInstalled (const std::string &type)
 

Static Public Member Functions

static CMProcessorinstance ()
 

Detailed Description

This singleton class contains an instance of every available luiza processor type

Author
Jan Engels, DESY
Version
Id
CMProcessor.h,v 1.8 2007-01-11 16:56:37 engels Exp

Member Function Documentation

ProcessorParameter * luiza::CMProcessor::getParam ( const std::string &  type,
const std::string &  key 
)

returns the parameter with the given key of the processor with the given type

Referenced by luiza::CCProcessor::writeToXML().

const string luiza::CMProcessor::getParamD ( const std::string &  type,
const std::string &  key 
)

returns the description of the parameter with the given key for the processor with the given type

Referenced by luiza::CCProcessor::writeToXML().

int luiza::CMProcessor::getParamSetSize ( const std::string &  type,
const std::string &  key 
)

returns the set_size of the parameter with the given key for the processor with the given type

Referenced by luiza::CCProcessor::writeToXML().

const string luiza::CMProcessor::getParamT ( const std::string &  type,
const std::string &  key 
)

returns the type of the parameter with the given key for the processor with the given type

Processor * luiza::CMProcessor::getProc ( const std::string &  type)

returns the instance of the processor with the given type

ssMap luiza::CMProcessor::getProcDesc ( )
inline

returns a map with the processor descriptions

StringParameters * luiza::CMProcessor::getSParams ( const std::string &  type)

returns the parameters for the processor of the given type

CMProcessor * luiza::CMProcessor::instance ( )
static

return the instance of this class

Referenced by luiza::CCProcessor::isParamOptional(), and luiza::CCProcessor::writeToXML().

bool luiza::CMProcessor::isInstalled ( const std::string &  type)

returns true if the processor with the given type is installed

bool luiza::CMProcessor::isParamOpt ( const std::string &  type,
const std::string &  key 
)

returns true if the parameter with the given key for the processor with the given type is optional

bool luiza::CMProcessor::isParamVec ( const std::string &  type,
const std::string &  key 
)

returns true if the parameter with the given key for the processor with the given type is a vector

StringParameters * luiza::CMProcessor::mergeParams ( const std::string &  type,
StringParameters *  sp 
)

merges the given parameters with the default ones from the processor with the given type


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