29 #ifndef __NCML_MODULE__DIMENSION_ELEMENT_H__
30 #define __NCML_MODULE__DIMENSION_ELEMENT_H__
32 #include "Dimension.h"
33 #include "NCMLElement.h"
60 static const std::string _sTypeName;
61 static const std::vector<std::string> _sValidAttributes;
73 virtual std::string
toString()
const;
81 const std::string& name()
const;
82 const std::string& length()
const
89 unsigned int getSize()
const;
102 void parseAndCacheDimension();
107 void validateOrThrow();
115 void parseValidateAndCacheDimension();
120 static std::vector<std::string> getValidAttributes();
127 std::string _orgName;
128 std::string _isUnlimited;
129 std::string _isShared;
130 std::string _isVariableLength;