Methods | Description |
---|---|
acl() | Does nothing. |
void *operator new(int size_t, int s) | A overloaded new operator to create a acl object. Note, the second parameter ``s'' of ``new'' passes the maximum size (number of elements which can be stored into the instance) over to the operator! |
void operator delete(void *a) | This operator does not really remove the instance but moves it into the ``free acl'' list. |
acl &operator<<(const acl &a) | Appends the content of list ``a'' to the current instance. Returns a reference to the current instance. |
acl &operator<<(const int i) | Appends a single int value ``i'' to the current ``acl'' list. Returns a reference to the current instance. |
acl &operator+(const acl &a) | Appends ``a'' to the current list and stores the result into a new ``acl'' list which is returned. |
acl &operator=(const acl &a) | Assigns ``a'' to the current list. Returns a reference to the current instance. |
int get(int i) | Returns list element number ``i''. The first element is numbered 0. |
int get() | Returns the first element of the current instance. |
int get_size() | Returns the number of elements which are currently on the list. |