27 #include "../../se/ChannelSelection.h"
28 #include "../../xml/Reader.h"
29 #include "../../xml/Writer.h"
60 std::size_t nChannels = 0;
86 assert(nChannels > 0);
Support for SelectedChannel serialization.
ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such...
Utility methods for Symbology serialization.
SelectedChannel * getRedChannel() const
This class models a XML reader object.
virtual bool next()=0
It gets the next event to be read.
void WriteSelectedChannelHelper(const std::string &elementName, const te::se::SelectedChannel *sc, te::xml::Writer &writer)
virtual void writeStartElement(const std::string &qName)
ColorCompositionType getColorCompositionType() const
TESERIALIZATIONEXPORT te::se::SelectedChannel * ReadSelectedChannel(te::xml::Reader &reader)
virtual void writeEndElement(const std::string &qName)
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
TESERIALIZATIONEXPORT te::se::ChannelSelection * ReadChannelSelection(te::xml::Reader &reader)
SelectedChannel * getBlueChannel() const
SelectedChannel * getGreenChannel() const
ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such...
SelectedChannel * getGrayChannel() const
virtual NodeType getNodeType() const =0
It return the type of node read.
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node.
This class models a XML writer object.