#include <it_bus/reflect/model_group_impl.h>
Inheritance diagram for IT_Reflect::ModelGroupImpl:
Definition at line 20 of file model_group_impl.h.
Public Member Functions | |
ModelGroupImpl (IT_Vector< IT_Bus::QName > &element_names) throw (()) | |
Constructor. | |
virtual | ~ModelGroupImpl () throw (()) |
Destructor. | |
virtual size_t | get_element_count () const throw (()) |
Get the number of elements defined in this object's schema. | |
virtual const IT_Bus::QName & | get_element_name (size_t i) const throw (()) |
Get the name of the ith element. | |
virtual Reflection * | use_element (size_t i) throw ((ReflectException)) |
Use the element at the specified index. | |
virtual Reflection * | use_element (const IT_Bus::QName &element_name) throw ((ReflectException)) |
Use the named element. | |
Protected Member Functions | |
size_t | find_element (const IT_Bus::QName &name) const throw ((ReflectException)) |
Obtain the index for the specified element. | |
Private Attributes | |
IT_Vector< IT_Bus::QName > & | m_element_names |
virtual size_t IT_Reflect::ModelGroupImpl::get_element_count | ( | ) | const throw (()) [virtual] |
Get the number of elements defined in this object's schema.
ReflectException |
Implements IT_Reflect::ModelGroup.
virtual const IT_Bus::QName& IT_Reflect::ModelGroupImpl::get_element_name | ( | size_t | i | ) | const throw (()) [virtual] |
Get the name of the ith element.
ReflectException |
Implements IT_Reflect::ModelGroup.
virtual Reflection* IT_Reflect::ModelGroupImpl::use_element | ( | size_t | i | ) | throw ((ReflectException)) [virtual] |
Use the element at the specified index.
Returns a Reflection object that can be used to modify the element. For a choice, makes the element at i current.
index | of element. |
ReflectException | if i is out of bounds. |
Implements IT_Reflect::ModelGroup.
Reimplemented in IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoiceReflection, IT_ContextAttributes::IT_EmbeddedTypeChoiceReflection, and IT_ContextAttributes::IT_TimestampType_1ChoiceReflection.
virtual Reflection* IT_Reflect::ModelGroupImpl::use_element | ( | const IT_Bus::QName & | element_name | ) | throw ((ReflectException)) [virtual] |
Use the named element.
Returns a pointer to a reflection object that can be used to modify the element. For a choice this makes the named element current.
name | of the element. |
ReflectException | if name is invalid. |
Implements IT_Reflect::ModelGroup.
Reimplemented in IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoiceReflection, IT_ContextAttributes::IT_EmbeddedTypeChoiceReflection, and IT_ContextAttributes::IT_TimestampType_1ChoiceReflection.
size_t IT_Reflect::ModelGroupImpl::find_element | ( | const IT_Bus::QName & | name | ) | const throw ((ReflectException)) [protected] |
Obtain the index for the specified element.
QName | of the desired element |