Inheritance diagram for code::Builder:
The number and meaning of arguments can vary by object type.
Public Member Functions | |
virtual SmartPtr< DataType > | createObject (const std::vector< std::string > ¶ms, const Index *index=0)=0 |
Create a data object. | |
SmartPtr< DataType > | createObject (const Index *index) |
Convenience function that passes empty vector to createObject. | |
virtual | ~Builder () |
Static Public Member Functions | |
static SmartPtr< Builder > | getBuilder (const std::string &sourceType) |
Convenience function to get the builder for a sourceType, eg. | |
Protected Member Functions | |
Builder () |
virtual code::Builder::~Builder | ( | ) | [inline, virtual] |
code::Builder::Builder | ( | ) | [inline, protected] |
Convenience function that passes empty vector to createObject.
virtual SmartPtr<DataType> code::Builder::createObject | ( | const std::vector< std::string > & | params, | |
const Index * | index = 0 | |||
) | [pure virtual] |
Create a data object.
params | The parameters needed to create the object. Their number and meaning vary by sourceType. |
Implemented in code::SdtsBuilder, code::NetcdfBuilder, code::GeneralBuilder, code::NmqBuilder, and code::W2algsBuilder.
Convenience function to get the builder for a sourceType, eg.
hires.
sourceType | The sourceType name, such as "AWIPS" or "hires" |