27 #include "../../se/Categorize.h" 
   28 #include "../../xml/Reader.h" 
   29 #include "../../xml/Writer.h" 
   49   std::string fbv = reader.
getAttr(
"fallbackValue");
 
   51   c->setFallbackValue(fbv);
 
   54   std::string tbt = reader.
getAttr(
"threshholdsBelongTo");
 
   55   assert(!tbt.empty() && (tbt == 
"preceding" || tbt == 
"succeeding"));
 
  115   std::vector<te::se::ParameterValue*> thresholds = c->
getThresholds();
 
  117   assert(thresholds.size() == values.size()-1);
 
  119   for(std::size_t i = 0; i < values.size(); ++i)
 
  123     if(i != values.size()-1)
 
TESERIALIZATIONEXPORT te::se::ParameterValue * ReadParameterValue(te::xml::Reader &reader)
 
Utility methods for Symbology serialization. 
 
const std::vector< ParameterValue * > & getThresholds() const 
 
This class models a XML reader object. 
 
void WriteParameterValuePtrHelper(const std::string &elementName, const te::se::ParameterValue *p, te::xml::Writer &writer)
 
The transformation of continuous values to distinct values (Categorize function). ...
 
virtual bool hasAttrs() const =0
It tells if the element has attributes in the case of an element node. 
 
virtual bool next()=0
It gets the next event to be read. 
 
virtual void writeStartElement(const std::string &qName)
 
virtual void writeAttribute(const std::string &attName, const std::string &value)
 
const ThresholdsBelongToType & getThresholdsBelongTo() const 
 
virtual void writeEndElement(const std::string &qName)
 
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
 
ParameterValue * getValue() const 
 
const std::string & getFallbackValue() const 
 
TESERIALIZATIONEXPORT te::se::Categorize * ReadCategorize(te::xml::Reader &reader)
 
const std::vector< ParameterValue * > & getThresholdValues() const 
 
virtual NodeType getNodeType() const =0
It return the type of node read. 
 
The transformation of continuous values to distinct values (Categorize function). ...
 
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node. 
 
ParameterValue * getLookupValue() const 
 
ThresholdsBelongToType
It controls the interval order. 
 
virtual std::string getAttr(const std::string &name) const =0
It returns the attribute value in the case of an element node with valid attributes. 
 
This class models a XML writer object.