|
Everett
|
#include <file.h>
Public Types | |
| using | policy_type = P |
Public Member Functions | |
| file_header< P > | header () const |
| mapped_slice | body () const |
| void | scan () const |
Static Public Member Functions | |
| static file | from_slice (mapped_slice bytes, file_open_mode mode=file_open_mode::checked) |
| static file | open (std::filesystem::path const &path, file_open_mode mode=file_open_mode::checked) |
Private Member Functions | |
| file (mapped_slice bytes, std::optional< file_header< P > > header) | |
Static Private Member Functions | |
| static file_header< P > | checked_header (mapped_slice const &bytes) |
Private Attributes | |
| mapped_slice | bytes_ |
| std::optional< file_header< P > > | header_ |
| using everett::file< P >::policy_type = P |
|
inlineprivate |
|
inline |
|
inlinestaticprivate |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
private |
|
private |