27 #include "../../se/GraphicStroke.h"
28 #include "../../xml/Reader.h"
29 #include "../../xml/Writer.h"
68 return graphicStroke.release();
73 if(graphicStroke == 0)
80 Save(graphic, writer);
TESERIALIZATIONEXPORT te::se::ParameterValue * ReadParameterValue(te::xml::Reader &reader)
Utility methods for Symbology serialization.
TEDATAACCESSEXPORT void Save(const std::string &fileName)
A GraphicStroke defines a repeated-linear graphic pattern to be used for stroking a line...
This class models a XML reader object.
const ParameterValue * getGap() const
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.
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 * getInitialGap() const
Support for Graphic serialization.
A GraphicStroke defines a repeated-linear graphic pattern to be used for stroking a line...
const Graphic * getGraphic() const
TESERIALIZATIONEXPORT te::se::GraphicStroke * ReadGraphicStroke(te::xml::Reader &reader)
TESERIALIZATIONEXPORT te::se::Graphic * ReadGraphic(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.
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
This class models a XML writer object.