IT_Reflect::ElementList Class Reference

#include <it_bus/reflect/element_list.h>

Inheritance diagram for IT_Reflect::ElementList:

IT_Reflect::Reflection IT_Bus::RefCountedBase IT_Reflect::ElementListImplBase IT_Reflect::ElementListImplT< ListT, T > IT_Reflect::OccuringTypeImplT< T > IT_Reflect::OccuringTypeImplT< IT_ContextAttributes::IT_EmbeddedTypeChoice > IT_Reflect::OccuringTypeImplT< IT_ContextAttributes::IT_SecurityTokenReferenceTypeChoice > IT_Reflect::OccuringTypeImplT< IT_ContextAttributes::IT_TimestampType_1Choice > IT_Reflect::TypeListImplT< ListT, T > IT_ContextAttributes::IT_EmbeddedTypeReflection IT_ContextAttributes::IT_SecurityTokenReferenceTypeReflection IT_ContextAttributes::IT_TimestampType_1Reflection List of all members.

Detailed Description

Collection of objects of type IT_Reflect::Reflection.

Definition at line 13 of file element_list.h.

Public Member Functions

 ElementList () throw (())
 Constructor.
virtual ~ElementList () throw (())
 Destructor.
virtual size_t get_list_max_occurs () const=0 throw ((ReflectException))
 Obtain the maximum number of elements in the list.
virtual size_t get_list_min_occurs () const=0 throw ((ReflectException))
 Obtain the minimum number of elements in the list.
virtual size_t get_list_size () const=0 throw ((ReflectException))
 Obtain the current size of the list.
virtual void set_list_size (size_t size)=0 throw ((ReflectException))
 Set the size of the element list.
virtual const Reflectionget_element (size_t index) const=0 throw ((ReflectException))
 Get a read-only reflection of the element at the index.
virtual Reflectionuse_element (size_t index)=0 throw ((ReflectException))
 Get a reflection that can be used to modify the element at the index.

Static Public Attributes

static const size_t UNBOUNDED


Member Function Documentation

virtual size_t IT_Reflect::ElementList::get_list_max_occurs (  )  const throw ((ReflectException)) [pure virtual]

Obtain the maximum number of elements in the list.

Returns:
maxOccurs value, may be UNBOUNDED
Exceptions:
ReflectException 

Implemented in IT_Reflect::ElementListImplBase.

virtual size_t IT_Reflect::ElementList::get_list_min_occurs (  )  const throw ((ReflectException)) [pure virtual]

Obtain the minimum number of elements in the list.

Returns:
minOccurs value
Exceptions:
ReflectException 

Implemented in IT_Reflect::ElementListImplBase.

virtual size_t IT_Reflect::ElementList::get_list_size (  )  const throw ((ReflectException)) [pure virtual]

Obtain the current size of the list.

Returns:
number of elements in the list.
Exceptions:
ReflectException 

Implemented in IT_Reflect::ElementListImplBase.

virtual void IT_Reflect::ElementList::set_list_size ( size_t  size  )  throw ((ReflectException)) [pure virtual]

Set the size of the element list.

Parameters:
size of the list.
Exceptions:
ReflectException if size > get_max_occurs() or size < get_min_occurs()

Implemented in IT_Reflect::ElementListImplBase.

virtual const Reflection* IT_Reflect::ElementList::get_element ( size_t  index  )  const throw ((ReflectException)) [pure virtual]

Get a read-only reflection of the element at the index.

Parameters:
index of element.
Returns:
Reflection of element. Caller must _remove_ref().
Exceptions:
ReflectException if index is out of bounds.

Implemented in IT_Reflect::ElementListImplBase.

virtual Reflection* IT_Reflect::ElementList::use_element ( size_t  index  )  throw ((ReflectException)) [pure virtual]

Get a reflection that can be used to modify the element at the index.

Parameters:
index of element.
Returns:
Modifiable reflection of element. Caller must _remove_ref().
Exceptions:
ReflectException if index is out of bounds.

Implemented in IT_Reflect::ElementListImplBase.


Generated on Tue Mar 20 15:28:33 2007 for Artix by  doxygen 1.5.1-p1