textwolf  0.2
Public Types | Public Member Functions | Static Public Member Functions | List of all members
textwolf::charset::IsoLatin Class Reference

Character set IsoLatin-1,..IsoLatin-9 (ISO-8859-1,...ISO-8859-9) More...

#include <charset_isolatin.hpp>

Inheritance diagram for textwolf::charset::IsoLatin:
textwolf::charset::IsoLatinCodePage textwolf::throws_exception

Public Types

enum  { MaxChar =0xFFU }
 
- Public Types inherited from textwolf::throws_exception
enum  Cause {
  Unknown, DimOutOfRange, StateNumbersNotAscending, InvalidParamState,
  InvalidParamChar, DuplicateStateTransition, InvalidState, IllegalParam,
  IllegalAttributeName, OutOfMem, ArrayBoundsReadWrite, NotAllowedOperation,
  FileReadError, IllegalXmlHeader, InvalidTagOffset, CorruptTagStack,
  CodePageIndexNotSupported
}
 Enumeration of error cases. More...
 

Public Member Functions

 IsoLatin (const IsoLatin &o)
 
 IsoLatin (unsigned int codePageIdx=1)
 
template<class Iterator >
UChar value (char *buf, unsigned int &bufpos, Iterator &itr) const
 See template<class Iterator>Interface::value(char*,unsigned int&,Iterator&) More...
 
template<class Buffer_ >
void print (UChar chr, Buffer_ &buf) const
 See template<class Buffer>Interface::print(UChar,Buffer&) More...
 
- Public Member Functions inherited from textwolf::charset::IsoLatinCodePage
 IsoLatinCodePage (const IsoLatinCodePage &o)
 Copy constructor. More...
 
 IsoLatinCodePage (unsigned int idx)
 Constructor. More...
 
UChar ucharcode (char ch) const
 Get the unicode character representation of the character ch in this codepage. More...
 
char invcode (UChar ch) const
 Get the character representation of a unicode character in this codepage. More...
 

Static Public Member Functions

template<class Iterator >
static void skip (char *, unsigned int &bufpos, Iterator &itr)
 See template<class Iterator>Interface::skip(char*,unsigned int&,Iterator&) More...
 
template<class Iterator >
static void fetchbytes (char *buf, unsigned int &bufpos, Iterator &itr)
 See template<class Iterator>Interface::fetchbytes(char*,unsigned int&,Iterator&) More...
 
template<class Iterator >
static signed char asciichar (char *buf, unsigned int &bufpos, Iterator &itr)
 See template<class Iterator>Interface::asciichar(char*,unsigned int&,Iterator&) More...
 
static bool is_equal (const IsoLatin &a, const IsoLatin &b)
 See template<class Buffer>Interface::is_equal( const Interface&, const Interface&) More...
 
- Static Public Member Functions inherited from textwolf::charset::IsoLatinCodePage
static bool is_equal (const IsoLatinCodePage &a, const IsoLatinCodePage &b)
 Evaluate if two code pages are equal. More...
 

Detailed Description

Character set IsoLatin-1,..IsoLatin-9 (ISO-8859-1,...ISO-8859-9)

Member Enumeration Documentation

anonymous enum
Enumerator
MaxChar 

Constructor & Destructor Documentation

textwolf::charset::IsoLatin::IsoLatin ( const IsoLatin o)
inline
textwolf::charset::IsoLatin::IsoLatin ( unsigned int  codePageIdx = 1)
inline

Member Function Documentation

template<class Iterator >
static signed char textwolf::charset::IsoLatin::asciichar ( char *  buf,
unsigned int &  bufpos,
Iterator &  itr 
)
inlinestatic
template<class Iterator >
static void textwolf::charset::IsoLatin::fetchbytes ( char *  buf,
unsigned int &  bufpos,
Iterator &  itr 
)
inlinestatic
static bool textwolf::charset::IsoLatin::is_equal ( const IsoLatin a,
const IsoLatin b 
)
inlinestatic
template<class Buffer_ >
void textwolf::charset::IsoLatin::print ( UChar  chr,
Buffer_ &  buf 
) const
inline

See template<class Buffer>Interface::print(UChar,Buffer&)

template<class Iterator >
static void textwolf::charset::IsoLatin::skip ( char *  ,
unsigned int &  bufpos,
Iterator &  itr 
)
inlinestatic
template<class Iterator >
UChar textwolf::charset::IsoLatin::value ( char *  buf,
unsigned int &  bufpos,
Iterator &  itr 
) const
inline

See template<class Iterator>Interface::value(char*,unsigned int&,Iterator&)


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