template class axl::cf::DictionaryBase

#include <axl_cf_Dictionary.h>

template <typename T>
class DictionaryBase: public axl::cf::TypeBase
{
public:
    // construction

    DictionaryBase();
    DictionaryBase(const DictionaryBase& src);

    DictionaryBase(
        T p,
        bool isAttach = false
        );

    // methods

    DictionaryBase&
    operator=(const DictionaryBase& src);

    DictionaryBase&
    operator=(T p);

    bool
    clone(CFDictionaryRef src);

    size_t
    getCount() const;

    size_t
    getCountOfKey(const void* key) const;

    size_t
    getCountOfValue(const void* value) const;

    const void*
    getValue(const void* key) const;

    bool
    getValueIfPresent(
        const void* key,
        const void** value
        ) const;

    void
    getKeysAndValues(
        const void** keyArray,
        const void** valueArray
        ) const;

    bool
    getKeysAndValues(
        sl::Array<const void*>* keyArray,
        sl::Array<const void*>* valueArray
        ) const;
};

Inherited Members

public:
    // methods

    operator T() const;

    TypeBase&
    operator=(const TypeBase& src);

    TypeBase&
    operator=(T p);

    bool
    isNull() const;

    T*
    p();

    void
    attach(T p);

    T
    detach();

    void
    clear();

    void
    copy(T p);

    intptr_t
    getRetainCount() const;

    void
    retain();

    void
    release();

    bool
    isEqual(T type) const;

    CFHashCode
    getHash() const;

    CFTypeID
    getTypeId() const;

    sl::String
    getDescription() const;

    sl::String
    getTypeIdDescription() const;

    void
    show() const;

    sl::String
    toString();