31 #ifndef DRAIN_FILE_GDAL_XML
32 #define DRAIN_FILE_GDAL_XML
34 #include "drain/util/Flags.h"
35 #include "drain/util/TreeXML.h"
36 #include <drain/util/EnumFlags.h>
64 NodeGDAL(
const tag_t & t = GDAL::ITEM);
81 void handleType(
const tag_t & t)
override final;
96 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);
112 const EnumDict<image::NodeGDAL::tag_t>::dict_t EnumDict<image::NodeGDAL::tag_t>::dict;
114 DRAIN_TYPENAME(image::NodeGDAL);
116 DRAIN_TYPENAME(image::NodeGDAL::tag_t);
136 image::TreeGDAL & image::TreeGDAL::operator()(
const image::GDAL::tag_t & type){
Definition: TreeXML.h:341
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:619
static TX & xmlSetType(TX &tree, const typename TX::node_data_t::xml_tag_t &type)
Definition: XML.h:559
Definition: TreeXML-GDAL.h:60
virtual void handleType(const tag_t &t) override final
Internal function called after setType()
Definition: TreeXML-GDAL.cpp:111
NodeGDAL(const tag_t &t=GDAL::ITEM)
Constructor.
Definition: TreeXML-GDAL.cpp:95
std::string sample
Standard GDAL attribute.
Definition: TreeXML-GDAL.h:88
std::string role
Standard GDAL attribute.
Definition: TreeXML-GDAL.h:91
Definition: DataSelector.cpp:1277
Definition: TreeXML-GDAL.h:45