class axl::io::Mapping

#include <axl_io_Mapping.h>

class Mapping
{
public:
    // construction

    Mapping();

    // methods

    operator void *();

    bool
    isOpen();

    void*
    p();

    size_t
    getSize();

    void*
    open(
        File* file,
        uint64_t offset,
        size_t size,
        uint_t flags = 0
        );

    void*
    open(
        File* file,
        uint_t flags = 0
        );

    void*
    open(
        const sl::StringRef& name,
        size_t size,
        uint_t flags = 0
        );

    void
    close();
};