Luiza
v03-01
|
#include <CMProcessor.h>
Public Member Functions | |
Processor * | getProc (const std::string &type) |
ssMap | getProcDesc () |
StringParameters * | getSParams (const std::string &type) |
StringParameters * | mergeParams (const std::string &type, StringParameters *sp) |
ProcessorParameter * | getParam (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 CMProcessor * | instance () |
This singleton class contains an instance of every available luiza processor type
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
|
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
|
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