#include <Path.h>
Inheritance diagram for Path:

Public Methods | |
| Path (const char *path=0) | |
| Create a new Path using a path string. | |
| Path (ObjectID path) | |
| Create a new Path from an Object ID. | |
| virtual | ~Path () |
| void | setPath (ObjectID path) |
| Assign to a specific Object ID. | |
| void | setPath (const char *path) |
| Assign to an object path string (after converting to an Object ID). | |
| void | setNone () |
| Assign to Object ID 0 (no-path). | |
| const ObjectID | getPath () const |
| Get the path's Object ID. | |
| virtual void | serialize (Archive &) |
| Serialize to or from a data archive. | |
| bool | isNone () const |
| Test for 'no-path' (Object ID == 0). | |
| bool | operator== (Path const &p) const |
| Test for equality of two paths. | |
| bool | operator!= (Path const &p) const |
| Test for equality of two paths. | |
| virtual std::string | asString () const |
| String representation. | |
| virtual std::string | typeString () const |
| Return a string representation of the type. | |
| virtual void | parseXML (const char *cdata) |
| Parse cdata from within the XML tags for this object. | |
| virtual void | convertXML () |
| Convert XML data to internal format prior to serialization. | |
Protected Attributes | |
| ObjectID | _path |
Object paths use '.' to separate path elements, and uniquely identify objects in a data archive. Path objects store the path as a 64-bit hash of the path string, called an Object ID.
|
|
Create a new Path using a path string.
|
|
|
Create a new Path from an Object ID.
|
|
|
|
|
|
String representation.
Implements BaseType. Reimplemented in LinkBase. |
|
|
Convert XML data to internal format prior to serialization. This method is currently only called by the XML parser for Object classes. If another BaseType class requires this method, a call must be added to the appropriate XML handler in the parser. |
|
|
Get the path's Object ID.
|
|
|
Test for 'no-path' (Object ID == 0).
|
|
|
Test for equality of two paths.
|
|
|
Test for equality of two paths.
|
|
|
Parse cdata from within the XML tags for this object.
Reimplemented in SimDate, EnumLink, GeoPos, LLA, UTM, Matrix3, Quat, Real, and Vector3. |
|
|
Serialize to or from a data archive.
Reimplemented from BaseType. Reimplemented in LinkBase. |
|
|
Assign to Object ID 0 (no-path).
|
|
|
Assign to an object path string (after converting to an Object ID).
|
|
|
Assign to a specific Object ID.
|
|
|
Return a string representation of the type.
Implements BaseType. |
|
|
|
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:42 2003, using Doxygen 1.2.18. |