27 #include "../../se/LinePlacement.h"
28 #include "../../xml/Reader.h"
29 #include "../../xml/Writer.h"
60 lp->setIsRepeated(isRepeated);
84 lp->setIsAligned(isAligned);
94 lp->setGeneralizeLine(generalizeLine);
113 std::string isRepeated;
114 lp->
isRepeated() ? isRepeated =
"true" : isRepeated =
"false";
120 std::string isAligned;
121 lp->
isAligned() ? isAligned =
"true" : isAligned =
"false";
124 std::string generalizeLine;
126 writer.
writeElement(
"se:GeneralizeLine", generalizeLine);
const ParameterValue * getGap() const
bool getGeneralizeLine() const
TESERIALIZATIONEXPORT te::se::ParameterValue * ReadParameterValue(te::xml::Reader &reader)
virtual bool getElementValueAsBoolean() const
It returns the element data value in the case of VALUE node.
Utility methods for Symbology serialization.
This class models a XML reader object.
void WriteParameterValuePtrHelper(const std::string &elementName, const te::se::ParameterValue *p, te::xml::Writer &writer)
virtual bool next()=0
It gets the next event to be read.
const ParameterValue * getInitialGap() const
virtual void writeStartElement(const std::string &qName)
virtual void writeEndElement(const std::string &qName)
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
const ParameterValue * getPerpendicularOffset() const
A LinePlacement specifies how a text label should be rendered relative to a linear geometry...
virtual void writeElement(const std::string &qName, const std::string &value)
A LinePlacement specifies how a text label should be rendered relative to a linear geometry...
TESERIALIZATIONEXPORT te::se::LinePlacement * ReadLinePlacement(te::xml::Reader &reader)
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.