12 #ifndef __LIDAR_FILE_IO_H__
13 #define __LIDAR_FILE_IO_H__
18 LT_BEGIN_LIDAR_NAMESPACE
51 void init(
const char *path,
const char *mode);
69 void init(
const wchar_t *path,
const char *mode);
81 void init(
const char *tempdir);
92 void init(
const wchar_t *tempdir);
121 LT_END_LIDAR_NAMESPACE
122 #endif // __LIDAR_FILE_IO_H__
static void deleteFile(const char *path)
Delete a file.
Mutex is a cross platform wrapper for mutexes.
static bool fileExists(const char *path)
Test if the file exists.
IO is the base class for binary input and output.
void unlink(void)
Delete the resource when the IO object is deleted.
void init(const char *path, const char *mode)
Initialize with the file path and access mode.
FileIO implements file-based IO.