Jolt Physics
A multi core friendly Game Physics Engine
|
#include <Reference.h>
Public Member Functions | |
Ref () | |
Constructor. More... | |
Ref (T *inRHS) | |
Ref (const Ref< T > &inRHS) | |
Ref (Ref< T > &&inRHS) noexcept | |
~Ref () | |
Ref< T > & | operator= (T *inRHS) |
Assignment operators. More... | |
Ref< T > & | operator= (const Ref< T > &inRHS) |
Ref< T > & | operator= (Ref< T > &&inRHS) noexcept |
operator T* () const | |
Casting operators. More... | |
T * | operator-> () const |
Access like a normal pointer. More... | |
T & | operator* () const |
bool | operator== (const T *inRHS) const |
Comparison. More... | |
bool | operator== (const Ref< T > &inRHS) const |
bool | operator!= (const T *inRHS) const |
bool | operator!= (const Ref< T > &inRHS) const |
T * | GetPtr () const |
Get pointer. More... | |
void ** | InternalGetPointer () |
INTERNAL HELPER FUNCTION USED BY SERIALIZATION. More... | |
Friends | |
template<class T2 > | |
class | RefConst |
Class for automatic referencing, this is the equivalent of a pointer to type T if you assign a value to this class it will increment the reference count by one of this object, and if you assign something else it will decrease the reference count of the first object again. If it reaches a reference count of zero it will be deleted
|
inline |
Get pointer.
|
inline |
INTERNAL HELPER FUNCTION USED BY SERIALIZATION.
|
inline |
Casting operators.
|
inline |
|
inline |
|
inline |
Access like a normal pointer.
|
inline |
Comparison.