Unicorn XML Toolkit
Version 1.00.00

Namespace Unicode
Class CEncodingMap

class CEncodingMap: public CInterface {
public:
    CEncodingMap();
    ~CEncodingMap();
public:
    void Add(const XEncoding &pEncoding);
    XEncoding Find(const CString &strName);
    };

The collection of text encoding objects.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CEncoding
Constructor/Destructor Summary
CEncodingMap ();
����������Constructs the encoding map.
~CEncodingMap ();
����������Destroys the encoding map.

Function Summary
void Add (const XEncoding &pEncoding);
����������Adds the specified encoding to the list of encodings supported by this encoding map.
XEncoding Find (const CString &strName);
����������Looks up the encoding with the specified name in this encoding map.

Constructor/Destructor Detail

CEncodingMap

CEncodingMap();

Constructs the encoding map.

~CEncodingMap

~CEncodingMap();

Destroys the encoding map.

Function Detail

Add

void Add(const XEncoding &pEncoding);

Adds the specified encoding to the list of encodings supported by this encoding map.

Parameters:
pEncoding - the encoding to add

Find

XEncoding Find(const CString &strName);

Looks up the encoding with the specified name in this encoding map.

Parameters:
strName - the name of encoding to look up
Returns:
the encoding with the specified name; NULL if this encoding map does not support the specified encoding

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.