class axl::io::win::Mapping

#include <axl_io_win_Mapping.h>

class Mapping: public axl::sl::Handle
{
public:
    // methods

    bool
    create(
        HANDLE hFile,
        SECURITY_ATTRIBUTES* secAttr,
        uint_t pageProtection,
        uint64_t maxSize,
        const sl::StringRef_w& name = NULL
        );

    bool
    open(
        uint_t access,
        bool doInheritHandle,
        const sl::StringRef_w& name
        );
};

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();