VisioMove
2.1.5
|
The VgRefPtr class is used to automatically reference and unreference reference counted objects (VgReferenced). More...
Public Member Functions | |
VgConstRefPtr () | |
Constructor. More... | |
VgConstRefPtr (Type const *pPointer) | |
Constructor. More... | |
VgConstRefPtr (const VgConstRefPtr &pConstRefPtr) | |
Copy constructor. More... | |
template<class OtherType > | |
VgConstRefPtr (const VgConstRefPtr< OtherType > &pConstRefPtr) | |
Cross-type constructor. More... | |
~VgConstRefPtr () | |
Destructor. More... | |
VgConstRefPtr & | operator= (const VgConstRefPtr &pConstRefPtr) |
Assignation operator. More... | |
template<class OtherType > | |
VgConstRefPtr< Type > & | operator= (const VgConstRefPtr< OtherType > &pConstRefPtr) |
Cross-type assignation operator. More... | |
template<typename OtherType > | |
operator VgConstRefPtr< OtherType > () | |
VgConstRefPtr & | set (Type const *pPointer) |
VgConstRefPtr & | operator= (Type const *pPointer) |
Assignation operator with a pointer. More... | |
bool | operator== (const VgConstRefPtr &pConstRefPtr) const |
Equal to operator (VgRefPtr acts like a pointer). More... | |
bool | operator== (Type const *pPointer) const |
Equal to operator (VgRefPtr acts like a pointer). More... | |
bool | operator!= (const VgConstRefPtr &pRefPtr) const |
Not equal to operator (VgRefPtr acts like a pointer). More... | |
bool | operator!= (Type const *pPointer) const |
Not equal to operator (VgRefPtr acts like a pointer). More... | |
bool | operator< (const VgConstRefPtr &pRefPtr) const |
Greater than operator (VgRefPtr acts like a pointer). More... | |
Type const & | operator* () const |
Dereference the pointer. More... | |
Type const * | operator-> () const |
Allow the access to encapsulated pointer's members. More... | |
Type const * | get () const |
Retrieves the encapsulated pointer. More... | |
bool | operator! () const |
Logical negation operator (used to test the pointer validity). More... | |
bool | isValid () const |
Tell if the pointer is valid. More... | |
operator bool () | |
Static Public Member Functions | |
static VgConstRefPtr< Type > | getNull () |
Friends | |
class | VgEngine::VgObjectBridge |
template<typename > | |
class | VgConstRefPtr |
template<typename > | |
class | VgRefPtr |
bool | operator== (Type const *pPointer, const VgConstRefPtr &pRefPtr) |
Equal to operator (VgRefPtr acts like a pointer). More... | |
bool | operator!= (Type const *pPointer, const VgConstRefPtr< Type > &pRefPtr) |
Not equal to operator (VgRefPtr acts like a pointer). More... | |
The VgRefPtr class is used to automatically reference and unreference reference counted objects (VgReferenced).
A documentation can be found here: http://andesengineering.com/OSG_ProducerArticles/RefPointers/RefPointers.html
Here is the summary of rules defined in this document.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Copy constructor.
|
inline |
Cross-type constructor.
|
inline |
Destructor.
|
inline |
Retrieves the encapsulated pointer.
|
inlinestatic |
|
inline |
Tell if the pointer is valid.
|
inline |
|
inline |
|
inline |
Logical negation operator (used to test the pointer validity).
|
inline |
Not equal to operator (VgRefPtr acts like a pointer).
|
inline |
Not equal to operator (VgRefPtr acts like a pointer).
|
inline |
Dereference the pointer.
|
inline |
Allow the access to encapsulated pointer's members.
|
inline |
Greater than operator (VgRefPtr acts like a pointer).
|
inline |
Assignation operator.
|
inline |
Cross-type assignation operator.
|
inline |
Assignation operator with a pointer.
|
inline |
Equal to operator (VgRefPtr acts like a pointer).
|
inline |
Equal to operator (VgRefPtr acts like a pointer).
|
inline |
|
friend |
Not equal to operator (VgRefPtr acts like a pointer).
|
friend |
Equal to operator (VgRefPtr acts like a pointer).
|
friend |