#include <node_list.hxx>
Inherited by ResultSet, and TypeList.
Inheritance diagram for node_list:
Public Member Functions | |
| node_list (char **constants, int num_const) | |
| ~node_list () | |
| node * | elementAt (int pos) |
| void | append (node *nd) |
| void | addUnique (node *nd) |
| node * | find (node *nd) |
| void | del (node *nd) |
| node * | getHead () |
| node * | getTail () |
| void | setHead (node *n) |
| void | setTail (node *n) |
| int | length () |
| node_list::node_list | ( | char ** | constants, | |
| int | num_const | |||
| ) |
Constructor
| node_list::~node_list | ( | ) |
Destructor
| node * node_list::elementAt | ( | int | pos | ) |
| void node_list::append | ( | node * | nd | ) |
Appends the given node at the end of the list
| void node_list::addUnique | ( | node * | nd | ) |
Appends the given node at the end of the list, only if there does not exist already an "equal" node
| void node_list::del | ( | node * | nd | ) |
Searches for a node equal with the given node and deletes it
| node* node_list::getHead | ( | ) | [inline] |
| node* node_list::getTail | ( | ) | [inline] |
| void node_list::setHead | ( | node * | n | ) | [inline] |
Set the first element of the list to n
| void node_list::setTail | ( | node * | n | ) | [inline] |
Set the last element of the list to n
| int node_list::length | ( | ) |
1.5.0