OMK::AttributeFctTypeT< PrmType, ObjectType > Class Template Reference
[Attribute feature]

Attribute with indirect access to value for types that are not sons of OMKType. More...

#include <OMKAttribute.h>

Inheritance diagram for OMK::AttributeFctTypeT< PrmType, ObjectType >:

Inheritance graph
[legend]
Collaboration diagram for OMK::AttributeFctTypeT< PrmType, ObjectType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename PrmType, typename ObjectType>
class OMK::AttributeFctTypeT< PrmType, ObjectType >

Attribute with indirect access to value for types that are not sons of OMKType.

Date:
2007-05-01
Author:
BenoƮt Chanclou
Parameters:
PrmType The type of the attribute.
ObjectType The type of the asscociated object which gives the accessor methods.
In most of the cases AttributeFctT is more appropriated, because it allows to use types that are not sons of OMKType.

Definition at line 616 of file OMKAttribute.h.


Constructor & Destructor Documentation

template<typename PrmType, typename ObjectType>
OMK::AttributeFctTypeT< PrmType, ObjectType >::AttributeFctTypeT ( const Name id,
ObjectType *  object,
typename AccessorFctT< PrmType, ObjectType >::SetMethod  setMethod,
typename AccessorFctT< PrmType, ObjectType >::GetMethod  getMethod 
) [inline]

Constructor.

Parameters:
[in] id See _id.

Definition at line 623 of file OMKAttribute.h.

00626     : IAttributeT< PrmType, PrmType, AccessorFctT< PrmType, ObjectType > >
00627     ( id, AccessorAccT< PrmType, ObjectType >( object, setMethod, getMethod ) ) {}

template<typename PrmType, typename ObjectType>
virtual OMK::AttributeFctTypeT< PrmType, ObjectType >::~AttributeFctTypeT (  )  [inline, virtual]

Destructor.

Definition at line 629 of file OMKAttribute.h.

00629 {}

template<typename PrmType, typename ObjectType>
OMK::AttributeFctTypeT< PrmType, ObjectType >::AttributeFctTypeT ( const Name id,
ObjectType *  object,
typename AccessorFctT< PrmType, ObjectType >::SetMethod  setMethod,
typename AccessorFctT< PrmType, ObjectType >::GetMethod  getMethod 
) [inline]

Constructor.

Parameters:
[in] id See _id.

Definition at line 623 of file OMKAttribute.h.

00626     : IAttributeT< PrmType, PrmType, AccessorFctT< PrmType, ObjectType > >
00627     ( id, AccessorAccT< PrmType, ObjectType >( object, setMethod, getMethod ) ) {}

template<typename PrmType, typename ObjectType>
virtual OMK::AttributeFctTypeT< PrmType, ObjectType >::~AttributeFctTypeT (  )  [inline, virtual]

Destructor.

Definition at line 629 of file OMKAttribute.h.

00629 {}


logo OpenMask

Documentation generated on Mon Jun 9 11:46:01 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007