BALL
1.4.1
|
#include <BALL/DATATYPE/list.h>
Inherits std::list< T >.
Public Types | |
Type Definitions | |
typedef std::list< Value > ::iterator | Iterator |
typedef std::list< Value > ::iterator | iterator |
typedef std::list< Value > ::const_iterator | ConstIterator |
typedef std::list< Value > ::const_iterator | const_iterator |
Public Member Functions | |
bool | operator== (const List< Value > &list) const |
bool | operator!= (const List< Value > &list) const |
Constructors and Destructors | |
List () | |
List (const List &new_list, bool) | |
void | destroy () |
virtual | ~List () |
Assignment | |
void | set (const List &list, bool=true) |
const List & | operator= (const List &list) |
void | get (List &list, bool deep=true) const |
Assign the content of a list to another. | |
void | swap (List &list) |
Swaps the contents of two lists. | |
Accessors | |
Size | getSize () const |
bool | remove (const Value &item) |
Predicates | |
bool | isEmpty () const |
DatatypeMiscellaneous | |
virtual void | host (Visitor< List< Value > > &visitor) |
Internal Iterators | |
bool | apply (UnaryProcessor< Value > &processor) |
Extended list object. This object is an improved version of the STL list class
typedef std::list<Value>::const_iterator BALL::List< Value >::const_iterator |
typedef std::list<Value>::const_iterator BALL::List< Value >::ConstIterator |
typedef std::list<Value>::iterator BALL::List< Value >::Iterator |
typedef std::list<Value>::iterator BALL::List< Value >::iterator |
BALL::List< Value >::List | ( | ) | [inline] |
virtual BALL::List< Value >::~List | ( | ) | [inline, virtual] |
bool BALL::List< Value >::apply | ( | UnaryProcessor< Value > & | processor | ) | [inline] |
void BALL::List< Value >::destroy | ( | ) | [inline] |
Size BALL::List< Value >::getSize | ( | ) | const [inline] |
bool BALL::List< Value >::isEmpty | ( | ) | const [inline] |
bool BALL::List< Value >::operator!= | ( | const List< Value > & | list | ) | const [inline] |
const List& BALL::List< Value >::operator= | ( | const List< Value > & | list | ) | [inline] |
bool BALL::List< Value >::operator== | ( | const List< Value > & | list | ) | const [inline] |
bool BALL::List< Value >::remove | ( | const Value & | item | ) | [inline] |