|
VRS
A file format for sensor data.
|
Public Member Functions | |
| DiskFileChunk (string path, int64_t offset, int64_t size) | |
| DiskFileChunk (const DiskFileChunk &other)=delete | |
| DiskFileChunk (DiskFileChunk &&other) noexcept | |
| DiskFileChunk & | operator= (const DiskFileChunk &other)=delete |
| DiskFileChunk & | operator= (DiskFileChunk &&other)=delete |
| int | create (const string &newPath, MAYBE_UNUSED const map< string, string > &options) |
| int | open (bool readOnly, MAYBE_UNUSED const map< string, string > &options) |
| bool | isOpened () const |
| void | rewind () const |
| int | flush () |
| int | tell (int64_t &outFilepos) const |
| int | seek (int64_t pos, int origin) |
| int | read (void *ptr, size_t bufferSize, size_t &outReadSize) const |
| int | write (const void *data, size_t dataSize, size_t &outWrittenSize) const |
| int | truncate (int64_t newSize) |
| int | close () |
| bool | eof () const |
| int64_t | getOffset () const |
| void | setOffset (int64_t newOffset) |
| int64_t | getSize () const |
| void | setSize (int64_t newSize) |
| const string & | getPath () const |
| bool | contains (int64_t fileOffset) const |