class axl::err::ErrorRef

#include <axl_err_Error.h>

class ErrorRef: public axl::rc::BufRef
{
public:
    // typedefs

    typedef rc::BufRef<ErrorHdr, SizeOfError> BaseType;

    // construction

    ErrorRef();
    ErrorRef(const ErrorRef& src);
    ErrorRef(const ErrorHdr* src);
    ErrorRef(uint_t code);
    ErrorRef(const sl::StringRef& string);
    ErrorRef(const char* string);

    ErrorRef(
        const sl::Guid& guid,
        uint_t code
        );

    // methods

    ErrorRef&
    operator=(const ErrorRef& src);

    bool
    isKindOf(
        const sl::Guid& guid,
        uint_t code
        ) const;

    sl::String
    getDescription() const;
};

Inherited Members

public:
    // methods

    operator const T *() const;

    const T*
    operator->() const;

    BufRef&
    operator=(const BufRef& src);

    const T*
    cp() const;

    size_t
    getSize() const;

    BufHdr*
    getHdr() const;

    const T*
    getEnd() const;

    bool
    isEmpty() const;

    void
    release();