StrX Class Reference
[Formats Module]

#include <xmlutils.h>

List of all members.


Detailed Description

Simple class that lets us do easy (though not terribly efficient) transcoding of XMLCh data to local code page and back.

Public Member Functions

 StrX (const XMLCh *text)
 StrX (const char *text)
 ~StrX ()
const char * GetLocal () const
const XMLCh * GetUnicode () const
const XMLCh * GetUnicodeLower () const

Private Attributes

char * local_text
 The local code page form of the string.
XMLCh * unicode_text
 The unicode code page form of the string.

Constructor & Destructor Documentation

StrX::StrX ( const XMLCh *  text  )  [inline]

Constructor. Transcodes given text into local form.

Parameters:
text Unicode text.

StrX::StrX ( const char *  text  )  [inline]

Constructor. Transcodes given text into unicode form.

Parameters:
text Text in local form.

StrX::~StrX (  )  [inline]

Destructor. Deletes transcoded text.


Member Function Documentation

const char * StrX::GetLocal (  )  const [inline]

Returns text in local code page form.

const XMLCh * StrX::GetUnicode (  )  const [inline]

Returns text in unicode code page form.

const XMLCh * StrX::GetUnicodeLower (  )  const [inline]

Transform text to lowercase and returns it in unicode code page form.


Member Data Documentation

char* StrX::local_text [private]

The local code page form of the string.

XMLCh* StrX::unicode_text [private]

The unicode code page form of the string.


The documentation for this class was generated from the following file:
Generated on Sat Oct 20 14:47:36 2007 for Dark Oberon by  doxygen 1.5.3