#include <ctime>
#include <string>
#include <set>
+#include <map>
#include <sstream>
#include <iostream>
extern volatile time_t stgTime;
//-----------------------------------------------------------------------------
-//template<typename varT>
class USER_PROPERTY_BASE {
public:
virtual std::string ToString() const = 0;
USER_STAT stat;
USER_CONF conf;
- std::map<std::string, USER_PROPERTY_BASE*> properties;
+ std::map<std::string, USER_PROPERTY_BASE *> properties;
public:
USER_PROPERTIES(const std::string & sd);
inline
std::string USER_PROPERTY<varT>::ToString() const
{
-std::stringstream stream;
+std::ostringstream stream;
stream << value;
return stream.str();
}