#include <it_bus/reflect/model_group.h>
Inheritance diagram for IT_Reflect::ModelGroup:
They all share this common API.
Definition at line 15 of file model_group.h.
Public Member Functions | |
ModelGroup () throw (()) | |
Constructor. | |
virtual | ~ModelGroup () throw (()) |
Destructor. | |
virtual size_t | get_element_count () const=0 throw ((ReflectException)) |
Get the number of elements defined in this object's schema. | |
virtual const IT_Bus::QName & | get_element_name (size_t i) const=0 throw ((ReflectException)) |
Get the name of the ith element. | |
virtual const Reflection * | get_element (size_t i) const=0 throw ((ReflectException)) |
Get read-only reflection of the i'th element, that is the element whos name is get_element_names()[i]. | |
virtual const Reflection * | get_element (const IT_Bus::QName &name) const =0 throw ((ReflectException)) |
Get read-only reflection of named element. | |
virtual Reflection * | use_element (size_t i)=0 throw ((ReflectException)) |
Use the element at the specified index. | |
virtual Reflection * | use_element (const IT_Bus::QName &name)=0 throw ((ReflectException)) |
Use the named element. |
virtual size_t IT_Reflect::ModelGroup::get_element_count | ( | ) | const throw ((ReflectException)) [pure virtual] |
Get the number of elements defined in this object's schema.
ReflectException |
Implemented in IT_Reflect::ModelGroupImpl.
virtual const IT_Bus::QName& IT_Reflect::ModelGroup::get_element_name | ( | size_t | i | ) | const throw ((ReflectException)) [pure virtual] |
Get the name of the ith element.
ReflectException |
Implemented in IT_Reflect::ModelGroupImpl.
virtual const Reflection* IT_Reflect::ModelGroup::get_element | ( | size_t | i | ) | const throw ((ReflectException)) [pure virtual] |
Get read-only reflection of the i'th element, that is the element whos name is get_element_names()[i].
For a choice the i'th element must be the current element.
ReflectException | if i is out of bounds, or this is a choice and the i'th element is not current. |
Implemented in IT_Bus::IT_ReferencePortReflection, IT_Bus::IT_ReferenceReflection, IT_ContextAttributes::IT_SOAPAttachmentPartInfoReflection, IT_ContextAttributes::IT_SOAPAttachmentPartInfoArrayReflection, IT_ContextAttributes::IT_BusSecurity_1Reflection, IT_ContextAttributes::IT_CORBAAttributesTypeReflection, IT_ContextAttributes::IT_ServerNamingPolicyType_1Reflection, IT_ContextAttributes::IT_CredentialsType_1Reflection, IT_ContextAttributes::IT_ConnectionPolicyType_1Reflection, IT_ContextAttributes::IT_ClientNamingPolicyType_1Reflection, IT_ContextAttributes::IT_DefaultConnectionPolicyType_1Reflection, IT_ContextAttributes::IT_clientType_1Reflection, IT_ContextAttributes::IT_serverType_1Reflection, IT_ContextAttributes::IT_ServerConfiguration_1Reflection, IT_ContextAttributes::IT_ClientConfiguration_1Reflection, IT_ContextAttributes::IT_JMSPropertyTypeReflection, IT_ContextAttributes::IT_JMSConnectionSecurityInfoTypeReflection, IT_ContextAttributes::IT_JMSServerHeadersType_1Reflection, IT_ContextAttributes::IT_JMSHeadersTypeDataReflection, IT_ContextAttributes::IT_JMSClientHeadersType_1Reflection, IT_ContextAttributes::IT_MQMessageAttributesType_1Reflection, IT_ContextAttributes::IT_MQAttributesType_1Reflection, IT_ContextAttributes::IT_MQConnectionAttributesType_1Reflection, IT_ContextAttributes::IT_mqClientType_1Reflection, IT_ContextAttributes::IT_mqServerType_1Reflection, IT_ContextAttributes::IT_TibrvType_1Reflection, IT_ContextAttributes::IT_tExtensibilityElementDataReflection, IT_ContextAttributes::IT_AcknowledgementIntervalReflection, IT_ContextAttributes::IT_BaseRetransmissionIntervalReflection, IT_ContextAttributes::IT_ExponentialBackoffReflection, IT_ContextAttributes::IT_InactivityTimeoutReflection, IT_ContextAttributes::IT_MaxUnAcknowledgedMessagesThresholdReflection, IT_ContextAttributes::IT_RMPoliciesTypeReflection, IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoiceReflection, IT_ContextAttributes::IT_SecurityHeaderTypeReflection, IT_ContextAttributes::IT_EmbeddedTypeChoiceReflection, IT_ContextAttributes::IT_UsernameTokenTypeReflection, IT_ContextAttributes::IT_TransformationParametersTypeReflection, IT_ContextAttributes::IT_ReferenceTypeReflection, IT_ContextAttributes::IT_TimestampType_1ChoiceReflection, and IT_ContextAttributes::IT_TimestampTypeReflection.
virtual const Reflection* IT_Reflect::ModelGroup::get_element | ( | const IT_Bus::QName & | name | ) | const throw ((ReflectException)) [pure virtual] |
Get read-only reflection of named element.
For a choice, the named element must be current.
name | Name of element. |
ReflectException | if name is invalid or this is a choice and named element is not current. |
Implemented in IT_Bus::IT_ReferencePortReflection, IT_Bus::IT_ReferenceReflection, IT_ContextAttributes::IT_SOAPAttachmentPartInfoReflection, IT_ContextAttributes::IT_SOAPAttachmentPartInfoArrayReflection, IT_ContextAttributes::IT_BusSecurity_1Reflection, IT_ContextAttributes::IT_CORBAAttributesTypeReflection, IT_ContextAttributes::IT_ServerNamingPolicyType_1Reflection, IT_ContextAttributes::IT_CredentialsType_1Reflection, IT_ContextAttributes::IT_ConnectionPolicyType_1Reflection, IT_ContextAttributes::IT_ClientNamingPolicyType_1Reflection, IT_ContextAttributes::IT_DefaultConnectionPolicyType_1Reflection, IT_ContextAttributes::IT_clientType_1Reflection, IT_ContextAttributes::IT_serverType_1Reflection, IT_ContextAttributes::IT_ServerConfiguration_1Reflection, IT_ContextAttributes::IT_ClientConfiguration_1Reflection, IT_ContextAttributes::IT_JMSPropertyTypeReflection, IT_ContextAttributes::IT_JMSConnectionSecurityInfoTypeReflection, IT_ContextAttributes::IT_JMSServerHeadersType_1Reflection, IT_ContextAttributes::IT_JMSHeadersTypeDataReflection, IT_ContextAttributes::IT_JMSClientHeadersType_1Reflection, IT_ContextAttributes::IT_MQMessageAttributesType_1Reflection, IT_ContextAttributes::IT_MQAttributesType_1Reflection, IT_ContextAttributes::IT_MQConnectionAttributesType_1Reflection, IT_ContextAttributes::IT_mqClientType_1Reflection, IT_ContextAttributes::IT_mqServerType_1Reflection, IT_ContextAttributes::IT_TibrvType_1Reflection, IT_ContextAttributes::IT_tExtensibilityElementDataReflection, IT_ContextAttributes::IT_AcknowledgementIntervalReflection, IT_ContextAttributes::IT_BaseRetransmissionIntervalReflection, IT_ContextAttributes::IT_ExponentialBackoffReflection, IT_ContextAttributes::IT_InactivityTimeoutReflection, IT_ContextAttributes::IT_MaxUnAcknowledgedMessagesThresholdReflection, IT_ContextAttributes::IT_RMPoliciesTypeReflection, IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoiceReflection, IT_ContextAttributes::IT_SecurityHeaderTypeReflection, IT_ContextAttributes::IT_EmbeddedTypeChoiceReflection, IT_ContextAttributes::IT_UsernameTokenTypeReflection, IT_ContextAttributes::IT_TransformationParametersTypeReflection, IT_ContextAttributes::IT_ReferenceTypeReflection, IT_ContextAttributes::IT_TimestampType_1ChoiceReflection, and IT_ContextAttributes::IT_TimestampTypeReflection.
virtual Reflection* IT_Reflect::ModelGroup::use_element | ( | size_t | i | ) | throw ((ReflectException)) [pure 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. |
Implemented in IT_Reflect::ModelGroupImpl, IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoiceReflection, IT_ContextAttributes::IT_EmbeddedTypeChoiceReflection, and IT_ContextAttributes::IT_TimestampType_1ChoiceReflection.
virtual Reflection* IT_Reflect::ModelGroup::use_element | ( | const IT_Bus::QName & | name | ) | throw ((ReflectException)) [pure 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. |
Implemented in IT_Reflect::ModelGroupImpl, IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoiceReflection, IT_ContextAttributes::IT_EmbeddedTypeChoiceReflection, and IT_ContextAttributes::IT_TimestampType_1ChoiceReflection.