#include <it_bus/reflect/union_impl.h>
Inheritance diagram for IT_Reflect::UnionImpl:
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::QName & | get_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 |
virtual size_t IT_Reflect::UnionImpl::get_member_count | ( | ) | const throw (()) [virtual] |
Returns the number of members defined 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.
index | the member index |
ReflectException | If the index is out of bounds |
Implements IT_Reflect::Union.