|
The Pedigree Project 0.1
|
#include <DiskView.h>
Collaboration diagram for DiskReadView:Public Member Functions | |
| DiskReadView (DiskReadView &&other) noexcept | |
| DiskReadView & | operator= (DiskReadView &&other) noexcept |
| DiskReadView (const DiskReadView &)=delete | |
| DiskReadView & | operator= (const DiskReadView &)=delete |
| operator bool () const | |
| const void * | data () const |
| size_t | size () const |
| bool | truncate (size_t length) |
| bool | copyTo (void *destination, size_t length, size_t offset=0) const |
| template<typename T > | |
| bool | readAt (T &into, size_t offset=0) const |
| void | reset () |
Static Public Member Functions | |
| static DiskReadView | borrowed (const void *data, size_t size) |
Private Member Functions | |
| DiskReadView (Disk *owner, uint64_t location, BufferView view, bool writable, DiskUse &&use) | |
Private Attributes | |
| Disk * | m_Owner |
| uint64_t | m_Location |
| const uint8_t * | m_Data |
| size_t | m_Size |
| bool | m_Writable |
| DiskUse | m_Use |
Friends | |
| class | Disk |
| class | DiskWriteView |
Owns a cache reference. Pointers obtained from a view expire with the view. Callers retain their enclosing I/O termination scope across blocking operations.
Definition at line 15 of file DiskView.h.
|
noexcept |
|
private |
|
static |
|
inline |
Definition at line 42 of file DiskView.h.
|
inline |
Definition at line 30 of file DiskView.h.
|
inlineexplicit |
Definition at line 27 of file DiskView.h.
|
noexcept |
|
inline |
Definition at line 50 of file DiskView.h.
|
inline |
Definition at line 33 of file DiskView.h.
|
inline |
Definition at line 36 of file DiskView.h.
|
friend |
Definition at line 61 of file DiskView.h.
|
friend |
Definition at line 62 of file DiskView.h.
|
private |
Definition at line 67 of file DiskView.h.
|
private |
Definition at line 66 of file DiskView.h.
|
private |
Definition at line 65 of file DiskView.h.
|
private |
Definition at line 68 of file DiskView.h.
|
private |
Definition at line 70 of file DiskView.h.
|
private |
Definition at line 69 of file DiskView.h.