Wolframe, 0.0.3

string.hpp File Reference

Type for strings in various encodings. More...

#include <cstdlib>
#include <string>
#include <stdexcept>
#include <boost/shared_ptr.hpp>

Go to the source code of this file.

Classes

class  _Wolframe::types::String
 Type for representing strings in various encodings. More...
 
class  _Wolframe::types::String::EncodingAttrib
 Attributes describing an encoding completely. More...
 
class  _Wolframe::types::String::EncodingClass
 Structure namespace for the enumeration of supported encoding classes. More...
 
class  _Wolframe::types::StringConst
 Constant string that is not owned by the structure (caller has ownership) More...
 

Namespaces

 _Wolframe
 Toplevel Wolframe namespace.
 
 _Wolframe::types
 Basic data types (implemented in the core library libwolframe)
 

Detailed Description

Type for strings in various encodings.

Remarks
You have to build Wolframe with the flag WITH_TEXTWOLF=1 to make the types::String work with all encodings and code pages listed in the interface. Without this flag set UTF-8 will be accepted only as Ascii and UTF16BE (wchat_t) only with Ascii and Latin-1 characters. Other character set conversions are not available in this module.