|
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.

Public Member Functions | |
| CList (bool p_delete_data=false) | |
| virtual | ~CList () |
| int32_t | get_num_elements () |
| CSGObject * | get_first_element () |
| CSGObject * | get_last_element () |
| CSGObject * | get_next_element () |
| CSGObject * | get_previous_element () |
| CSGObject * | get_current_element () |
| bool | append_element (CSGObject *data) |
| bool | append_element_at_listend (CSGObject *data) |
| bool | insert_element (CSGObject *data) |
| CSGObject * | delete_element () |
| virtual void | load_serializable_post () throw (ShogunException) |
| virtual const char * | get_name () const |
thread safe list access functions | |
| CSGObject * | get_first_element (CListElement *&p_current) |
| CSGObject * | get_last_element (CListElement *&p_current) |
| CSGObject * | get_next_element (CListElement *&p_current) |
| CSGObject * | get_previous_element (CListElement *&p_current) |
| CSGObject * | get_current_element (CListElement *&p_current) |
Public Member Functions inherited from CSGObject | |
| CSGObject () | |
| CSGObject (const CSGObject &orig) | |
| virtual | ~CSGObject () |
| virtual bool | is_generic (EPrimitiveType *generic) const |
| template<class T > | |
| void | set_generic () |
| void | unset_generic () |
| virtual void | print_serializable (const char *prefix="") |
| virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
| virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
| void | set_global_io (SGIO *io) |
| SGIO * | get_global_io () |
| void | set_global_parallel (Parallel *parallel) |
| Parallel * | get_global_parallel () |
| void | set_global_version (Version *version) |
| Version * | get_global_version () |
| SGVector< char * > | get_modelsel_names () |
| char * | get_modsel_param_descr (const char *param_name) |
| index_t | get_modsel_param_index (const char *param_name) |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
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.