31#ifndef DRAIN_FILE_GDAL_XML
32#define DRAIN_FILE_GDAL_XML
35#include <drain/Enum.h>
36#include "drain/util/TreeXML.h"
37#include "drain/util/UtilsXML.h"
65 NodeGDAL(
const tag_t & t = GDAL::ITEM);
95 void handleType() override final;
115std::ostream & operator<<(std::ostream & ostr, const image::TreeGDAL & tree){
116 return image::TreeGDAL::node_data_t::toStream(ostr, tree);
125DRAIN_ENUM_DICT(image::NodeGDAL::tag_t);
133DRAIN_XML_DEFAULT_ELEMS(image::TreeGDAL);
138DRAIN_XML_DEFAULT_INIT(image::TreeGDAL);
141DRAIN_XML_EASY_TYPE(image::TreeGDAL);
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
Definition TreeXML-GDAL.h:61
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
DRAIN_TYPENAME(void)
Add a specialization for each type of those you want to support.
Definition TreeXML-GDAL.h:46