Jolt Physics
A multi core friendly Game Physics Engine
|
#include <Reference.h>
Public Member Functions | |
RefConst () | |
Constructor. | |
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. | |
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. | |
const T * | operator-> () const |
Access like a normal pointer. | |
const T & | operator* () const |
bool | operator== (const T *inRHS) const |
Comparison. | |
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. | |
uint64 | GetHash () const |
Get hash for this object. | |
void ** | InternalGetPointer () |
INTERNAL HELPER FUNCTION USED BY SERIALIZATION. | |
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.