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

#include <it_bus/reflect/type_list_impl_t.h>

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

IT_Reflect::ReflectionImpl IT_Reflect::ElementListImplBase IT_Reflect::Reflection IT_Reflect::ElementList IT_Bus::RefCountedBase IT_Reflect::Reflection IT_Bus::RefCountedBase List of all members.

Detailed Description

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

Template implementation of type list reflection.

Definition at line 16 of file type_list_impl_t.h.

Public Member Functions

 TypeListImplT (const ListT *data) IT_THROW_DECL(())
 Constructor.
virtual IT_Bus::AnyTypeclone () const IT_THROW_DECL((ReflectException))
 Create a new object with the same contents.

Protected Member Functions

virtual IT_Bus::MinMaxListget_list () const IT_THROW_DECL(())
 Obtain a reference to the encapsulated list.
virtual Reflectionget_reflection (size_t index) const IT_THROW_DECL((ReflectException))
 Obtain a pointer to the Reflection at the specified index.
virtual IT_Bus::AnyTypeget_data () const IT_THROW_DECL(())
 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::TypeListImplT< ListT, T >::clone (  )  const [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 83 of file type_list_impl_t.h.

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

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

Get type encapsulated by this reflection class.

Returns:
reference to AnyType.

Implements IT_Reflect::ReflectionImpl.

Definition at line 76 of file type_list_impl_t.h.

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

template<class ListT, class T>
IT_Bus::MinMaxList & IT_Reflect::TypeListImplT< ListT, T >::get_list (  )  const [protected, virtual]

Obtain a reference to the encapsulated list.

Returns:
the encapsulated list

Implements IT_Reflect::ElementListImplBase.

Definition at line 59 of file type_list_impl_t.h.

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

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

Obtain a pointer to the Reflection at the specified index.

Returns:
pointer to a Reflection object. Caller must _remove_ref() return value.

Implements IT_Reflect::ElementListImplBase.

Definition at line 67 of file type_list_impl_t.h.


Generated on Thu Sep 7 11:41:06 2006 for Artix by  doxygen 1.4.7