base64.h
Go to the documentation of this file.
#ifndef OSL_MISC_BASE64ENCODE_H
#define OSL_MISC_BASE64ENCODE_H
#include <string>
#include <boost/dynamic_bitset.hpp>
namespace osl
{
namespace book
{
class CompactBoard;
}
namespace misc
{
// http://en.wikipedia.org/wiki/Base64
// http://ja.wikipedia.org/wiki/Base64
std::string base64Encode(boost::dynamic_bitset<> src);
boost::dynamic_bitset<> base64Decode(std::string src);
std::string toBase64(const book::CompactBoard&);
book::CompactBoard toCompactBoard(const std::string& str);
} // namespace misc
} // namespace CQ
#endif /* _MISC_UUENCODE_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
osl::book::CompactBoard
SimpleStateよりcompactな局面の表現
Definition compactBoard.h:60
osl::book
Definition bookInMemory.h:12
osl::misc
Definition basic_type.h:66
osl::misc::base64Encode
std::string base64Encode(boost::dynamic_bitset<> src)
Definition base64.cc:5
osl::misc::base64Decode
boost::dynamic_bitset base64Decode(std::string src)
Definition base64.cc:56
osl::misc::toCompactBoard
book::CompactBoard toCompactBoard(const std::string &str)
Definition base64.cc:132
osl::misc::toBase64
std::string toBase64(const book::CompactBoard &)
Definition base64.cc:107
osl
Definition additionalEffect.h:6