class axl::sys::win::Bstr

#include <axl_sys_win_Bstr.h>

class Bstr: public axl::sl::Handle
{
public:
    // construction

    Bstr();
    Bstr(const Bstr& src);
    Bstr(const sl::StringRef& string);
    Bstr(const sl::StringRef_w& string);

    // methods

    Bstr&
    operator=(const Bstr& src);

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

    Bstr&
    operator=(const sl::StringRef_w& string);

    size_t
    getLength() const;

    size_t
    getByteLength() const;

    bool
    copy(
        BSTR p,
        size_t length
        );

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

    bool
    copy(const sl::StringRef_w& string);
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();