Logo Search packages:      
Sourcecode: wvstreams version File versions

WvStringList Class Reference

#include <wvstringlist.h>

List of all members.

Detailed Description

This is a WvList of WvStrings, and is a really handy way to parse strings. If you ever find yourself using strtok(3) or strpbrk(3), or find yourself needing to parse a line of input, WvStringList, WvStringList::split(), and WvStringList::popstr() are probably what you want, and avoid all sorts of nasty security bugs caused by doing it any other way.

Definition at line 25 of file wvstringlist.h.

Public Member Functions

void append (WvString *strp, bool autofree, char *id=NULL)
void append (WvStringParm str)
void fill (const char *const *array)
WvString join (const char *joinchars=" ") const
WvString popstr ()
void split (WvStringParm s, const char *splitchars=" \t\r\n", int limit=0)
void splitstrict (WvStringParm s, const char *splitchars=" \t\r\n", int limit=0)
 WvStringList ()

Private Member Functions

 WvStringList (const WvStringList &l)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index