MrSID Decode SDK for LiDAR Reference Manual
1.1.2.4045
Main Page
Classes
Files
File List
File Members
Version.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_VERSION_H__
13
#define __LIDAR_VERSION_H__
14
15
#include "
lidar/IO.h
"
16
17
LT_BEGIN_LIDAR_NAMESPACE
18
22
struct
Version
23
{
34
static
void
getSDKVersion
(
int
&major,
int
&minor,
int
&age,
int
&build)
35
{
36
major =
getSDKMajorVersion
();
37
minor =
getSDKMinorVersion
();
38
age =
getSDKVersionAge
();
39
build =
getSDKBuildNumber
();
40
}
41
45
static
int
getSDKMajorVersion
(
void
);
49
static
int
getSDKMinorVersion
(
void
);
53
static
int
getSDKVersionAge
(
void
);
57
static
int
getSDKBuildNumber
(
void
);
58
66
static
const
char
*
const
getSDKVersionString
(
void
);
74
static
const
char
*
const
getSDKBuildDate
(
void
);
75
87
static
bool
getMrSIDFileVersion
(
const
char
*path,
int
&version,
bool
&raster);
88
#ifdef _WIN32
89
100
static
bool
getMrSIDFileVersion
(
const
wchar_t
*path,
int
&version,
bool
&raster);
101
#endif
102
113
static
bool
getMrSIDFileVersion
(
IO
*io,
int
&version,
bool
&raster);
125
static
bool
getMrSIDFileVersion
(
lt_uint8
header[8],
int
&version,
bool
&raster);
126
};
127
128
LT_END_LIDAR_NAMESPACE
129
130
#endif // __LIDAR_VERSION_H__
LizardTech