27 #include "../../se/SvgParameter.h" 
   28 #include "../../xml/Reader.h" 
   29 #include "../../xml/Writer.h" 
   30 #include "../fe/Expression.h" 
   44   std::string name = reader.
getAttr(
"name");
 
   45   assert(!name.empty());
 
   61     p->
m_expression = Expression::getInstance().read(reader);
 
   69   return svgParam.release();
 
   81   Save(static_cast<const te::se::ParameterValue*>(p), writer);
 
TEDATAACCESSEXPORT void Save(const std::string &fileName)
 
This class models a XML reader object. 
 
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)
 
virtual std::string getElementValue() const =0
It returns the element data value in the case of VALUE node. 
 
virtual void writeEndElement(const std::string &qName)
 
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
 
te::fe::Expression * m_expression
Parameter from an expression. 
 
TESERIALIZATIONEXPORT te::se::SvgParameter * ReadSvgParameter(te::xml::Reader &reader)
 
std::string * m_mixedData
Parameter from a mixed data content. 
 
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 SvgParameter refers to an SVG/CSS graphical-formatting parameter. 
 
A SvgParameter refers to an SVG/CSS graphical-formatting parameter. 
 
std::string getName() const 
 
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.