struct CCL::IStringDictionary

Overview

Unicode string dictionary interface. More…

#include <istringdict.h>

struct IStringDictionary: public CCL::IStringDictionaryT
{
    // methods

    virtual void CCL_API copyFrom (const IStringDictionary& dictionary) = 0;
    virtual void CCL_API convertTo (ICStringDictionary& dst, TextEncoding encoding) const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;
    virtual tbool CCL_API isCaseSensitive () const = 0;
    virtual void CCL_API setCaseSensitive (tbool state) = 0;
    virtual int CCL_API countEntries () const = 0;
    virtual StringRefType CCL_API getKeyAt (int index) const = 0;
    virtual StringRefType CCL_API getValueAt (int index) const = 0;
    virtual StringRefType CCL_API lookupValue (StringRefType key) const = 0;
    virtual void CCL_API setEntry (StringRefType key, StringRefType value) = 0;
    virtual void CCL_API appendEntry (StringRefType key, StringRefType value) = 0;
    virtual void CCL_API removeEntry (StringRefType key) = 0;
    virtual void CCL_API removeAll () = 0;

Detailed Documentation

Unicode string dictionary interface.

Methods

virtual void CCL_API copyFrom (const IStringDictionary& dictionary) = 0

Copy all entries from other dictionary.

virtual void CCL_API convertTo (ICStringDictionary& dst, TextEncoding encoding) const = 0

Convert to C-string dictionary with given text encoding.