Jolt Physics
A multi core friendly Game Physics Engine
|
#include <Reference.h>
Public Member Functions | |
RefConst () | |
Constructor. More... | |
RefConst (const T *inRHS) | |
RefConst (const RefConst< T > &inRHS) | |
RefConst (RefConst< T > &&inRHS) noexcept | |
RefConst (const Ref< T > &inRHS) | |
RefConst (Ref< T > &&inRHS) noexcept | |
~RefConst () | |
RefConst< T > & | operator= (const T *inRHS) |
Assignment operators. More... | |
RefConst< T > & | operator= (const RefConst< T > &inRHS) |
RefConst< T > & | operator= (RefConst< T > &&inRHS) noexcept |
RefConst< T > & | operator= (const Ref< T > &inRHS) |
RefConst< T > & | operator= (Ref< T > &&inRHS) noexcept |
operator const T * () const | |
Casting operators. More... | |
const T * | operator-> () const |
Access like a normal pointer. More... | |
const T & | operator* () const |
bool | operator== (const T *inRHS) const |
Comparison. More... | |
bool | operator== (const RefConst< T > &inRHS) const |
bool | operator== (const Ref< T > &inRHS) const |
bool | operator!= (const T *inRHS) const |
bool | operator!= (const RefConst< T > &inRHS) const |
bool | operator!= (const Ref< T > &inRHS) const |
const T * | GetPtr () const |
Get pointer. More... | |
void ** | InternalGetPointer () |
INTERNAL HELPER FUNCTION USED BY SERIALIZATION. More... | |
Class for automatic referencing, this is the equivalent of a CONST 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 |
Constructor.
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
Get pointer.
|
inline |
INTERNAL HELPER FUNCTION USED BY SERIALIZATION.
|
inline |
Casting operators.
|
inline |
|
inline |
|
inline |
Access like a normal pointer.
Assignment operators.
|
inlinenoexcept |
|
inline |
Comparison.