Logo Search packages:      
Sourcecode: libwfut version File versions  Download package

Encoder.h

// This file may be redistributed and modified only under the terms of
// the GNU Lesser General Public License (See COPYING for details).
// Copyright (C) 2007 Simon Goodall

#ifndef LIBWFUT_ENCODER_H
#define LIBWFUT_ENCODER_H 1

#include <string>

namespace WFUT {

class Encoder {
public:
  // Encode/Decode string values to store in an XML file
  static std::string encodeString(const std::string &str);
  static std::string decodeString(const std::string &str);
  // Encode strings so they can be used in URLs
  static std::string encodeURL(const std::string &str);
};

} /* namespace WFUT */

#endif /* LIBWFUT_ENCODER_H */

Generated by  Doxygen 1.6.0   Back to index