|
SHOGUN
v1.1.0
|
Class List implements a doubly connected list for low-level-objects.
For higher level objects pointers should be used. The list supports calling delete() of an object that is to be removed from the list.

Additional Inherited Members | |
Public Attributes inherited from CSGObject | |
| SGIO * | io |
| Parallel * | parallel |
| Version * | version |
| Parameter * | m_parameters |
| Parameter * | m_model_selection_parameters |
Protected Member Functions inherited from CSGObject | |
| virtual void | load_serializable_pre () throw (ShogunException) |
| virtual void | save_serializable_pre () throw (ShogunException) |
| virtual void | save_serializable_post () throw (ShogunException) |
| CList | ( | bool | p_delete_data = false | ) |
| bool append_element | ( | CSGObject * | data | ) |
| bool append_element_at_listend | ( | CSGObject * | data | ) |
| CSGObject* delete_element | ( | ) |
| CSGObject* get_current_element | ( | ) |
| CSGObject* get_current_element | ( | CListElement *& | p_current | ) |
| CSGObject* get_first_element | ( | ) |
| CSGObject* get_first_element | ( | CListElement *& | p_current | ) |
| CSGObject* get_last_element | ( | ) |
| CSGObject* get_last_element | ( | CListElement *& | p_current | ) |
|
virtual |
| CSGObject* get_next_element | ( | ) |
| CSGObject* get_next_element | ( | CListElement *& | p_current | ) |
| int32_t get_num_elements | ( | ) |
| CSGObject* get_previous_element | ( | ) |
| CSGObject* get_previous_element | ( | CListElement *& | p_current | ) |
| bool insert_element | ( | CSGObject * | data | ) |
|
virtual |
Can (optionally) be overridden to post-initialize some member variables which are not PARAMETER::ADD'ed. Make sure that at first the overridden method BASE_CLASS::LOAD_SERIALIZABLE_POST is called.
| ShogunException | Will be thrown if an error occurres. |
Reimplemented from CSGObject.