bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
ncml_module::NCMLElement::Factory Class Reference

#include <NCMLElement.h>

Collaboration diagram for ncml_module::NCMLElement::Factory:
Collaboration graph

Public Member Functions

RCPtr< NCMLElementmakeElement (const std::string &eltTypeName, const XMLAttributeMap &attrs, NCMLParser &parser)
 

Detailed Description

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.

Member Function Documentation

◆ makeElement()

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.

Returns
the new element or NULL if eltTypeName had to prototype.
Parameters
eltTypeNameelement type name
attrsthe map of the attributes defined for the element
parserthe parser which is creating the element.

The documentation for this class was generated from the following file: