ARB
Public Member Functions | List of all members
List< Type > Class Template Reference

#include <SoTl.hxx>

Inheritance diagram for List< Type >:
Inheritance graph
[legend]
Collaboration diagram for List< Type >:
Collaboration graph
[legend]

Public Member Functions

list_elem< Type > * get_first_list_elem ()
 
list_elem< Type > * get_last_list_elem ()
 
list_elem< Type > * get_current_list_elem ()
 
void remember_current ()
 
void set_current_ARC (list_elem< Type > *t)
 
void set_remembered_as_current_ARC ()
 
void sotl_list ()
 
void no_sotl_list ()
 
positiontype get_no_of_members ()
 
positiontype insert_as_first (Type *object)
 
positiontype insert_as_last (Type *object)
 
positiontype insert_after_current (Type *object)
 
positiontype insert_before_current (Type *object)
 
positiontype insert (Type *object)
 
Typeget_first ()
 
Typeget_last ()
 
Typeget_prev ()
 
Typeget_next ()
 
void remove_member_from_list (Type *object)
 
void remove_first ()
 
void remove_last ()
 
List< Type > * duplicate_list (Type *object)
 
bool exchange_members (Type *ex, Type *change)
 
positiontype insert_sorted_by_address_of_object (Type *object, int relation=RELATION_LESS, bool duplicates=true)
 
void sort_list_join (List< Type > *l, int relation=RELATION_LESS)
 
void sort_list_subtract (List< Type > *l, int relation=RELATION_LESS)
 
positiontype insert_at_pos_simple (Type *object, positiontype pos)
 
Typeget_member_at_pos_simple (positiontype pos)
 
positiontype insert_at_pos (Type *object, positiontype pos)
 
positiontype get_pos_of_member (Type *object)
 
Typeget_member_at_pos (positiontype pos)
 
bool remove_pos_from_list (positiontype pos)
 
bool exchange_positions (positiontype ex, positiontype change)
 
void update_pos_no (list_elem< Type > *elem, positiontype nr)
 
void update_pos_no ()
 
 List (bool so=false)
 
 ~List ()
 

Detailed Description

template<class Type>
class List< Type >

Definition at line 77 of file SoTl.hxx.

Constructor & Destructor Documentation

template<class Type >
List< Type >::List ( bool  so = false)
inline

Definition at line 234 of file SoTl.hxx.

References NULp.

template<class Type >
List< Type >::~List ( )
inline

Definition at line 240 of file SoTl.hxx.

References help(), and list_elem< Type >::next.

Member Function Documentation

template<class Type>
list_elem<Type>* List< Type >::get_first_list_elem ( )
inline

Definition at line 95 of file SoTl.hxx.

Referenced by List< Type >::sort_list_join(), and List< Type >::sort_list_subtract().

template<class Type>
list_elem<Type>* List< Type >::get_last_list_elem ( )
inline

Definition at line 96 of file SoTl.hxx.

template<class Type>
list_elem<Type>* List< Type >::get_current_list_elem ( )
inline

Definition at line 97 of file SoTl.hxx.

template<class Type>
void List< Type >::remember_current ( )
inline

Definition at line 98 of file SoTl.hxx.

template<class Type>
void List< Type >::set_current_ARC ( list_elem< Type > *  t)
inline

Definition at line 251 of file SoTl.hxx.

template<class Type >
void List< Type >::set_remembered_as_current_ARC ( )
inline

Definition at line 256 of file SoTl.hxx.

template<class Type>
void List< Type >::sotl_list ( )
inline

Definition at line 103 of file SoTl.hxx.

template<class Type>
void List< Type >::no_sotl_list ( )
inline

Definition at line 104 of file SoTl.hxx.

template<class Type>
positiontype List< Type >::get_no_of_members ( )
inline

Definition at line 105 of file SoTl.hxx.

Referenced by List< Type >::sort_list_join().

template<class Type>
positiontype List< Type >::insert_as_first ( Type object)
inline
template<class Type>
positiontype List< Type >::insert_as_last ( Type object)
inline
template<class Type>
positiontype List< Type >::insert_after_current ( Type object)
inline
template<class Type>
positiontype List< Type >::insert_before_current ( Type object)
inline
template<class Type>
positiontype List< Type >::insert ( Type object)
inline

Definition at line 502 of file SoTl.hxx.

template<class Type >
Type * List< Type >::get_first ( )
inline
template<class Type >
Type * List< Type >::get_last ( )
inline

Definition at line 344 of file SoTl.hxx.

References NULp.

template<class Type >
Type * List< Type >::get_prev ( )
inline

Definition at line 359 of file SoTl.hxx.

References list_elem< Type >::get_prev(), NULp, and result.

template<class Type >
Type * List< Type >::get_next ( )
inline
template<class Type>
void List< Type >::remove_member_from_list ( Type object)
inline

Definition at line 535 of file SoTl.hxx.

References list_elem< Type >::get_prev(), if, list_elem< Type >::next, and NULp.

template<class Type >
void List< Type >::remove_first ( )
inline
template<class Type >
void List< Type >::remove_last ( )
inline

Definition at line 600 of file SoTl.hxx.

References list_elem< Type >::get_prev(), and NULp.

template<class Type>
List< Type > * List< Type >::duplicate_list ( Type object)
inline
template<class Type>
bool List< Type >::exchange_members ( Type ex,
Type change 
)
inline

Definition at line 825 of file SoTl.hxx.

References result, and list_elem< Type >::set_elem().

template<class Type>
positiontype List< Type >::insert_sorted_by_address_of_object ( Type object,
int  relation = RELATION_LESS,
bool  duplicates = true 
)
inline
template<class Type>
void List< Type >::sort_list_join ( List< Type > *  l,
int  relation = RELATION_LESS 
)
inline
template<class Type>
void List< Type >::sort_list_subtract ( List< Type > *  l,
int  relation = RELATION_LESS 
)
inline
template<class Type>
positiontype List< Type >::insert_at_pos_simple ( Type object,
positiontype  pos 
)
inline
template<class Type >
Type * List< Type >::get_member_at_pos_simple ( positiontype  pos)
inline

Definition at line 950 of file SoTl.hxx.

References list_elem< Type >::elem, and NULp.

template<class Type>
positiontype List< Type >::insert_at_pos ( Type object,
positiontype  pos 
)
inline
template<class Type>
positiontype List< Type >::get_pos_of_member ( Type object)
inline
template<class Type >
Type * List< Type >::get_member_at_pos ( positiontype  pos)
inline

Definition at line 937 of file SoTl.hxx.

References list_elem< Type >::elem, and NULp.

template<class Type >
bool List< Type >::remove_pos_from_list ( positiontype  pos)
inline

Definition at line 963 of file SoTl.hxx.

References list_elem< Type >::get_pos(), NULp, and result.

template<class Type >
bool List< Type >::exchange_positions ( positiontype  ex,
positiontype  change 
)
inline

Definition at line 857 of file SoTl.hxx.

References list_elem< Type >::elem, and result.

template<class Type>
void List< Type >::update_pos_no ( list_elem< Type > *  elem,
positiontype  nr 
)
inline

Definition at line 807 of file SoTl.hxx.

References list_elem< Type >::next, and list_elem< Type >::set_pos().

template<class Type>
void List< Type >::update_pos_no ( )
inline

Definition at line 821 of file SoTl.hxx.


The documentation for this class was generated from the following file: