|
AGX Dynamics 2.41.2.0
|
Templated value-reference. More...
#include <Value.h>
Inheritance diagram for agxData::ValueRefT< T >:Public Types | |
| typedef agx::ref_ptr< ValueT< T > > | RefT |
Public Types inherited from agx::ref_ptr< ValueT< T > > | |
| typedef ValueT< T > | element_type |
| The type of the referenced class. | |
Public Member Functions | |
| ValueRefT () | |
| ValueRefT (ValueT< T > *val) | |
| operator const ValueT< T > * () const | |
| ValueT< T > & | operator* () const |
| ValueT< T > * | operator-> () const |
Public Member Functions inherited from agx::ref_ptr< ValueT< T > > | |
| ref_ptr () | |
| Constructor. | |
| ref_ptr (const ref_ptr &rp) | |
| Copy constructor. Will increment reference count with one. | |
| ref_ptr (ValueT< T > *ptr) | |
Will take ownership and reference ptr. | |
| ~ref_ptr () | |
| Destructor, will decrement reference count with one. | |
| void | forceClear () |
| Force the pointer to the referenced object to be null. Without deleting or decrement counters. Use with caution! | |
| ValueT< T > * | get () const |
| bool | isValid () const |
| operator ValueT< T > * () const | |
| Cast operator that will cast the ref_ptr to its native type. | |
| bool | operator! () const |
| bool | operator!= (ref_ptr< U > const &rp) const |
| bool | operator!= (U *p) const |
| bool | operator!= (U const *p) const |
| ValueT< T > & | operator* () const |
| ValueT< T > * | operator-> () const |
| automatic cast to native pointer and use the dereferencing operator | |
| bool | operator< (const ref_ptr &rp) const |
| ref_ptr & | operator= (const ref_ptr &rp) |
| Assignment operator, will increment reference count. | |
| ref_ptr & | operator= (ValueT< T > *ptr) |
Assignment operator, will reference and increment its reference count with one. | |
| bool | operator== (ref_ptr< U > const &rp) const |
| bool | operator== (U *p) const |
| bool | operator== (U const *p) const |
| ValueT< T > * | release () |
| Release the reference (without decrementing) to the referenced object and return a native pointer. | |
| void | swap (ref_ptr &rp) |
Swap rb with this reference without changing reference count. | |
Templated value-reference.
| typedef agx::ref_ptr< ValueT<T> > agxData::ValueRefT< T >::RefT |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 272 of file Value.h.
References agx::ref_ptr< ValueT< T > >::get().
|
inline |
Definition at line 273 of file Value.h.
References agx::ref_ptr< ValueT< T > >::get().