class axl::cf::String

#include <axl_cf_String.h>

class String: public axl::cf::TypeBase
{
public:
    // construction

    String();
    String(const String& src);

    String(
        CFStringRef p,
        bool isAttach = false
        );

    String(
        const char* p,
        size_t length = -1
        );

    String(const sl::StringRef& string);

    // methods

    String&
    operator=(const String& src);

    String&
    operator=(CFStringRef p);

    String&
    operator=(const sl::StringRef& string);

    String&
    operator=(const char* p);

    bool
    create(CFStringRef src);

    bool
    create(
        const char* p,
        size_t length = -1
        );

    bool
    create(const sl::StringRef& string);

    size_t
    getLength() const;

    CFComparisonResult
    compare(
        CFStringRef p2,
        CFStringCompareFlags flags = 0
        ) const;

    sl::String
    getString() 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();