RenderTools::VectorProperty< T > Class Template Reference

#include <VectorProperty.h>

Inheritance diagram for RenderTools::VectorProperty< T >:

RenderTools::AbstractProperty RenderTools::InitializeInterface

List of all members.

Public Member Functions

 VectorProperty (const shared_ptr< vector< T > > &value)
virtual void onInitialize (void)
virtual const string getTypeName (bool ofComponent) const
virtual bool isVector (void) const
virtual unsigned int getNumVectorElements (void) const
virtual bool setValue (const string toValue, int element=-1)
virtual const string getValue (int element=-1) const
virtual const void * getDataPointer (unsigned int offset) const

Protected Attributes

shared_ptr< vector< T > > m_vector


Detailed Description

template<class T>
class RenderTools::VectorProperty< T >

Definition at line 12 of file VectorProperty.h.


Constructor & Destructor Documentation

template<class T >
RenderTools::VectorProperty< T >::VectorProperty ( const shared_ptr< vector< T > > &  value  )  [inline]

Definition at line 15 of file VectorProperty.h.


Member Function Documentation

template<class T >
virtual const void* RenderTools::VectorProperty< T >::getDataPointer ( unsigned int  offset  )  const [inline, virtual]

Definition at line 68 of file VectorProperty.h.

template<class T >
virtual unsigned int RenderTools::VectorProperty< T >::getNumVectorElements ( void   )  const [inline, virtual]

Reimplemented from RenderTools::AbstractProperty.

Definition at line 33 of file VectorProperty.h.

template<class T >
virtual const string RenderTools::VectorProperty< T >::getTypeName ( bool  ofComponent  )  const [inline, virtual]

Reimplemented from RenderTools::AbstractProperty.

Definition at line 24 of file VectorProperty.h.

template<class T >
virtual const string RenderTools::VectorProperty< T >::getValue ( int  element = -1  )  const [inline, virtual]

Reimplemented from RenderTools::AbstractProperty.

Definition at line 55 of file VectorProperty.h.

template<class T >
virtual bool RenderTools::VectorProperty< T >::isVector ( void   )  const [inline, virtual]

Reimplemented from RenderTools::AbstractProperty.

Definition at line 29 of file VectorProperty.h.

template<class T >
virtual void RenderTools::VectorProperty< T >::onInitialize ( void   )  [inline, virtual]

Reimplemented from RenderTools::AbstractProperty.

Definition at line 20 of file VectorProperty.h.

template<class T >
virtual bool RenderTools::VectorProperty< T >::setValue ( const string  toValue,
int  element = -1 
) [inline, virtual]

Reimplemented from RenderTools::AbstractProperty.

Definition at line 37 of file VectorProperty.h.


Member Data Documentation

template<class T >
shared_ptr< vector< T > > RenderTools::VectorProperty< T >::m_vector [protected]

Definition at line 72 of file VectorProperty.h.


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

Generated on Wed Jan 26 00:15:37 2011 for RenderTools by  doxygen 1.5.8