plis::llip Class Reference

#include <plis.h>

List of all members.

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)
llipsplice (int offset, int len)
llipsplice (int offset)
llip grep (const char *regex, const char *options="")
 returns a sub list of entries that match the regex


Detailed Description

llip is list of slip with additional string related features. Note that it inherits from std::deque and it thus inherits all its properties.


The documentation for this class was generated from the following file:
plis - Perl Like Structures