class axl::cf::Number

#include <axl_cf_Number.h>

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

    Number();
    Number(const Number& src);

    Number(
        CFNumberRef p,
        bool isAttach = false
        );

    Number(char x);
    Number(short x);
    Number(int x);
    Number(long x);
    Number(long long x);
    Number(float x);
    Number(double x);

    // methods

    Number&
    operator=(const Number& src);

    Number&
    operator=(CFNumberRef p);

    Number&
    operator=(char x);

    Number&
    operator=(short x);

    Number&
    operator=(int x);

    Number&
    operator=(long x);

    Number&
    operator=(long long x);

    Number&
    operator=(float x);

    Number&
    operator=(double x);

    bool
    create(
        CFNumberType type,
        const void* p
        );

    bool
    create(char x);

    bool
    create(short x);

    bool
    create(int x);

    bool
    create(long x);

    bool
    create(long long x);

    bool
    create(float x);

    bool
    create(double x);

    bool
    isFloat() const;

    CFComparisonResult
    compare(CFNumberRef p2) 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();