31#ifndef DRAIN_FILE_GDAL_XML
32#define DRAIN_FILE_GDAL_XML
35#include <drain/util/EnumFlags.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);
120const EnumDict<image::NodeGDAL::tag_t>::dict_t EnumDict<image::NodeGDAL::tag_t>::dict;
144image::TreeGDAL & image::TreeGDAL::operator()(
const image::GDAL::tag_t & type){
158image::TreeGDAL & image::TreeGDAL::operator()(const std::string & name){
159 this->data.name = name;
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 & setType(TX &tree, const typename TX::node_data_t::xml_tag_t &type)
Definition UtilsXML.h:238
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