Rudiments
/home/dmuse/src/rudiments/include/rudiments/private/parameterstring.h
00001 // Copyright (c) 2003 David Muse
00002 // See the COPYING file for more information
00003 
00004         private:
00005                 int32_t         countPairs(const char *paramstring);
00006                 const char      *parseName(const char *data, char **outbuffer);
00007                 const char      *parseValue(const char *data, char **outbuffer);
00008                 const char      *parsePart(int32_t len,
00009                                                 char delimiter,
00010                                                 const char *data,
00011                                                 char **outbuffer,
00012                                                 int32_t quotes,
00013                                                 int32_t escapedchars);
00014                 int32_t parseNameLength(const char *data);
00015                 int32_t parseValueLength(const char *data);
00016                 int32_t parsePartLength(const char *data,
00017                                                 char delimiter,
00018                                                 int32_t quotes,
00019                                                 int32_t escapedchars);
00020                 
00021                 // FIXME: it should be possible to copy a parameterstring
00022                                 parameterstring(const parameterstring &p);
00023                 parameterstring &operator=(const parameterstring &p);
00024 
00025                 parameterstringprivate  *pvt;