Data structure representing a customized FileStream that can be passed in.
Data Fields | |
void(* | close )(dwCustomizedFileHandle hnd) |
Function pointer: Close the file stream. More... | |
bool(* | eof )(dwCustomizedFileHandle hnd) |
Function pointer: Check if the end of file flag is set for the file stream. More... | |
bool(* | error )(dwCustomizedFileHandle hnd) |
Function pointer: Check if any I/O error occurred during OPEN/RD/WR operations. More... | |
void(* | flush )(dwCustomizedFileHandle hnd) |
Function pointer: Synchronizes the file stream, waiting that all requested bytes have been read. More... | |
size_t(* | getPosition )(dwCustomizedFileHandle hnd) |
Function pointer: Returns the current position inside the file stream. More... | |
bool(* | getString )(dwCustomizedFileHandle hnd, char8_t *ptr, size_t size) |
Function pointer: Read a string from the file stream. More... | |
dwCustomizedFileHandle(* | open )(const char8_t *ptr1, const char8_t *ptr2) |
Function pointer: Open the file stream and returns the handle to the file. More... | |
size_t(* | read )(dwCustomizedFileHandle hnd, void *ptr, size_t size) |
Function pointer: Read raw data from the file stream and return the number of bytes read. More... | |
void(* | setPosition )(dwCustomizedFileHandle hnd, size_t size) |
Function pointer: Set the desired position inside the file stream. More... | |
size_t(* | size )(dwCustomizedFileHandle hnd) |
Function pointer: Returns the total number of bytes in the file stream. More... | |
size_t(* | write )(dwCustomizedFileHandle hnd, const void *ptr, size_t size) |
Function pointer: Write raw data to the file stream from an input buffer and return the number of bytes written. More... | |
void(* dwCustomizedFileFunctions::close) (dwCustomizedFileHandle hnd) |
bool(* dwCustomizedFileFunctions::eof) (dwCustomizedFileHandle hnd) |
bool(* dwCustomizedFileFunctions::error) (dwCustomizedFileHandle hnd) |
void(* dwCustomizedFileFunctions::flush) (dwCustomizedFileHandle hnd) |
size_t(* dwCustomizedFileFunctions::getPosition) (dwCustomizedFileHandle hnd) |
bool(* dwCustomizedFileFunctions::getString) (dwCustomizedFileHandle hnd, char8_t *ptr, size_t size) |
dwCustomizedFileHandle(* dwCustomizedFileFunctions::open) (const char8_t *ptr1, const char8_t *ptr2) |
size_t(* dwCustomizedFileFunctions::read) (dwCustomizedFileHandle hnd, void *ptr, size_t size) |
void(* dwCustomizedFileFunctions::setPosition) (dwCustomizedFileHandle hnd, size_t size) |
size_t(* dwCustomizedFileFunctions::size) (dwCustomizedFileHandle hnd) |
size_t(* dwCustomizedFileFunctions::write) (dwCustomizedFileHandle hnd, const void *ptr, size_t size) |