IT_Reflect::ComplexType Class Reference

#include <it_bus/reflect/complex_type.h>

Inheritance diagram for IT_Reflect::ComplexType:

IT_Reflect::Reflection IT_Bus::RefCountedBase IT_Reflect::ComplexTypeImpl IT_Reflect::ModelGroup IT_Reflect::SimpleContent IT_Bus::IT_ReferencePortReflection IT_Bus::IT_ReferenceReflection IT_ContextAttributes::IT_AcknowledgementIntervalReflection IT_ContextAttributes::IT_AttributedDateTimeReflection IT_ContextAttributes::IT_AttributedStringReflection IT_ContextAttributes::IT_AttributedURIReflection IT_ContextAttributes::IT_BaseRetransmissionIntervalReflection IT_ContextAttributes::IT_BinarySecurityTokenTypeReflection IT_ContextAttributes::IT_BusSecurity_1Reflection IT_ContextAttributes::IT_ClientConfiguration_1Reflection IT_ContextAttributes::IT_ClientNamingPolicyType_1Reflection IT_ContextAttributes::IT_clientType_1Reflection IT_ContextAttributes::IT_ConnectionPolicyType_1Reflection IT_ContextAttributes::IT_CORBAAttributesTypeReflection IT_ContextAttributes::IT_CredentialsType_1Reflection IT_ContextAttributes::IT_DefaultConnectionPolicyType_1Reflection IT_ContextAttributes::IT_EmbeddedTypeChoiceReflection IT_ContextAttributes::IT_EmbeddedTypeReflection IT_ContextAttributes::IT_EncodedStringReflection IT_ContextAttributes::IT_ExponentialBackoffReflection IT_ContextAttributes::IT_InactivityTimeoutReflection IT_ContextAttributes::IT_JMSClientHeadersType_1Reflection IT_ContextAttributes::IT_JMSConnectionSecurityInfoTypeReflection IT_ContextAttributes::IT_JMSHeadersTypeDataReflection IT_ContextAttributes::IT_JMSPropertyTypeReflection IT_ContextAttributes::IT_JMSServerHeadersType_1Reflection IT_ContextAttributes::IT_KeyIdentifierTypeReflection IT_ContextAttributes::IT_MaxUnAcknowledgedMessagesThresholdReflection IT_ContextAttributes::IT_MQAttributesType_1Reflection IT_ContextAttributes::IT_mqClientType_1Reflection IT_ContextAttributes::IT_MQConnectionAttributesType_1Reflection IT_ContextAttributes::IT_MQMessageAttributesType_1Reflection IT_ContextAttributes::IT_mqServerType_1Reflection IT_ContextAttributes::IT_PasswordStringReflection IT_ContextAttributes::IT_ReferenceTypeReflection IT_ContextAttributes::IT_RMPoliciesTypeReflection IT_ContextAttributes::IT_SecurityHeaderTypeReflection IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoiceReflection IT_ContextAttributes::IT_SecurityTokenReferenceTypeReflection IT_ContextAttributes::IT_ServerConfiguration_1Reflection IT_ContextAttributes::IT_ServerNamingPolicyType_1Reflection IT_ContextAttributes::IT_serverType_1Reflection IT_ContextAttributes::IT_SOAPAttachmentPartInfoArrayReflection IT_ContextAttributes::IT_SOAPAttachmentPartInfoReflection IT_ContextAttributes::IT_tExtensibilityElementDataReflection IT_ContextAttributes::IT_TibrvType_1Reflection IT_ContextAttributes::IT_TimestampType_1ChoiceReflection IT_ContextAttributes::IT_TimestampType_1Reflection IT_ContextAttributes::IT_TimestampTypeReflection IT_ContextAttributes::IT_TransformationParametersTypeReflection IT_ContextAttributes::IT_UsernameTokenTypeReflection IT_Reflect::Choice IT_Reflect::ModelGroupImpl IT_Reflect::ModelGroupWithSubstitutables IT_ContextAttributes::IT_AttributedDateTimeReflection IT_ContextAttributes::IT_AttributedStringReflection IT_ContextAttributes::IT_AttributedURIReflection IT_ContextAttributes::IT_BinarySecurityTokenTypeReflection IT_ContextAttributes::IT_EncodedStringReflection IT_ContextAttributes::IT_KeyIdentifierTypeReflection IT_ContextAttributes::IT_PasswordStringReflection List of all members.

Detailed Description

Base for all complex type reflections.

Note: Optional attributes are represented as Nillable objects. A nil value indicates the attribute is missing. Non-optional attributes are represented as SimpleType objects.

Definition at line 25 of file complex_type.h.

Public Member Functions

 ComplexType () IT_THROW_DECL(())
 No argument constructor.
virtual ~ComplexType () IT_THROW_DECL(())
 Destructor.
virtual size_t get_attribute_count () const IT_THROW_DECL((ReflectException))=0
 Return the count of attributes defined for this type.
virtual const IT_Bus::QNameget_attribute_name (size_t i) const IT_THROW_DECL((ReflectException))=0
 Return the name of the ith attribute.
virtual const Reflectionget_attribute_value (const IT_Bus::QName &name) const IT_THROW_DECL((ReflectException))=0
 Get read-only reflection of named attribute.
virtual Reflectionuse_attribute_value (const IT_Bus::QName &name) IT_THROW_DECL((ReflectException))=0
 Use the named attribute.
virtual void remove_attribute (const IT_Bus::QName &name) IT_THROW_DECL((ReflectException))=0
 Remove an optional attribute.


Member Function Documentation

virtual size_t IT_Reflect::ComplexType::get_attribute_count (  )  const [pure virtual]

Return the count of attributes defined for this type.

Returns:
size_t
Exceptions:
ReflectException 

Implemented in IT_Reflect::ComplexTypeImpl.

virtual const IT_Bus::QName& IT_Reflect::ComplexType::get_attribute_name ( size_t  i  )  const [pure virtual]

Return the name of the ith attribute.

Returns:
reference to QName of selected attribute
Exceptions:
ReflectException 

Implemented in IT_Reflect::ComplexTypeImpl.

virtual const Reflection* IT_Reflect::ComplexType::get_attribute_value ( const IT_Bus::QName name  )  const [pure virtual]

Get read-only reflection of named attribute.

For optional attributes returns a 0 pointer if the attribute is missing.

Parameters:
name Attribute name.
Returns:
Reflection of attribute or 0 if missing. Caller must _remove_ref().
Exceptions:
ReflectException The attribute name is not valid.

virtual void IT_Reflect::ComplexType::remove_attribute ( const IT_Bus::QName name  )  [pure virtual]

Remove an optional attribute.

Does nothing for non-optional attributes.

Parameters:
name Attribute name.
Exceptions:
ReflectException 

virtual Reflection* IT_Reflect::ComplexType::use_attribute_value ( const IT_Bus::QName name  )  [pure virtual]

Use the named attribute.

Returns a reflection object that can be used to modify the attribute. For optional attributes returns a 0 pointer if the attribute is missing.

Parameters:
name Attribute name.
Returns:
Reflection of attribute Caller must _remove_ref()
Exceptions:
ReflectException The attribute is not present, or the name is invalid.

Implemented in IT_Reflect::ComplexTypeImpl.


Generated on Thu Sep 7 11:41:00 2006 for Artix by  doxygen 1.4.7