eap_array_c Class Reference
The eap_array_c template class includes an array for type of Type objects. The objects can be added, retrieved and their count can be queried.
Constructor & Destructor Documentation
eap_array_c(abs_eap_am_tools_c *const)
~eap_array_c()
~eap_array_c | ( | ) | [inline, virtual] |
Destructor deletes all atoms.
Member Functions Documentation
add_object(Type *const, const bool)
eap_status_e
| add_object | ( | Type *const | object, |
| const bool | m_free_object |
| ) | [inline] |
Parameters
Type *const object | is pointer to the added object |
const bool m_free_object | is flag that indicates whether the object should be deleted by eap_array_c |
add_object_to_begin(Type *const, const bool)
eap_status_e
| add_object_to_begin | ( | Type *const | object, |
| const bool | m_free_object |
| ) | [inline] |
Parameters
Type *const object | is pointer to the added object |
const bool m_free_object | is flag that indicates whether the object should be deleted by eap_array_c |
get_last_object()
Type *const | get_last_object | ( | ) | const [inline] |
get_object(const u32_t)
Type *const | get_object | ( | const u32_t | index | ) | const [inline] |
The get_object() function returns object based on the index given.
Parameters
const u32_t index | Indicates which object pointer is returned |
get_object_count()
const u32_t | get_object_count | ( | ) | const [inline] |
operator=(const eap_array_c< Type > &)
remove_object(const u32_t)
Parameters
const u32_t index | Indicates which object pointer is returned |
Member Data Documentation
abs_eap_am_tools_c * m_am_tools
eap_array_atom_c< Type > * m_head
u32_t
m_object_count
u32_t
| m_object_count | [private] |
eap_array_atom_c< Type > * m_tail
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.