#include <BaseTypeFactory.h>
Public Member Functions | |
| BaseTypeFactory () | |
| virtual Array * | NewArray (const string &n="", BaseType *v=0) const |
| virtual Byte * | NewByte (const string &n="") const |
| virtual Float32 * | NewFloat32 (const string &n="") const |
| virtual Float64 * | NewFloat64 (const string &n="") const |
| virtual Grid * | NewGrid (const string &n="") const |
| virtual Int16 * | NewInt16 (const string &n="") const |
| virtual Int32 * | NewInt32 (const string &n="") const |
| virtual Sequence * | NewSequence (const string &n="") const |
| virtual Str * | NewStr (const string &n="") const |
| virtual Structure * | NewStructure (const string &n="") const |
| virtual UInt16 * | NewUInt16 (const string &n="") const |
| virtual UInt32 * | NewUInt32 (const string &n="") const |
| virtual Url * | NewUrl (const string &n="") const |
| virtual | ~BaseTypeFactory () |
To define and use your own factory, first make sure that you are not using the compile time constant 'DEFAULT_BASETYPE_FACTORY.' Then pass a pointer to an instance of your factory to the DDS/DataDDS constructors. When the parser is used to build a DDS from a DAP response, the factory will be used to instantiate the different variable-type classes.
.h) file and then include the type class' headers in the implementation (.cc) file.Definition at line 74 of file BaseTypeFactory.h.
| BaseTypeFactory::BaseTypeFactory | ( | ) | [inline] |
Definition at line 77 of file BaseTypeFactory.h.
| virtual BaseTypeFactory::~BaseTypeFactory | ( | ) | [inline, virtual] |
Definition at line 79 of file BaseTypeFactory.h.
Definition at line 102 of file BaseTypeFactory.cc.
| Byte * BaseTypeFactory::NewByte | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 47 of file BaseTypeFactory.cc.
| Float32 * BaseTypeFactory::NewFloat32 | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 78 of file BaseTypeFactory.cc.
| Float64 * BaseTypeFactory::NewFloat64 | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 84 of file BaseTypeFactory.cc.
| Grid * BaseTypeFactory::NewGrid | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 121 of file BaseTypeFactory.cc.
| Int16 * BaseTypeFactory::NewInt16 | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 53 of file BaseTypeFactory.cc.
| Int32 * BaseTypeFactory::NewInt32 | ( | const string & | n = "" |
) | const [virtual] |
| Sequence * BaseTypeFactory::NewSequence | ( | const string & | n = "" |
) | const [virtual] |
| Str * BaseTypeFactory::NewStr | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 90 of file BaseTypeFactory.cc.
| Structure * BaseTypeFactory::NewStructure | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 108 of file BaseTypeFactory.cc.
| UInt16 * BaseTypeFactory::NewUInt16 | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 59 of file BaseTypeFactory.cc.
| UInt32 * BaseTypeFactory::NewUInt32 | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 72 of file BaseTypeFactory.cc.
| Url * BaseTypeFactory::NewUrl | ( | const string & | n = "" |
) | const [virtual] |
Definition at line 96 of file BaseTypeFactory.cc.
1.5.4