#include <it_bus/reflect/element_list.h>
Inheritance diagram for IT_Reflect::ElementList:
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 Reflection * | get_element (size_t index) const IT_THROW_DECL((ReflectException))=0 |
Get a read-only reflection of the element at the index. | |
virtual Reflection * | use_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 |
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.
index | of element. |
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.
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.
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.
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.
size | of the list. |
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.
index | of element. |
ReflectException | if index is out of bounds. |
Implemented in IT_Reflect::ElementListImplBase.