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

#include <Pointer.h>

Public Member Functions

void operator= (const ValueType &v)
 
 operator ValueType () const
 

Private Member Functions

 IndirectValue (Pointer *p)
 

Private Attributes

Pointerpointer
 

Friends

class Pointer
 

Constructor & Destructor Documentation

template<typename ValueType>
G3D::Pointer< ValueType >::IndirectValue::IndirectValue ( Pointer p)
inlineprivate
321 : pointer(p) {}
Pointer * pointer
Definition: Pointer.h:320

Member Function Documentation

template<typename ValueType>
G3D::Pointer< ValueType >::IndirectValue::operator ValueType ( ) const
inline
329  {
330  return pointer->getValue();
331  }
const ValueType getValue() const
Definition: Pointer.h:304
Pointer * pointer
Definition: Pointer.h:320

+ Here is the call graph for this function:

template<typename ValueType>
void G3D::Pointer< ValueType >::IndirectValue::operator= ( const ValueType &  v)
inline
325  {
326  pointer->setValue(v);
327  }
void setValue(const ValueType &v)
Assign a value to the referenced element. If this Pointer was initialized with a NULL setMethod...
Definition: Pointer.h:311
Pointer * pointer
Definition: Pointer.h:320

+ Here is the call graph for this function:

Friends And Related Function Documentation

template<typename ValueType>
friend class Pointer
friend

Member Data Documentation

template<typename ValueType>
Pointer* G3D::Pointer< ValueType >::IndirectValue::pointer
private

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