12 #ifndef __LIDAR_FILE_IO_H__
13 #define __LIDAR_FILE_IO_H__
17 LT_BEGIN_LIDAR_NAMESPACE
50 void init(
const char *path,
const char *mode);
68 void init(
const wchar_t *path,
const char *mode);
80 void init(
const char *tempdir);
91 void init(
const wchar_t *tempdir);
118 LT_END_LIDAR_NAMESPACE
119 #endif // __LIDAR_FILE_IO_H__
static void deleteFile(const char *path)
Delete a file.
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.