Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

LossyConvertEncoding< FromCharT, ToCharT > Class Template Reference

#include <nsUTF8Utils.h>

List of all members.


Detailed Description

template<class FromCharT, class ToCharT>
class LossyConvertEncoding< FromCharT, ToCharT >

A character sink that performs a |reinterpret_cast| style conversion between character types.

Definition at line 430 of file nsUTF8Utils.h.


Public Types

typedef FromCharT input_type
typedef ToCharT output_type
typedef nsCharTraits
< FromCharT >
::unsigned_char_type 
unsigned_input_type
typedef FromCharT value_type

Public Member Functions

 LossyConvertEncoding (output_type *aDestination)
PRUint32 write (const input_type *aSource, PRUint32 aSourceLength)
void write_terminator ()

Private Attributes

output_type * mDestination

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

Generated by  Doxygen 1.6.0   Back to index