#include <MyList.h>
Public Member Functions | |
MyListIterator () | |
Attention tant que l'iterateur n'est pas rattaché a sa source, auccun appel ne peut fonctionner. | |
MyListIterator (MyList< T > *_list) | |
BOOL | Bind (MyList< T > *_list) |
void | operator= (MyListIterator &src) |
void | Zero () |
Place l'iterateur par defaut sur "rien". | |
MyListItem< T > * | GetCurrent () |
int | GetIndex () |
Donne l'index de l'element courrent. | |
BOOL | MoveFirst () |
BOOL | MoveLast () |
MyListItem< T > * | AddBefore (T *elem, BOOL selfAlloc, BOOL selfUnAlloc) |
MyListItem< T > * | AddBefore (MyListItem< T > *item) |
MyListItem< T > * | AddFirst (T *elem, BOOL selfAlloc, BOOL selfUnAlloc) |
MyListItem< T > * | AddFirst (MyListItem< T > *item) |
MyListItem< T > * | AddLast (T *elem, BOOL selfAlloc, BOOL selfUnAlloc) |
MyListItem< T > * | AddLast (MyListItem< T > *item) |
MyListItem< T > * | AddAfter (T *elem, BOOL selfAlloc, BOOL selfUnAlloc) |
MyListItem< T > * | AddAfter (MyListItem< T > *item) |
MyListItem< T > * | AddFirst (T *elem) |
Ajout en debut de liste. | |
MyListItem< T > * | AddFirst (T &elem) |
T * | AddNewFirst () |
MyListItem< T > * | AddLast (T *elem) |
Ajout en fin de liste. | |
MyListItem< T > * | AddLast (T &elem) |
T * | AddNewLast () |
MyListItem< T > * | AddBefore (T *elem) |
Ajourt avant le current. | |
MyListItem< T > * | AddBefore (T &elem) |
T * | AddNewBefore () |
MyListItem< T > * | AddAfter (T *elem) |
jout apres le current | |
MyListItem< T > * | AddAfter (T &elem) |
T * | AddNewAfter () |
BOOL | SuprFirst (BOOL withItem=TRUE) |
Supression d'un element dans la liste en tete. | |
BOOL | SuprLast (BOOL withItem=TRUE) |
Supression d'un element dans la liste en fin. | |
void | SuprAll () |
Supression de toute la list. | |
BOOL | Supr (MyListItem< T > *item, BOOL withItem=TRUE) |
Supression d'un element donnée. | |
BOOL | Supr (BOOL withItem=TRUE) |
Supression d'un element dans la liste courante. | |
BOOL | SuprIndex (int index, BOOL withItem=TRUE) |
Supression a une index donnée. | |
BOOL | GoTo (MyListItem< T > *item) |
Se place a la position d'un element donnée. | |
BOOL | GoTo (T elem) |
Se place a la position d'un element donnée. | |
BOOL | GoAfter () |
Va apres. | |
BOOL | GoBefore () |
Va avant. | |
BOOL | GoFirst () |
Va au debut. | |
BOOL | GoIndex (ETypeStart start, int nb) |
Va depuis curent,first,last,before,after deplace de nb infos. | |
BOOL | GoLast () |
Va a la fin. | |
T & | GetElem (int index=-1) |
Donne un element de la liste. | |
T * | GetElemPtr () |
T * | GetElemPtr (int index) |
Donne un ptr sur l'element de la liste. | |
BOOL | More () |
Enumeration terminé ? | |
BOOL | IsOnLast () |
Est on sur le dernier element ? | |
BOOL | IsOnFirst () |
Est on sur le dernier element ? | |
MyListItem< T > * | operator+= (T *elem) |
MyListItem< T > * | operator+= (T elem) |
BOOL | operator= (int index) |
BOOL | operator++ (int) |
BOOL | operator-- (int) |
T * | operator() (int num=-1) |
T & | operator[] (int num) |
|
Attention tant que l'iterateur n'est pas rattaché a sa source, auccun appel ne peut fonctionner.
|
|
|
|
|
|
jout apres le current
|
|
|
|
Definition at line 329 of file MyList.h. Referenced by MyListIterator< ParsingWord >::AddAfter(), MyListIterator< ParsingWord >::AddNewAfter(), and MyList< ParsingWord >::Load(). |
|
|
|
Ajourt avant le current.
|
|
|
|
Definition at line 248 of file MyList.h. Referenced by MyListIterator< ParsingWord >::AddBefore(), and MyListIterator< ParsingWord >::AddNewBefore(). |
|
|
|
Ajout en debut de liste.
|
|
|
|
Definition at line 287 of file MyList.h. Referenced by MyListIterator< ParsingWord >::AddFirst(), MyListIterator< ParsingWord >::AddNewFirst(), and MyListIterator< ParsingWord >::MoveFirst(). |
|
|
|
Ajout en fin de liste.
|
|
|
|
Definition at line 308 of file MyList.h. Referenced by MyListIterator< ParsingWord >::AddLast(), MyListIterator< ParsingWord >::AddNewLast(), MyListIterator< ParsingWord >::MoveLast(), and MyListIterator< ParsingWord >::operator+=(). |
|
|
|
|
|
|
|
|
|
Definition at line 176 of file MyList.h. Referenced by MyTreeNode< Face >::FindOnParent(), and MyListIterator< ParsingWord >::MyListIterator(). |
|
Definition at line 198 of file MyList.h. Referenced by MyListIterator< ParsingWord >::GoTo(), and MyListIterator< ParsingWord >::Supr(). |
|
Donne un element de la liste. Ex.: Definition at line 672 of file MyList.h. Referenced by TreeView::ConfigFacesPlus(), Control::Find(), MyTreeNode< Face >::FindOnParent(), MyListIterator< ParsingWord >::GoTo(), and MyListIterator< ParsingWord >::operator[](). |
|
Donne un ptr sur l'element de la liste. Ex.: |
|
Definition at line 679 of file MyList.h. Referenced by MyListIterator< ParsingWord >::operator()(), and MyList< ParsingWord >::Save(). |
|
Donne l'index de l'element courrent.
|
|
Va apres.
Definition at line 558 of file MyList.h. Referenced by MyListIterator< ParsingWord >::GoIndex(), MyListIterator< ParsingWord >::GoTo(), and MyListIterator< ParsingWord >::operator++(). |
|
Va avant.
Definition at line 574 of file MyList.h. Referenced by MyListIterator< ParsingWord >::GoIndex(), and MyListIterator< ParsingWord >::operator--(). |
|
Va au debut.
Definition at line 590 of file MyList.h. Referenced by MyListIterator< ParsingWord >::GoIndex(), MyListIterator< ParsingWord >::GoTo(), and MyListIterator< ParsingWord >::SuprAll(). |
|
Va depuis curent,first,last,before,after deplace de nb infos.
Definition at line 598 of file MyList.h. Referenced by MyListIterator< ParsingWord >::GetElem(), MyListIterator< ParsingWord >::GetElemPtr(), MyListIterator< ParsingWord >::operator=(), MyListIterator< ParsingWord >::operator[](), and MyListIterator< ParsingWord >::SuprIndex(). |
|
Va a la fin.
Definition at line 649 of file MyList.h. Referenced by MyListIterator< ParsingWord >::GoIndex(). |
|
Se place a la position d'un element donnée.
|
|
Se place a la position d'un element donnée.
|
|
Est on sur le dernier element ?
|
|
Est on sur le dernier element ?
|
|
Enumeration terminé ?
Definition at line 704 of file MyList.h. Referenced by TreeView::ConfigFacesPlus(), Control::Find(), MyTreeNode< Face >::FindOnParent(), MyListIterator< ParsingWord >::GoIndex(), MyListIterator< ParsingWord >::GoTo(), MyList< ParsingWord >::Save(), MyListIterator< ParsingWord >::Supr(), and MyListIterator< ParsingWord >::SuprAll(). |
|
Definition at line 217 of file MyList.h. Referenced by MyTreeNode< Face >::MoveToFirstChild(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Supression d'un element dans la liste courante.
|
|
Supression d'un element donnée.
Definition at line 472 of file MyList.h. Referenced by MyListIterator< ParsingWord >::MoveFirst(), MyListIterator< ParsingWord >::MoveLast(), MyListIterator< ParsingWord >::Supr(), and MyListIterator< ParsingWord >::SuprIndex(). |
|
Supression de toute la list.
|
|
Supression d'un element dans la liste en tete.
|
|
Supression a une index donnée.
|
|
Supression d'un element dans la liste en fin.
|
|
Place l'iterateur par defaut sur "rien".
Definition at line 192 of file MyList.h. Referenced by MyListIterator< ParsingWord >::Bind(), MyListIterator< ParsingWord >::Supr(), MyListIterator< ParsingWord >::SuprAll(), MyListIterator< ParsingWord >::SuprFirst(), and MyListIterator< ParsingWord >::SuprLast(). |