8#ifndef __LIDAR_FILE_IO_H__
9#define __LIDAR_FILE_IO_H__
14LT_BEGIN_LIDAR_NAMESPACE
47 void init(
const char *path,
const char *mode);
66 void init(
const wchar_t *path,
const char *mode);
68 void init(
const unsigned short *path,
const char *mode);
69 void init(
const __wchar_t *path,
const char *mode);
82 void init(
const char *tempdir);
94 void init(
const wchar_t *tempdir);
96 void init(
const unsigned short *tempdir);
97 void init(
const __wchar_t *tempdir);
127LT_END_LIDAR_NAMESPACE
#define CONCRETE_OBJECT(classname)
CONCRETE_OBJECT(): should be used when deriving classes that are concrete.
FileIO implements file-based IO.
static bool fileExists(const char *path)
Test if the file exists.
void init(const char *path, const char *mode)
Initialize with the file path and access mode.
void unlink(void)
Delete the resource when the IO object is deleted.
static void deleteFile(const char *path)
Delete a file.
void init(const char *tempdir)
Create a temporary file for readeing and writing.
IO is the base class for binary input and output.
Mutex is a cross platform wrapper for mutexes.