wfut  0.2.4
A client side C++ implementation of WFUT (WorldForge Update Tool).
Encoder.h
1 // This file may be redistributed and modified only under the terms of
2 // the GNU Lesser General Public License (See COPYING for details).
3 // Copyright (C) 2007 Simon Goodall
4 
5 #ifndef LIBWFUT_ENCODER_H
6 #define LIBWFUT_ENCODER_H 1
7 
8 #include <string>
9 
10 namespace WFUT {
11 
16 class Encoder {
17 public:
22  static std::string encodeString(const std::string &str);
23 
28  static std::string decodeString(const std::string &str);
29 
33  static std::string encodeURL(const std::string &str);
34 };
35 
36 } /* namespace WFUT */
37 
38 #endif /* LIBWFUT_ENCODER_H */
WFUT::Encoder::encodeURL
static std::string encodeURL(const std::string &str)
Definition: Encoder.cpp:62
WFUT::Encoder::encodeString
static std::string encodeString(const std::string &str)
Definition: Encoder.cpp:13
WFUT::Encoder
Definition: Encoder.h:16
WFUT::Encoder::decodeString
static std::string decodeString(const std::string &str)
Definition: Encoder.cpp:41