MrSID Decode SDK for LiDAR Reference Manual
1.1.2.4045
Main Page
Classes
Files
File List
File Members
FileIO.h
Go to the documentation of this file.
1
/* //////////////////////////////////////////////////////////////////////////
2
// //
3
// This code is Copyright (c) 2008-2010 LizardTech, Inc, 1008 Western //
4
// Avenue, Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
5
// prohibited. Access to and use of this code is permitted only under //
6
// license from LizardTech, Inc. Portions of the code are protected by //
7
// US and foreign patents and other filings. All Rights Reserved. //
8
// //
10
/* PUBLIC */
11
12
#ifndef __LIDAR_FILE_IO_H__
13
#define __LIDAR_FILE_IO_H__
14
15
#include "
lidar/IO.h
"
16
17
LT_BEGIN_LIDAR_NAMESPACE
18
29
class
FileIO
:
public
IO
30
{
31
CONCRETE_OBJECT(
FileIO
);
32
public
:
33
50
void
init
(
const
char
*path,
const
char
*mode);
51
#ifdef _WIN32
52
68
void
init
(
const
wchar_t
*path,
const
char
*mode);
69
#endif
70
80
void
init
(
const
char
*tempdir);
81
#ifdef _WIN32
82
91
void
init
(
const
wchar_t
*tempdir);
92
#endif
93
94
void
unlink
(
void
);
95
103
static
void
deleteFile
(
const
char
*path);
111
static
bool
fileExists
(
const
char
*path);
112
113
protected
:
114
class
Imp;
115
bool
m_unlinkFile
;
116
};
117
118
LT_END_LIDAR_NAMESPACE
119
#endif // __LIDAR_FILE_IO_H__
LizardTech