Pyrogenesis  trunk
Public Member Functions | Private Member Functions | Private Attributes | List of all members
tinygettext::IConv Class Reference

#include <iconv.hpp>

Public Member Functions

 IConv ()
 
 IConv (const std::string &fromcode, const std::string &tocode)
 
 ~IConv ()
 
void set_charsets (const std::string &fromcode, const std::string &tocode)
 
std::string convert (const std::string &text)
 Convert a string from encoding to another. More...
 

Private Member Functions

 IConv (const IConv &)
 
IConvoperator= (const IConv &)
 

Private Attributes

std::string to_charset
 
std::string from_charset
 
iconv_t cd
 

Constructor & Destructor Documentation

◆ IConv() [1/3]

tinygettext::IConv::IConv ( )

◆ IConv() [2/3]

tinygettext::IConv::IConv ( const std::string &  fromcode,
const std::string &  tocode 
)

◆ ~IConv()

tinygettext::IConv::~IConv ( )

◆ IConv() [3/3]

tinygettext::IConv::IConv ( const IConv )
private

Member Function Documentation

◆ convert()

std::string tinygettext::IConv::convert ( const std::string &  text)

Convert a string from encoding to another.

◆ operator=()

IConv& tinygettext::IConv::operator= ( const IConv )
private

◆ set_charsets()

void tinygettext::IConv::set_charsets ( const std::string &  fromcode,
const std::string &  tocode 
)

Member Data Documentation

◆ cd

iconv_t tinygettext::IConv::cd
private

◆ from_charset

std::string tinygettext::IConv::from_charset
private

◆ to_charset

std::string tinygettext::IConv::to_charset
private

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