Marlin  1.10.0
 All Classes Namespaces Functions Variables Enumerations Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
marlin::CMProcessor Class Reference

This singleton class contains an instance of every available marlin processor type. More...

#include <CMProcessor.h>

Public Member Functions

Processor * getProc (const std::string &type)
 returns the instance of the processor with the given type
 
ssMap getProcDesc ()
 returns a map with the processor descriptions
 
StringParameters * getSParams (const std::string &type)
 returns the parameters for the processor of the given type
 
StringParameters * mergeParams (const std::string &type, StringParameters *sp)
 merges the given parameters with the default ones from the processor with the given type
 
ProcessorParameter * getParam (const std::string &type, const std::string &key)
 returns the parameter with the given key of the processor with the given type
 
const std::string 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
 
const std::string 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
 
int 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
 
bool 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
 
bool 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 isInstalled (const std::string &type)
 returns true if the processor with the given type is installed
 
void tokenize (const std::string str, StringVec &tokens, const std::string &delimiters=" ")
 

Static Public Member Functions

static CMProcessor * instance ()
 return the instance of this class
 

Detailed Description

This singleton class contains an instance of every available marlin processor type.

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

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