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 () IT_THROW_DECL(())
 Constructor.
virtual ~ElementList () IT_THROW_DECL(())
 Destructor.
virtual size_t get_list_max_occurs () const IT_THROW_DECL((ReflectException))=0
 Obtain the maximum number of elements in the list.
virtual size_t get_list_min_occurs () const IT_THROW_DECL((ReflectException))=0
 Obtain the minimum number of elements in the list.
virtual size_t get_list_size () const IT_THROW_DECL((ReflectException))=0
 Obtain the current size of the list.
virtual void set_list_size (size_t size) IT_THROW_DECL((ReflectException))=0
 Set the size of the element list.
virtual const Reflectionget_element (size_t index) const IT_THROW_DECL((ReflectException))=0
 Get a read-only reflection of the element at the index.
virtual Reflectionuse_element (size_t index) IT_THROW_DECL((ReflectException))=0
 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 const Reflection* IT_Reflect::ElementList::get_element ( size_t  index  )  const [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 size_t IT_Reflect::ElementList::get_list_max_occurs (  )  const [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 [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 [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  )  [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 Reflection* IT_Reflect::ElementList::use_element ( size_t  index  )  [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 Thu Sep 7 11:41:01 2006 for Artix by  doxygen 1.4.7