TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
G3D::Pointer< ValueType >::Memory Class Reference

Public Member Functions

 Memory (ValueType *value)
 
virtual void set (ValueType v)
 
virtual ValueType get () const
 
virtual Interfaceclone () const
 
virtual bool isNull () const
 
- Public Member Functions inherited from G3D::Pointer< ValueType >::Interface
virtual ~Interface ()
 

Private Attributes

ValueType * value
 

Constructor & Destructor Documentation

template<typename ValueType>
G3D::Pointer< ValueType >::Memory::Memory ( ValueType *  value)
inline
82 : value(value) {}
ValueType * value
Definition: Pointer.h:78

+ Here is the caller graph for this function:

Member Function Documentation

template<typename ValueType>
virtual Interface* G3D::Pointer< ValueType >::Memory::clone ( ) const
inlinevirtual

Implements G3D::Pointer< ValueType >::Interface.

92  {
93  return new Memory(value);
94  }
ValueType * value
Definition: Pointer.h:78
Memory(ValueType *value)
Definition: Pointer.h:82

+ Here is the call graph for this function:

template<typename ValueType>
virtual ValueType G3D::Pointer< ValueType >::Memory::get ( ) const
inlinevirtual

Implements G3D::Pointer< ValueType >::Interface.

88  {
89  return *value;
90  }
ValueType * value
Definition: Pointer.h:78
template<typename ValueType>
virtual bool G3D::Pointer< ValueType >::Memory::isNull ( ) const
inlinevirtual

Implements G3D::Pointer< ValueType >::Interface.

96  {
97  return value == NULL;
98  }
arena_t NULL
Definition: jemalloc_internal.h:624
ValueType * value
Definition: Pointer.h:78
template<typename ValueType>
virtual void G3D::Pointer< ValueType >::Memory::set ( ValueType  v)
inlinevirtual

Implements G3D::Pointer< ValueType >::Interface.

84  {
85  *value = v;
86  }
ValueType * value
Definition: Pointer.h:78

Member Data Documentation

template<typename ValueType>
ValueType* G3D::Pointer< ValueType >::Memory::value
private

The documentation for this class was generated from the following file: