Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RayGina::CORE::RatSimpleArray< T, typeID > Class Template Reference

#include <RatSimple.hxx>

Inheritance diagram for RayGina::CORE::RatSimpleArray< T, typeID >:

RayGina::CORE::RatBase List of all members.

Public Member Functions

 RatSimpleArray (const RString longName, const RString shortName, const RStatus(*nSetFunc)(RObject *instance, T value, const RUInt32 index), T(*nGetFunc)(const RObject *instance, const RUInt32 index, RRenderCom *rendercom), const RStatus(*nSetSizeFunc)(RObject *instance, const RUInt32 newSize), const RUInt32(*nGetSizeFunc)(const RObject *instance), T nDefault, const RBool connectable=false, const RBool pureOutput=false)
const RUChar getType () const
 returns the type of the attribute
RatBaseduplicate ()
 duplicate the attribute
const RStatus setValue (RObject *instance, void *value, const RUInt32 index) const
const RStatus getValue (RObject *instance, void *value, RRenderCom *renderCom, const RUInt32 index) const
virtual const RStatus setArraySize (RObject *instance, const RUInt32 newSize) const
virtual const RUInt32 getArraySize (RObject *instance) const
 returns the size of the attribute or 0 when it's no array attribute

Protected Attributes

const RStatus(* _setFunc )(RObject *instance, T value, const RUInt32 index)
T(* _getFunc )(const RObject *instance, const RUInt32 index, RRenderCom *rendercom)
const RStatus(* _setSizeFunc )(RObject *instance, const RUInt32 newSize)
const RUInt32(* _getSizeFunc )(const RObject *instance)
_default

Private Member Functions

 RatSimpleArray ()

template<typename T, const RUChar typeID>
class RayGina::CORE::RatSimpleArray< T, typeID >


Constructor & Destructor Documentation

template<typename T, const RUChar typeID>
RayGina::CORE::RatSimpleArray< T, typeID >::RatSimpleArray const RString  longName,
const RString  shortName,
const RStatus(*)(RObject *instance, T value, const RUInt32 index)  nSetFunc,
T(*)(const RObject *instance, const RUInt32 index, RRenderCom *rendercom)  nGetFunc,
const RStatus(*)(RObject *instance, const RUInt32 newSize)  nSetSizeFunc,
const RUInt32(*)(const RObject *instance)  nGetSizeFunc,
nDefault,
const RBool  connectable = false,
const RBool  pureOutput = false
[inline]
 

Definition at line 168 of file RatSimple.hxx.

template<typename T, const RUChar typeID>
RayGina::CORE::RatSimpleArray< T, typeID >::RatSimpleArray  )  [inline, private]
 


Member Function Documentation

template<typename T, const RUChar typeID>
RatBase* RayGina::CORE::RatSimpleArray< T, typeID >::duplicate  )  [inline, virtual]
 

duplicate the attribute

Implements RayGina::CORE::RatBase.

Definition at line 181 of file RatSimple.hxx.

template<typename T, const RUChar typeID>
virtual const RUInt32 RayGina::CORE::RatSimpleArray< T, typeID >::getArraySize RObject instance  )  const [inline, virtual]
 

returns the size of the attribute or 0 when it's no array attribute

Reimplemented from RayGina::CORE::RatBase.

Definition at line 210 of file RatSimple.hxx.

template<typename T, const RUChar typeID>
const RUChar RayGina::CORE::RatSimpleArray< T, typeID >::getType  )  const [inline, virtual]
 

returns the type of the attribute

Implements RayGina::CORE::RatBase.

Definition at line 177 of file RatSimple.hxx.

template<typename T, const RUChar typeID>
const RStatus RayGina::CORE::RatSimpleArray< T, typeID >::getValue RObject instance,
void *  value,
RRenderCom renderCom,
const RUInt32  index
const [inline, virtual]
 

Implements RayGina::CORE::RatBase.

Definition at line 199 of file RatSimple.hxx.

template<typename T, const RUChar typeID>
virtual const RStatus RayGina::CORE::RatSimpleArray< T, typeID >::setArraySize RObject instance,
const RUInt32  newSize
const [inline, virtual]
 

Reimplemented from RayGina::CORE::RatBase.

Definition at line 205 of file RatSimple.hxx.

template<typename T, const RUChar typeID>
const RStatus RayGina::CORE::RatSimpleArray< T, typeID >::setValue RObject instance,
void *  value,
const RUInt32  index
const [inline, virtual]
 

Implements RayGina::CORE::RatBase.

Definition at line 194 of file RatSimple.hxx.


Member Data Documentation

template<typename T, const RUChar typeID>
T RayGina::CORE::RatSimpleArray< T, typeID >::_default [protected]
 

Definition at line 166 of file RatSimple.hxx.

template<typename T, const RUChar typeID>
T(* RayGina::CORE::RatSimpleArray< T, typeID >::_getFunc)(const RObject *instance, const RUInt32 index, RRenderCom *rendercom) [protected]
 

template<typename T, const RUChar typeID>
const RUInt32(* RayGina::CORE::RatSimpleArray< T, typeID >::_getSizeFunc)(const RObject *instance) [protected]
 

template<typename T, const RUChar typeID>
const RStatus(* RayGina::CORE::RatSimpleArray< T, typeID >::_setFunc)(RObject *instance, T value, const RUInt32 index) [protected]
 

template<typename T, const RUChar typeID>
const RStatus(* RayGina::CORE::RatSimpleArray< T, typeID >::_setSizeFunc)(RObject *instance, const RUInt32 newSize) [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Dec 2 17:01:09 2007 for rayGina by  doxygen 1.3.9.1