#include <it_bus/reflect/complex_type_impl.h>
Inheritance diagram for IT_Reflect::ComplexTypeImpl:
Provides implementations for ComplexType functions.
Definition at line 21 of file complex_type_impl.h.
Public Member Functions | |
ComplexTypeImpl (IT_Vector< IT_Bus::QName > &attributes) IT_THROW_DECL(()) | |
Constructor. | |
virtual size_t | get_attribute_count () const IT_THROW_DECL(()) |
Return the count of attributes defined for this type. | |
virtual const IT_Bus::QName & | get_attribute_name (size_t i) const IT_THROW_DECL(()) |
Return the name of the ith attribute. | |
virtual Reflection * | use_attribute_value (const IT_Bus::QName &name) IT_THROW_DECL((ReflectException)) |
Use the named attribute. | |
Private Attributes | |
IT_Vector< IT_Bus::QName > & | m_attributes |
IT_Reflect::ComplexTypeImpl::ComplexTypeImpl | ( | IT_Vector< IT_Bus::QName > & | attributes | ) |
Constructor.
attributes,a | vector of QName elements |
virtual size_t IT_Reflect::ComplexTypeImpl::get_attribute_count | ( | ) | const [virtual] |
Return the count of attributes defined for this type.
ReflectException |
Implements IT_Reflect::ComplexType.
virtual const IT_Bus::QName& IT_Reflect::ComplexTypeImpl::get_attribute_name | ( | size_t | i | ) | const [virtual] |
Return the name of the ith attribute.
ReflectException |
Implements IT_Reflect::ComplexType.
virtual Reflection* IT_Reflect::ComplexTypeImpl::use_attribute_value | ( | const IT_Bus::QName & | name | ) | [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.
name | Attribute name. |
ReflectException | The attribute is not present, or the name is invalid. |
Implements IT_Reflect::ComplexType.