Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

IT_Reflect::ComplexTypeImpl Class Reference

#include <it_bus/reflect/complex_type_impl.h>

Inheritance diagram for IT_Reflect::ComplexTypeImpl:

IT_Reflect::ComplexType IT_Reflect::Reflection IT_Bus::RefCountedBase List of all members.

Detailed Description

Base class for complex type generated reflection classes.

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) throw (())
 Constructor.
virtual size_t get_attribute_count () const throw (())
 Return the count of attributes defined for this type.
virtual const IT_Bus::QNameget_attribute_name (size_t i) const throw (())
 Return the name of the ith attribute.
virtual Reflectionuse_attribute_value (const IT_Bus::QName &name) throw ((ReflectException))
 Use the named attribute.


Constructor & Destructor Documentation

IT_Reflect::ComplexTypeImpl::ComplexTypeImpl IT_Vector< IT_Bus::QName > &  attributes  )  throw (())
 

Constructor.

Parameters:
attributes,a vector of QName elements


Member Function Documentation

virtual size_t IT_Reflect::ComplexTypeImpl::get_attribute_count  )  const throw (()) [virtual]
 

Return the count of attributes defined for this type.

Returns:
size_t
Exceptions:
ReflectException 

Implements IT_Reflect::ComplexType.

virtual const IT_Bus::QName& IT_Reflect::ComplexTypeImpl::get_attribute_name size_t  i  )  const throw (()) [virtual]
 

Return the name of the ith attribute.

Returns:
reference to QName of selected attribute
Exceptions:
ReflectException 

Implements IT_Reflect::ComplexType.

virtual Reflection* IT_Reflect::ComplexTypeImpl::use_attribute_value const IT_Bus::QName name  )  throw ((ReflectException)) [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.

Implements IT_Reflect::ComplexType.


Generated on Wed Mar 22 12:23:57 2006 for Artix by  doxygen 1.3.9.1