| Home | Download | Screen shots | Discussion | Documentation | Links |
|---|
Public Methods | |
| NodeTypePtr (NodeType *nodeType=0) | |
| NodeTypePtr (const NodeTypePtr &nodeTypePtr) | |
| Copy constructor. | |
| operator bool () const | |
| NodeTypePtr & | operator= (const NodeTypePtr &nodeTypePtr) |
| Assignment operator. | |
| bool | operator== (const NodeTypePtr &nodeTypePtr) const |
| NodeType & | operator * () const |
| NodeType * | operator-> () const |
| NodeType * | get () const |
| void | reset (NodeType *nodeType=0) |
Private Methods | |
| void | dispose () |
Private Attributes | |
| NodeType * | nodeType |
| size_t * | count |
NodeTypePtr is patterned after the Boost shared_ptr, and it works basically the same way. A NodeTypePtr should be constructed or reset with a NodeType created with new (or 0).
|
|
Copy constructor.
|
|
|
Assignment operator.
|