Unicorn XML Toolkit
Version 1.50.00

Namespace Unicode
Class CEncodingMap

class CEncodingMap: public CInterface {
public:
    CEncodingMap();
    ~CEncodingMap();
public:
    void Add(CEncoding *pEncoding);
    CEncoding *Find(const WCHAR *pszName);
    };
typedef XInterface<CEncodingMap> XEncodingMap;

The collection of text encoding objects.

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

Function Summary
void Add (CEncoding *pEncoding);
����������Adds the specified encoding to the list of encodings supported by this encoding map.
CEncoding�* Find (const WCHAR *pszName);
����������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(CEncoding *pEncoding);

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

Parameters:
pEncoding - the encoding to add

Find

CEncoding *Find(const WCHAR *pszName);

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

Parameters:
pszName - 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.50.00


This document was created using Unicorn DOC++.

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