#include <AiksaurusGTK_strlist.h>
Public Member Functions | |
| AiksaurusGTK_strlist () | |
| ~AiksaurusGTK_strlist () | |
| unsigned int | size () const |
| const GList * | list () const |
| const char * | look_back () const |
| const char * | look_front () const |
| void | clear () |
| void | push_back (const char *str) |
| void | pop_back () |
| void | push_front (const char *str) |
| void | pop_front () |
| void | remove_first (const char *str) |
| void | debug () |
Private Member Functions | |
| GList * | find_first (const char *str) |
| AiksaurusGTK_strlist (const AiksaurusGTK_strlist &rhs) | |
| const AiksaurusGTK_strlist & | operator= (const AiksaurusGTK_strlist &rhs) |
| GList * | create_node (const char *str) const |
| void | free_data (GList *node) const |
| void | remove_node (GList *node) |
Private Attributes | |
| GList * | d_front_ptr |
| GList * | d_back_ptr |
| int | d_size |
| AiksaurusGTK_strlist::AiksaurusGTK_strlist | ( | const AiksaurusGTK_strlist & | rhs | ) | [private] |
| AiksaurusGTK_strlist::AiksaurusGTK_strlist | ( | ) |
References d_back_ptr, d_front_ptr, and d_size.
| AiksaurusGTK_strlist::~AiksaurusGTK_strlist | ( | ) |
References clear().
| void AiksaurusGTK_strlist::clear | ( | ) |
References d_back_ptr, d_front_ptr, d_size, and free_data().
Referenced by AiksaurusGTK_history::search(), and ~AiksaurusGTK_strlist().
| GList * AiksaurusGTK_strlist::create_node | ( | const char * | str | ) | const [private] |
References AiksaurusGTK_strCopy().
Referenced by push_back(), and push_front().
| void AiksaurusGTK_strlist::debug | ( | ) |
References d_front_ptr, and size().
Referenced by AiksaurusGTK_history::debug(), and AiksaurusGTK_histlist::debug().
| GList * AiksaurusGTK_strlist::find_first | ( | const char * | str | ) | [private] |
References AiksaurusGTK_strEquals(), and d_front_ptr.
Referenced by remove_first().
| void AiksaurusGTK_strlist::free_data | ( | GList * | node | ) | const [private] |
Referenced by clear(), and remove_node().
| const GList * AiksaurusGTK_strlist::list | ( | ) | const |
| const char * AiksaurusGTK_strlist::look_back | ( | ) | const |
References d_back_ptr.
| const char * AiksaurusGTK_strlist::look_front | ( | ) | const |
References d_front_ptr.
Referenced by AiksaurusGTK_history::move_back(), AiksaurusGTK_history::move_forward(), AiksaurusGTK_history::tip_back(), and AiksaurusGTK_history::tip_forward().
| const AiksaurusGTK_strlist& AiksaurusGTK_strlist::operator= | ( | const AiksaurusGTK_strlist & | rhs | ) | [private] |
| void AiksaurusGTK_strlist::pop_back | ( | ) |
References d_back_ptr, and remove_node().
Referenced by AiksaurusGTK_histlist::addItem(), AiksaurusGTK_history::move_back(), and AiksaurusGTK_history::move_forward().
| void AiksaurusGTK_strlist::pop_front | ( | ) |
References d_front_ptr, and remove_node().
Referenced by AiksaurusGTK_history::move_back(), and AiksaurusGTK_history::move_forward().
| void AiksaurusGTK_strlist::push_back | ( | const char * | str | ) |
References create_node(), d_back_ptr, d_front_ptr, and d_size.
| void AiksaurusGTK_strlist::push_front | ( | const char * | str | ) |
References create_node(), d_back_ptr, d_front_ptr, and d_size.
Referenced by AiksaurusGTK_histlist::addItem(), AiksaurusGTK_history::move_back(), AiksaurusGTK_history::move_forward(), and AiksaurusGTK_history::search().
| void AiksaurusGTK_strlist::remove_first | ( | const char * | str | ) |
References find_first(), and remove_node().
Referenced by AiksaurusGTK_histlist::addItem().
| void AiksaurusGTK_strlist::remove_node | ( | GList * | node | ) | [private] |
References d_back_ptr, d_front_ptr, d_size, and free_data().
Referenced by pop_back(), pop_front(), and remove_first().
| unsigned int AiksaurusGTK_strlist::size | ( | ) | const |
GList* AiksaurusGTK_strlist::d_back_ptr [private] |
Referenced by AiksaurusGTK_strlist(), clear(), look_back(), pop_back(), push_back(), push_front(), and remove_node().
GList* AiksaurusGTK_strlist::d_front_ptr [private] |
Referenced by AiksaurusGTK_strlist(), clear(), debug(), find_first(), list(), look_front(), pop_front(), push_back(), push_front(), and remove_node().
int AiksaurusGTK_strlist::d_size [private] |
Referenced by AiksaurusGTK_strlist(), clear(), push_back(), push_front(), remove_node(), and size().
1.7.1