IT_Reflect::ReflectionImplT< T > Class Template Reference

#include <it_bus/reflect/reflection_impl_t.h>

Inheritance diagram for IT_Reflect::ReflectionImplT< T >:

IT_Reflect::ReflectionImpl IT_Reflect::Reflection IT_Bus::RefCountedBase IT_Reflect::ComplexContentImplT< T > List of all members.

Detailed Description

template<class T>
class IT_Reflect::ReflectionImplT< T >

Template base class for reflection implementations.

Definition at line 16 of file reflection_impl_t.h.

Public Member Functions

 ReflectionImplT (const T *data) throw (())
 Constructor.
virtual const IT_Bus::QNameget_type_name () const throw (())
 Get the type name of the reflected object.
virtual IT_Bus::AnyType::Kind get_type_kind () const throw (())
 Get the kind of the reflected object.
virtual IT_Bus::AnyTypeclone () const throw ((ReflectException))
 Create a new object with the same contents.
virtual void reset (const T *new_value) const throw (())
 Reset the instance encapsulated within this reflection object.

Protected Types

typedef ReflectionImplT< T > ThisType

Protected Member Functions

virtual IT_Bus::AnyTypeget_data () const throw (())
 Get type encapsulated by this reflection class.

Protected Attributes

T * m_data


Member Function Documentation

template<class T>
const IT_Bus::QName & IT_Reflect::ReflectionImplT< T >::get_type_name (  )  const throw (()) [virtual]

Get the type name of the reflected object.

Returns:
QName of the reflected object

Reimplemented from IT_Reflect::ReflectionImpl.

Reimplemented in IT_Reflect::ComplexContentImplT< T >.

Definition at line 56 of file reflection_impl_t.h.

template<class T>
IT_Bus::AnyType::Kind IT_Reflect::ReflectionImplT< T >::get_type_kind (  )  const throw (()) [virtual]

Get the kind of the reflected object.

Returns:
AnyType::Kind of the reflected object.

Reimplemented from IT_Reflect::ReflectionImpl.

Reimplemented in IT_Reflect::ComplexContentImplT< T >, IT_ContextAttributes::IT_EmbeddedTypeReflection, IT_ContextAttributes::IT_SecurityTokenReferenceTypeReflection, and IT_ContextAttributes::IT_TimestampType_1Reflection.

Definition at line 64 of file reflection_impl_t.h.

References IT_Reflect::ReflectionImplT< T >::m_data.

template<class T>
IT_Bus::AnyType * IT_Reflect::ReflectionImplT< 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 82 of file reflection_impl_t.h.

template<class T>
void IT_Reflect::ReflectionImplT< T >::reset ( const T *  new_value  )  const throw (()) [virtual]

Reset the instance encapsulated within this reflection object.

Parameters:
the new class instance

Definition at line 90 of file reflection_impl_t.h.

template<class T>
IT_Bus::AnyType & IT_Reflect::ReflectionImplT< 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 100 of file reflection_impl_t.h.

References IT_Reflect::ReflectionImplT< T >::m_data.


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