plis Namespace Reference


Classes

class  slip
class  substring
class  llip
class  Range
class  Regexp

Functions

slip join (llip &, const char *pat=" ")
void push (llip &sl, const slip &s)
slip slipprintf (const char *,...)
slip slipvprintf (const char *, va_list args)
int slip_read_file (slip filename, slip &contents)


Detailed Description

The range class simply handles a ranged expressed as a start and an end. It is used internally in the Regexp and the plis classes.


Function Documentation

int plis::slip_read_file slip  filename,
slip &  contents
 

A convenence function for reading a file into a slip.

Parameters:
filename File name.
contents Contains file contents or an error string in case of error.
Returns:
Returns 0 on success. -1 otherwise.

slip plis::slipprintf const char *  ,
  ...
 

Create a sups by printf like syntax.

Returns:

slip plis::slipvprintf const char *  ,
va_list  args
 

Create a sups by vprintf like formatting syntax.

Returns:


plis - Perl Like Structures