| Home | Download | Screen shots | Discussion | Documentation | Links |
|---|
Public Methods | |
| NodePtr (Node *node=0) | |
| Constructor. | |
| NodePtr (const NodePtr &nodePtr) | |
| Copy constructor. | |
| ~NodePtr () | |
| Destructor. | |
| operator bool () const | |
| Automatic conversion to bool. | |
| NodePtr & | operator= (const NodePtr &nodePtr) |
| Assignment operator. | |
| bool | operator== (const NodePtr &nodePtr) const |
| Compare two NodePtrs. | |
| Node & | operator * () const |
| Dereference operator. | |
| Node * | operator-> () const |
| Access a method of the Node. | |
| Node * | get () const |
| Get a raw pointer to the Node. | |
| void | reset (Node *node=0) |
| Reset the NodePtr to point to a different Node. | |
| void | swap (NodePtr &nodePtr) throw () |
Private Methods | |
| void | dispose () throw () |
| void | share (std::map< Node *, size_t >::value_type *countPtr) throw () |
Private Attributes | |
|
std::map< Node *, size_t >::value_type * | countPtr |
Friends | |
| class | ScriptNode |
| Script nodes can be self-referential, so NodePtr works some special magic. | |
|
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Destructor.
|
|
|
Get a raw pointer to the Node.
|
|
|
Dereference operator.
|
|
|
Automatic conversion to bool.
|
|
|
Access a method of the Node.
|
|
|
Assignment operator.
|
|
|
Compare two NodePtrs.
|
|
|
Reset the NodePtr to point to a different Node.
|
|
|
Script nodes can be self-referential, so NodePtr works some special magic.
|