29 #ifndef __NCML_MODULE__DIMENSION_ELEMENT_H__
30 #define __NCML_MODULE__DIMENSION_ELEMENT_H__
82 const string&
name()
const;
83 const string&
length()
const {
return _length; }
97 void parseAndCacheDimension();
102 void validateOrThrow();
107 static vector<string> getValidAttributes();
115 string _isVariableLength;
virtual void handleBegin()
Handle a begin on this element.
virtual void setAttributes(const XMLAttributeMap &attrs)
Set the attributes of this from the map.
static const vector< string > _sValidAttributes
An abstract superclass for NCMLArray that handles the non-parameterized functionality and allows u...
bool checkDimensionsMatch(const DimensionElement &rhs) const
static const string _sTypeName
virtual void handleContent(const string &content)
Handle the characters content for the element.
Struct for holding information about a dimension of data, minimally a name and a cardinality (size)...
virtual ~DimensionElement()
const agg_util::Dimension & getDimension() const
Base class for NcML element concrete classes.
virtual DimensionElement * clone() const
Make and return a copy of this.
virtual void handleEnd()
Handle the closing of this element.
virtual const string & getTypeName() const
Return the type of the element, which should be: the same as ConcreteClassName::getTypeName() ...
virtual string toString() const
Return a string describing the element.
unsigned int getSize() const
const string & length() const
unsigned int getLengthNumeric() const
Parsed version of length()
const string & name() const