27 #include "../../xml/Reader.h" 
   28 #include "../../xml/Writer.h" 
   29 #include "../../xsd/Unique.h" 
   52   assert(pos != std::string::npos);
 
   53   unique->setName(
new std::string(reader.
getAttr(pos)));
 
   66     return unique.release();
 
   76   return unique.release();
 
Support for Selector serialization. 
 
TESERIALIZATIONEXPORT te::xsd::Unique * ReadUnique(te::xml::Reader &reader)
 
This class models a XML reader object. 
 
Support for Field serialization. 
 
virtual bool next()=0
It gets the next event to be read. 
 
void ReadAnnotated(te::xsd::Annotated *annotated, te::xml::Reader &reader)
 
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
 
TESERIALIZATIONEXPORT te::xsd::Field * ReadField(te::xml::Reader &reader)
 
void ReadIdentifiable(te::xsd::Identifiable *identifiable, te::xml::Reader &reader)
 
TESERIALIZATIONEXPORT te::xsd::Selector * ReadSelector(te::xml::Reader &reader)
 
It models the unique element in an XML Schema. 
 
Utility methods for Schema serialization. 
 
Support for Unique serialization. 
 
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. 
 
virtual std::size_t getAttrPosition(const std::string &name) const =0
It returns the attribute position. 
 
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.