IT_Reflect::SimpleTypeListImplT< ListT, T > Class Template Reference

#include <it_bus/reflect/simple_type_list_impl_t.h>

Inheritance diagram for IT_Reflect::SimpleTypeListImplT< ListT, T >:

IT_Reflect::ReflectionImpl IT_Reflect::SimpleTypeListImplBase IT_Reflect::Reflection IT_Reflect::SimpleTypeList IT_Bus::RefCountedBase IT_Reflect::SimpleType IT_Reflect::Reflection IT_Bus::RefCountedBase List of all members.

Detailed Description

template<class ListT, class T>
class IT_Reflect::SimpleTypeListImplT< ListT, T >

Template implementation of simple type list reflection.

Definition at line 16 of file simple_type_list_impl_t.h.

Public Member Functions

 SimpleTypeListImplT (const ListT &data) throw (())
 Constructor.
 SimpleTypeListImplT (const ListT *data) throw (())
 Constructor.
virtual IT_Bus::AnyTypeclone () const throw ((ReflectException))
 Create a new object with the same contents.
void reset (const ListT *new_value) const throw (())
 Set a new value instance into the object.

Protected Types

typedef SimpleTypeListImplT<
ListT, T > 
ThisType

Protected Member Functions

virtual IT_Bus::SimpleTypeListget_list () const throw (())
 Get a reference to the simplet type list within the reflection object.
virtual Reflectionget_reflection (size_t index) const throw ((ReflectException))
 Get a pointer to a reflection of the object at the specified index in the list.
virtual IT_Bus::AnyTypeget_data () const throw (())
 Get type encapsulated by this reflection class.

Private Attributes

ListT * m_data


Member Function Documentation

template<class ListT, class T>
IT_Bus::AnyType * IT_Reflect::SimpleTypeListImplT< ListT, T >::clone (  )  const throw ((ReflectException)) [virtual]

Create a new object with the same contents.

Returns:
the new object, caller must _remove_ref().
Exceptions:
ReflectException if there is a problem with run-time type information for this object.

Implements IT_Reflect::Reflection.

Definition at line 112 of file simple_type_list_impl_t.h.

References IT_Reflect::SimpleTypeListImplT< ListT, T >::m_data.

template<class ListT, class T>
void IT_Reflect::SimpleTypeListImplT< ListT, T >::reset ( const ListT *  new_value  )  const throw (())

Set a new value instance into the object.

Parameters:
a pointer to the new value instance

Definition at line 120 of file simple_type_list_impl_t.h.

template<class ListT, class T>
IT_Bus::SimpleTypeList & IT_Reflect::SimpleTypeListImplT< ListT, T >::get_list (  )  const throw (()) [protected, virtual]

Get a reference to the simplet type list within the reflection object.

Returns:
reference to the simple type list instance

Implements IT_Reflect::SimpleTypeListImplBase.

Definition at line 88 of file simple_type_list_impl_t.h.

References IT_Reflect::SimpleTypeListImplT< ListT, T >::m_data.

template<class ListT, class T>
Reflection * IT_Reflect::SimpleTypeListImplT< ListT, T >::get_reflection ( size_t  index  )  const throw ((ReflectException)) [protected, virtual]

Get a pointer to a reflection of the object at the specified index in the list.

Returns:
pointer to the reflection object

Implements IT_Reflect::SimpleTypeListImplBase.

Definition at line 96 of file simple_type_list_impl_t.h.

template<class ListT, class T>
IT_Bus::AnyType & IT_Reflect::SimpleTypeListImplT< ListT, T >::get_data (  )  const throw (()) [protected, virtual]

Get type encapsulated by this reflection class.

Returns:
reference to AnyType.

Implements IT_Reflect::ReflectionImpl.

Definition at line 105 of file simple_type_list_impl_t.h.

References IT_Reflect::SimpleTypeListImplT< ListT, T >::m_data.


Generated on Tue Mar 20 15:28:36 2007 for Artix by  doxygen 1.5.1-p1