Inheritance diagram for code::GeneralBuilder:
Public Types | |
BUILDER | |
FORMATTER_TYPE | |
DATA_TIME | |
DATA_TYPE1 | |
DATA_TYPE2 | |
enum | BuilderParams { BUILDER, FORMATTER_TYPE, DATA_TIME, DATA_TYPE1, DATA_TYPE2 } |
Parameters required by createObject(). More... | |
Public Member Functions | |
virtual SmartPtr< DataType > | createObject (const std::vector< std::string > &parms, const Index *) |
Create a data object. | |
virtual | ~GeneralBuilder () |
SmartPtr< DataType > | createObject (const Index *index) |
Convenience function that passes empty vector to createObject. | |
Static Public Member Functions | |
static void | introduceSelf () |
static SmartPtr< Builder > | getBuilder (const std::string &sourceType) |
Convenience function to get the builder for a sourceType, eg. |
Parameters required by createObject().
virtual code::GeneralBuilder::~GeneralBuilder | ( | ) | [inline, virtual] |
Convenience function that passes empty vector to createObject.
virtual SmartPtr<DataType> code::GeneralBuilder::createObject | ( | const std::vector< std::string > & | parms, | |
const Index * | ||||
) | [virtual] |
Create a data object.
You must pass in the arguments specified in BuilderParams above:
index | The Index from which the record was created. The TableHistory formatters will use this to obtain all the records in a particular time interval. |
Implements code::Builder.
static SmartPtr< Builder > code::Builder::getBuilder | ( | const std::string & | sourceType | ) | [static, inherited] |
Convenience function to get the builder for a sourceType, eg.
hires.
sourceType | The sourceType name, such as "AWIPS" or "hires" |
static void code::GeneralBuilder::introduceSelf | ( | ) | [static] |