#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) IT_THROW_DECL(()) | |
Constructor. | |
virtual | ~UnionImpl () IT_THROW_DECL(()) |
Destructor. | |
virtual size_t | get_member_count () const IT_THROW_DECL(()) |
Returns the number of members defined in the union. | |
virtual const IT_Bus::QName & | get_member_type (size_t index) const IT_THROW_DECL((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 [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 [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.