class axl::rc::RefCount

#include <axl_rc_RefCount.h>

class RefCount
{
public:
    // construction

    RefCount();
    virtual
    ~RefCount();

    // methods

    void
    prime(
        RefCount* parent,
        uint_t flags = 0
        );

    size_t
    getRefCount();

    size_t
    getWeakRefCount();

    uint_t
    getRefCountFlags();

    size_t
    addRef();

    size_t
    release();

    size_t
    addWeakRef();

    size_t
    weakRelease();

    size_t
    addRefByWeakPtr();
};