24 #ifndef CDMATTRIBUTE_H_ 25 #define CDMATTRIBUTE_H_ 30 #include <boost/shared_ptr.hpp> Definition: CDMNamedEntity.h:42
basic_string< char > string
boost::shared_ptr< Data > DataPtr
Definition: DataDecl.h:39
const std::string & getName() const
retrieve the name of the attribute
Definition: CDMAttribute.h:68
basic_ostream< char > ostream
MIFI_DEPRECATED(std::vector< CDMAttribute > projStringToAttributes(std::string projStr))
convert a proj4 string to a list of CDMAttributes usable for CF-1.0 projection variable ...
Definition: CDMException.h:36
Definition: C_CDMReader.h:35
Definition: CDMAttribute.h:43
const DataPtr getData() const
retrieve the data-pointer of the attribute
Definition: CDMAttribute.h:74
void setData(DataPtr data)
set the data for this attribute
Definition: CDMAttribute.h:76
CDMDataType getDataType() const
retrieve the datatype of the attribute
Definition: CDMAttribute.h:78
const std::string getStringValue() const
retrieve the stringified value of the attribute
void setName(std::string newName)
set the name of the attribute
Definition: CDMAttribute.h:70
CDMDataType
Definition: CDMDataType.h:35
void toXMLStream(std::ostream &out, const std::string &indent="") const