KISSCPP
a C++ library for rapid application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
kisscpp::Base64BiCoder< T > Class Template Referenceabstract

#include <persisted_queue.hpp>

Public Types

typedef transform_width
< binary_from_base64
< remove_whitespace
< std::string::const_iterator > >, 8, 6 > 
BinaryType
 
typedef base64_from_binary
< transform_width
< std::string::const_iterator, 6, 8 > > 
Base64Type
 

Public Member Functions

 Base64BiCoder ()
 
 ~Base64BiCoder ()
 
virtual boost::shared_ptr
< std::string > 
encode (const boost::shared_ptr< T > obj2encode)=0
 
virtual boost::shared_ptr< T > decode (const std::string &str2decode)=0
 

Protected Member Functions

boost::shared_ptr< std::string > encodeToBase64String (const std::string &s)
 
boost::shared_ptr< std::string > decodeFromBase64 (const std::string &s)
 

Member Typedef Documentation

template<class T>
typedef base64_from_binary<transform_width<std::string::const_iterator,6,8> > kisscpp::Base64BiCoder< T >::Base64Type
template<class T>
typedef transform_width< binary_from_base64<remove_whitespace<std::string::const_iterator> > , 8, 6 > kisscpp::Base64BiCoder< T >::BinaryType

Constructor & Destructor Documentation

template<class T>
kisscpp::Base64BiCoder< T >::Base64BiCoder ( )
inline
template<class T>
kisscpp::Base64BiCoder< T >::~Base64BiCoder ( )
inline

Member Function Documentation

template<class T>
virtual boost::shared_ptr<T> kisscpp::Base64BiCoder< T >::decode ( const std::string &  str2decode)
pure virtual
template<class T>
boost::shared_ptr<std::string> kisscpp::Base64BiCoder< T >::decodeFromBase64 ( const std::string &  s)
inlineprotected
template<class T>
virtual boost::shared_ptr<std::string> kisscpp::Base64BiCoder< T >::encode ( const boost::shared_ptr< T >  obj2encode)
pure virtual

Implemented in kisscpp::PtreeBase64Bicoder.

template<class T>
boost::shared_ptr<std::string> kisscpp::Base64BiCoder< T >::encodeToBase64String ( const std::string &  s)
inlineprotected

The documentation for this class was generated from the following file: