bes
Updated for version 3.20.6
|
#include <NCMLElement.h>
Public Member Functions | |
RCPtr< NCMLElement > | makeElement (const std::string &eltTypeName, const XMLAttributeMap &attrs, NCMLParser &parser) |
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 71 of file NCMLElement.h.
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 117 of file NCMLElement.cc.