#include <it_bus/element_list_t.h>
Inheritance diagram for IT_Bus::ElementListT< T >:
Definition at line 23 of file element_list_t.h.
Public Types | |
typedef IT_Reflect::ElementListImplT< ElementListT< T >, T > | IT_ReflectionType |
Public Member Functions | |
ElementListT (const QName &item_name, const size_t min_occurs, const size_t max_occurs, const size_t list_size=0) | |
Constructor. | |
ElementListT (const T &elem, const QName &item_name, const size_t min_occurs, const size_t max_occurs, const size_t list_size=0) | |
Constructor. | |
ElementListT (const size_t min_occurs=0, const size_t max_occurs=1, const size_t list_size=0, const QName &item_name=QName::EMPTY_QNAME) | |
Constructor. | |
virtual void | read_element (size_t pos, ComplexTypeReader &reader) throw ((DeserializationException)) |
Read the specified element. | |
virtual void | write_element (size_t pos, ComplexTypeWriter &writer) const throw ((SerializationException)) |
Write the specified element. | |
void | set_item_name (const QName &item_name) |
Set the name of each element in the list. | |
const QName & | get_item_name () const |
Get the name of each element in the list. | |
size_t | get_min_occurs () const |
Get the minimum occurs value of the list. | |
void | set_min_occurs (size_t min_occurs) |
Set the minimum occurs value of the list. | |
size_t | get_max_occurs () const |
Get the maximum occurs value of the list. | |
void | set_max_occurs (size_t max_occurs) |
Set the maximum occurs value of the list. | |
void | set_size (size_t new_size) |
Set the size of the list. | |
size_t | get_size () const |
Get the size of the list. | |
ElementListT & | operator= (const IT_Vector< T > &rhs) |
Assignment operator. | |
ElementListT & | operator= (const ElementListT &rhs) |
Assignment operator. | |
virtual AnyType & | copy (const AnyType &rhs) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
Private Attributes | |
QName | m_item_name |
virtual void IT_Bus::ElementListT< T >::read_element | ( | size_t | pos, | |
ComplexTypeReader & | reader | |||
) | throw ((DeserializationException)) [inline, virtual] |
Read the specified element.
size_t | the index of the specified element. |
Implements IT_Bus::ElementList.
Definition at line 78 of file element_list_t.h.
virtual void IT_Bus::ElementListT< T >::write_element | ( | size_t | pos, | |
ComplexTypeWriter & | writer | |||
) | const throw ((SerializationException)) [inline, virtual] |
Write the specified element.
size_t | the index of the specified element. |
Implements IT_Bus::ElementList.
Definition at line 92 of file element_list_t.h.
void IT_Bus::ElementListT< T >::set_item_name | ( | const QName & | item_name | ) | [inline] |
Set the name of each element in the list.
QName | for each element in the list. |
Definition at line 106 of file element_list_t.h.
size_t IT_Bus::ElementListT< T >::get_min_occurs | ( | ) | const [inline] |
Get the minimum occurs value of the list.
Reimplemented from IT_Bus::MinMaxListT< T >.
Definition at line 128 of file element_list_t.h.
void IT_Bus::ElementListT< T >::set_min_occurs | ( | size_t | min_occurs | ) | [inline] |
Set the minimum occurs value of the list.
size_t | the minimum occurs value. |
Reimplemented from IT_Bus::MinMaxListT< T >.
Definition at line 139 of file element_list_t.h.
size_t IT_Bus::ElementListT< T >::get_max_occurs | ( | ) | const [inline] |
Get the maximum occurs value of the list.
Reimplemented from IT_Bus::MinMaxListT< T >.
Definition at line 152 of file element_list_t.h.
void IT_Bus::ElementListT< T >::set_max_occurs | ( | size_t | max_occurs | ) | [inline] |
Set the maximum occurs value of the list.
size_t | the maximum occurs value |
Reimplemented from IT_Bus::MinMaxListT< T >.
Definition at line 163 of file element_list_t.h.
void IT_Bus::ElementListT< T >::set_size | ( | size_t | new_size | ) | [inline] |
Set the size of the list.
size_t | the size of the list |
Reimplemented from IT_Bus::MinMaxListT< T >.
Definition at line 176 of file element_list_t.h.
size_t IT_Bus::ElementListT< T >::get_size | ( | ) | const [inline] |
Get the size of the list.
Reimplemented from IT_Bus::MinMaxListT< T >.
Definition at line 189 of file element_list_t.h.
ElementListT& IT_Bus::ElementListT< T >::operator= | ( | const IT_Vector< T > & | rhs | ) | [inline] |
Assignment operator.
A | reference to vector to be used as assignment value. |
Reimplemented from IT_Bus::MinMaxListT< T >.
Definition at line 200 of file element_list_t.h.
ElementListT& IT_Bus::ElementListT< T >::operator= | ( | const ElementListT< T > & | rhs | ) | [inline] |
Assignment operator.
A | reference to ElementListT to be used as assignment value. |
Definition at line 214 of file element_list_t.h.
virtual AnyType& IT_Bus::ElementListT< T >::copy | ( | const AnyType & | rhs | ) | [inline, virtual] |
Returns a reference to an AnyType that is a copy of the AnyType parameter.
AnyType | to be copied. |
Reimplemented from IT_Bus::AnyType.
Definition at line 230 of file element_list_t.h.