|
void | readXML (istream &input, XMLVisitor &visitor, const string &path="", bool progress_callback(int)=NULL) |
|
void | readXML (const string &path, XMLVisitor &visitor, bool progress_callback(int)=NULL) |
|
void PlantListVisitor::endElement |
( |
const char * |
name) | |
|
|
virtual |
Callback for the end of an XML element.
The XML parser will invoke this method at the end of every XML element.
- Parameters
-
name | The name of the element that is ending (not null). |
- See Also
- startElement
Reimplemented from XMLVisitor.
void PlantListVisitor::startElement |
( |
const char * |
name, |
|
|
const XMLAttributes & |
atts |
|
) |
| |
|
virtual |
Callback for the start of an XML element.
The XML parser will invoke this method at the beginning of every XML element. Start and end element calls will be balanced and properly nested: every element has both a start and end callback (even if it was specified with an XML empty element tag), there is exactly one root element, and every element must end before its parent does. Elements may not overlap. Note that the attribute list provided is volatile; it's contents are not guaranteed to persist after the end of the callback. If the application needs to keep a copy of the attribute list, it can make the copy with the XMLAttributesDefault class.
- Parameters
-
name | The name of the element that is starting (not null). |
atts | The element's attributes (not null). |
- See Also
- endElement
Reimplemented from XMLVisitor.
void PlantListVisitor::startXML |
( |
) | |
|
|
inlinevirtual |
Callback for the start of an XML document.
The XML parser will invoke this method once, at the beginning of the XML document, before any other methods are invoked. The application can use this callback to set up data structures, open files, etc.
- See Also
- endXML
Reimplemented from XMLVisitor.
The documentation for this class was generated from the following file:
- D:/job/3kb/gelistirme/umasoft/vtp-src/VTP/TerrainSDK/vtdata/Plants.cpp