31 #ifndef DRAIN_FILE_GDAL_XML
32 #define DRAIN_FILE_GDAL_XML
34 #include "drain/util/Flags.h"
35 #include "drain/util/TreeXML.h"
63 NodeGDAL(
const tag_t & t = GDAL::ITEM);
80 void setType(
const tag_t & t);
95 typedef drain::UnorderedMultiTree<image::NodeGDAL> TreeGDAL;
107 std::ostream & operator<<(std::ostream & ostr,
const image::TreeGDAL & tree){
108 return image::TreeGDAL::node_data_t::toStream(ostr, tree);
113 DRAIN_TYPENAME(image::NodeGDAL);
115 DRAIN_TYPENAME(image::NodeGDAL::tag_t);
135 image::TreeGDAL & image::TreeGDAL::operator()(
const image::GDAL::tag_t & type){
136 this->data.setType(type);
Definition: TreeXML.h:135
NodeXML & setText(const S &value)
Assign the text content of this node. If the node type is undefined, set it to CTEXT.
Definition: TreeXML.h:521
Definition: TreeXML-GDAL.h:59
NodeGDAL(const tag_t &t=GDAL::ITEM)
Constructor.
Definition: TreeXML-GDAL.cpp:68
std::string sample
Standard GDAL attribute.
Definition: TreeXML-GDAL.h:87
std::string role
Standard GDAL attribute.
Definition: TreeXML-GDAL.h:90
Definition: DataSelector.cpp:1277
Definition: TreeXML-GDAL.h:44