Update of /cvsroot/pclasses/pclasses2/include/pclasses/IO
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18629/include/pclasses/IO
Modified Files:
URL.h
Log Message:
Changed ArgumentMap from map<string,string> to PropertyMap<string,string>.
Index: URL.h
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/IO/URL.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- URL.h 17 Jan 2005 21:55:23 -0000 1.2
+++ URL.h 28 Jan 2005 11:54:50 -0000 1.3
@@ -22,6 +22,7 @@
#include <pclasses/Export.h>
#include <pclasses/Exception.h>
+#include <pclasses/PropertyMap.h>
#include <iostream>
#include <map>
#include <string>
@@ -51,7 +52,7 @@
*/
class PIO_EXPORT URL {
public:
- typedef std::map<std::string, std::string> ArgumentMap;
+ typedef PropertyMap<std::string, std::string> ArgumentMap;
//! Default constructor
/*!
@@ -140,6 +141,8 @@
static ArgumentMap fromString(const std::string& args);
//! Returns the URL-encoded string representation of the given ArgumentMap
+ /*!
+ */
static std::string toString(const ArgumentMap& args);
private:
|