IT_Reflect::UnionImpl Class Reference

#include <it_bus/reflect/union_impl.h>

Inheritance diagram for IT_Reflect::UnionImpl:

IT_Reflect::Union IT_Reflect::SimpleType IT_Reflect::Reflection IT_Bus::RefCountedBase List of all members.

Detailed Description

Base implementation for a generated union restriction.

Definition at line 21 of file union_impl.h.

Public Member Functions

 UnionImpl (IT_Vector< IT_Bus::QName > &member_names) throw (())
 Constructor.
virtual ~UnionImpl () throw (())
 Destructor.
virtual size_t get_member_count () const throw (())
 Returns the number of members defined in the union.
virtual const IT_Bus::QNameget_member_type (size_t index) const throw ((ReflectException))
 Returns the QName of the member at the specified index.

Private Attributes

IT_Vector< IT_Bus::QName > & m_member_names


Member Function Documentation

virtual size_t IT_Reflect::UnionImpl::get_member_count (  )  const throw (()) [virtual]

Returns the number of members defined in the union.

Returns:
the number of members in the union

Implements IT_Reflect::Union.

virtual const IT_Bus::QName& IT_Reflect::UnionImpl::get_member_type ( size_t  index  )  const throw ((ReflectException)) [virtual]

Returns the QName of the member at the specified index.

In the case of anonymous simple type restrictions with zero facets, the QName of the base type is returned.

Parameters:
index the member index
Returns:
the QName of the member at the specified index
Exceptions:
ReflectException If the index is out of bounds

Implements IT_Reflect::Union.


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