#if !defined(_ENCODING_H_INCLUDED_) #define _ENCODING_H_INCLUDED_ #include #include #include namespace System { namespace Text { template std::string ToString(T data){ std::stringstream temp; temp << data; return temp.str(); } int ToInteger(std::string); //std::string ToString(bool data); bool Encrypt(const std::string &intstr, std::string &outstr, std::string key = "lucid"); bool Decrypt(const std::string &intstr, std::string &outstr, std::string key = "lucid"); } } #endif