![]() |
VRS
A file format for sensor data.
|
Public Member Functions | |
AsyncDiskFileChunk (std::string path, int64_t offset, int64_t size) | |
AsyncDiskFileChunk (AsyncDiskFileChunk &&other) noexcept | |
AsyncDiskFileChunk (const AsyncDiskFileChunk &other) noexcept=delete | |
AsyncDiskFileChunk & | operator= (const AsyncDiskFileChunk &other) noexcept=delete |
AsyncDiskFileChunk & | operator= (AsyncDiskFileChunk &&rhs) noexcept=delete |
int | create (const std::string &newpath, const std::map< std::string, std::string > &options) |
int | open (bool readOnly, const std::map< std::string, std::string > &options) |
int | close () |
int | rewind () |
bool | eof () const |
bool | isOpened () |
int | write (const void *buffer, size_t count, size_t &outWrittenSize) |
void | setSize (int64_t newSize) |
int | flush () |
int | truncate (int64_t newSize) |
int | read (void *buffer, size_t count, size_t &outReadSize) |
int64_t | getSize () const |
bool | contains (int64_t fileOffset) const |
int | tell (int64_t &outFilepos) const |
int | seek (int64_t pos, int origin) |
const std::string & | getPath () const |
void | setOffset (int64_t newOffset) |
int64_t | getOffset () const |