#include <coherence/io/pof/reflect/SimplePofPath.hpp>
Inherits AbstractPofPath.
Public Types | ||||
typedef spec::Handle | Handle | |||
SimplePofPath Handle definition. | ||||
typedef spec::View | View | |||
SimplePofPath View definition. | ||||
typedef spec::Holder | Holder | |||
SimplePofPath Holder definition. | ||||
Public Member Functions | ||||
virtual void | readExternal (PofReader::Handle hIn) | |||
Restore the contents of a user type instance by reading its state using the specified PofReader.
| ||||
virtual void | writeExternal (PofWriter::Handle hOut) const | |||
Save the contents of a POF user type instance by writing its state using the specified PofWriter.
| ||||
virtual bool | equals (Object::View v) const | |||
Compare the SimplePofPath with another object to determine equality. | ||||
virtual size32_t | hashCode () const | |||
Determine a hash value for the SimplePofPath object according to the general Object#hashCode() contract. | ||||
virtual TypedHandle < const String > | toString () const | |||
Return a human-readable description for this SimplePofPath. | ||||
Protected Member Functions | ||||
SimplePofPath () | ||||
Default constructor (necessary for the PortableObject interface). | ||||
SimplePofPath (int32_t nIndex) | ||||
Construct a SimplePofPath using a single index as a path. | ||||
SimplePofPath (Array< int32_t >::View vanIndices) | ||||
Construct a SimplePofPath using an array of indices as a path. | ||||
virtual Array < int32_t >::View | getPathElements () const | |||
Return a collection of path elements.
|
SimplePofPath | ( | int32_t | nIndex | ) | [protected] |
SimplePofPath | ( | Array< int32_t >::View | vanIndices | ) | [protected] |
Construct a SimplePofPath using an array of indices as a path.
vanIndices | an array of indices |
virtual bool equals | ( | Object::View | v | ) | const [virtual] |
Compare the SimplePofPath with another object to determine equality.
Two SimplePofPath objects are considered equal iff their indices are equal.
v | the object to compare against |
virtual size32_t hashCode | ( | ) | const [virtual] |
Determine a hash value for the SimplePofPath object according to the general Object#hashCode() contract.
Reimplemented from Object.
virtual TypedHandle<const String> toString | ( | ) | const [virtual] |
Return a human-readable description for this SimplePofPath.
out | the stream to write to |
Reimplemented from Object.