|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Factory class for the NcML elements. More...
#include <NCMLElement.h>

Public Member Functions | |
| Factory () | |
| RCPtr< NCMLElement > | makeElement (const std::string &eltTypeName, const XMLAttributeMap &attrs, NCMLParser &parser) |
| Create an element of the proper type with the given AttrMap for its defined attributes. More... | |
| ~Factory () | |
Factory class for the NcML elements.
Assumption: Concrete subclasses MUST define the following static methods: static const string& ConcreteClassName::getTypeName(); static ConcreteClassName* ConcreteClassName::makeInstance(const AttrMap& attrs);
Definition at line 75 of file NCMLElement.h.
| ncml_module::NCMLElement::Factory::Factory | ( | ) |
Definition at line 55 of file NCMLElement.cc.
| ncml_module::NCMLElement::Factory::~Factory | ( | ) |
Definition at line 61 of file NCMLElement.cc.
| RCPtr< NCMLElement > ncml_module::NCMLElement::Factory::makeElement | ( | const std::string & | eltTypeName, |
| const XMLAttributeMap & | attrs, | ||
| NCMLParser & | parser | ||
| ) |
Create an element of the proper type with the given AttrMap for its defined attributes.
| eltTypeName | element type name |
| attrs | the map of the attributes defined for the element |
| parser | the parser which is creating the element. |
Definition at line 126 of file NCMLElement.cc.
References BESDEBUG, agg_util::RCPtr< T >::get(), and VALID_PTR.
Referenced by ncml_module::ScanElement::getDatasetList().
