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) IT_THROW_DECL(())
 Constructor.
virtual const IT_Bus::QNameget_type_name () const IT_THROW_DECL(())
 Get the type name of the reflected object.
virtual IT_Bus::AnyType::Kind get_type_kind () const IT_THROW_DECL(())
 Get the kind of the reflected object.
virtual IT_Bus::AnyTypeclone () const IT_THROW_DECL((ReflectException))
 Create a new object with the same contents.
virtual void reset (const T *new_value) const IT_THROW_DECL(())
 Reset the instance encapsulated within this reflection object.

Protected Types

typedef ReflectionImplT< T > ThisType

Protected Member Functions

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

Protected Attributes

T * m_data


Member Function Documentation

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

template<class T>
IT_Bus::AnyType & IT_Reflect::ReflectionImplT< T >::get_data (  )  const [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.

template<class T>
IT_Bus::AnyType::Kind IT_Reflect::ReflectionImplT< T >::get_type_kind (  )  const [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>
const IT_Bus::QName & IT_Reflect::ReflectionImplT< T >::get_type_name (  )  const [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>
void IT_Reflect::ReflectionImplT< T >::reset ( const T *  new_value  )  const [virtual]

Reset the instance encapsulated within this reflection object.

Parameters:
the new class instance

Definition at line 90 of file reflection_impl_t.h.


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