|
Public Member Functions |
|
| llip (int sz=6) |
|
| llip (const llip &sl) |
|
slip | join (const char *pat=" ") |
| | join a list on a pattern and return the result
|
|
int | split (const char *str, const char *pat="[ \t\n]+", int limit=-1) |
|
int | length () const |
| | returns the length of the slip list
|
|
int | count () const |
| | returns the length of the slip list
|
|
void | push (const slip &s) |
| | Add a slip at the end of the list.
|
|
void | push (const llip &sl) |
| | Add a llip at the end of the list.
|
|
void | unshift (const slip &s) |
| | Add a slip at the beginning of a list.
|
|
void | unshift (const llip &sl) |
| | Add a llip at the beginning of a list.
|
|
| operator const int () const |
| | Casting to an integer returns the length of the array.
|
|
slip | shift () |
| | Chops of the head of the list nand returns it.
|
|
slip | pop () |
| | Chops of the tail of the list nand returns it.
|
|
void | replace (int offset, int len, llip &l) |
|
llip & | splice (int offset, int len) |
|
llip & | splice (int offset) |
|
llip | grep (const char *regex, const char *options="") |
| | returns a sub list of entries that match the regex
|