#include <IntList.hpp>

Classes | |
| struct | Elem |
Public Member Functions | |
| IntList () | |
| IntList (const IntList &olist) | |
| ~IntList () | |
| const IntList & | operator= (const IntList &olist) |
| void | append (int ed) |
| void | insert (int ed) |
| void | insert_first (int ed) |
| void | reset () |
| void | next () |
| int & | get () |
| int | remove () |
| boolean | empty () |
| int | size () |
| boolean | move_to (int ed) |
| int | index () const |
| void | index (int ind) |
Private Attributes | |
| Elem * | d_first |
| Elem * | d_current |
| int | d_size |
Definition at line 7 of file IntList.hpp.
| IntList | ( | ) |
Definition at line 4 of file IntList.cpp.
Definition at line 9 of file IntList.cpp.
References d_current, d_first, IntList::Elem::d_next, and IntList::Elem::d_val.
| ~IntList | ( | ) |
Definition at line 30 of file IntList.cpp.
References d_first.
| void append | ( | int | ed | ) |
Definition at line 57 of file IntList.cpp.
References d_current, d_first, IntList::Elem::d_next, and d_size.
|
inline |
|
inline |
| int index | ( | ) | const |
Definition at line 110 of file IntList.cpp.
References d_current, d_first, and IntList::Elem::d_next.
| void index | ( | int | ind | ) |
Definition at line 121 of file IntList.cpp.
References d_current, d_first, IntList::Elem::d_next, and i.
|
inline |
Definition at line 55 of file IntList.hpp.
References d_current, d_first, IntList::Elem::d_next, and d_size.
|
inline |
Definition at line 66 of file IntList.hpp.
References d_current, d_first, and d_size.
| boolean move_to | ( | int | ed | ) |
Definition at line 102 of file IntList.cpp.
References d_current, d_first, IntList::Elem::d_next, IntList::Elem::d_val, FALSE, and TRUE.
|
inline |
Definition at line 77 of file IntList.hpp.
References d_current, d_first, and IntList::Elem::d_next.
Definition at line 34 of file IntList.cpp.
References d_current, d_first, IntList::Elem::d_next, d_size, and IntList::Elem::d_val.
| int remove | ( | ) |
Definition at line 75 of file IntList.cpp.
References d_current, d_first, IntList::Elem::d_next, d_size, and IntList::Elem::d_val.
|
inline |
|
inline |
Definition at line 92 of file IntList.hpp.
References d_size.
|
private |
Definition at line 49 of file IntList.hpp.
Referenced by append(), get(), index(), insert(), insert_first(), IntList(), move_to(), next(), operator=(), remove(), and reset().
|
private |
Definition at line 48 of file IntList.hpp.
Referenced by append(), index(), insert(), insert_first(), IntList(), move_to(), next(), operator=(), remove(), reset(), and ~IntList().
|
private |
Definition at line 51 of file IntList.hpp.
Referenced by append(), empty(), insert(), insert_first(), operator=(), remove(), and size().