Rudiments
|
00001 // Copyright (c) 2003 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_PARAMETERSTRING_H 00005 #define RUDIMENTS_PARAMETERSTRING_H 00006 00007 #include <rudiments/private/parameterstringincludes.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 class parameterstringprivate; 00014 00022 class RUDIMENTS_DLLSPEC parameterstring { 00023 public: 00024 00026 parameterstring(); 00027 00029 ~parameterstring(); 00030 00033 void setDelimiter(char delim); 00034 00036 bool parse(const char *string); 00037 00040 const char *getValue(const char *name); 00041 00045 void clear(); 00046 00047 #include <rudiments/private/parameterstring.h> 00048 }; 00049 00050 #ifdef RUDIMENTS_NAMESPACE 00051 } 00052 #endif 00053 00054 #endif