MrSID Decode SDK for LiDAR Reference Manual 1.1.4.4709

- 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 #ifdef SWIG
101 static bool getMrSIDFileVersion(const wchar_t *path, int &version, bool &raster);
102 #else
103 static bool getMrSIDFileVersion(const unsigned short *path, int &version, bool &raster);
104 static bool getMrSIDFileVersion(const __wchar_t *path, int &version, bool &raster);
105 #endif
106 #endif
107
118 static bool getMrSIDFileVersion(IO *io, int &version, bool &raster);
130 static bool getMrSIDFileVersion(lt_uint8 header[8], int &version, bool &raster);
131 };
132
133 LT_END_LIDAR_NAMESPACE
134
135 #endif // __LIDAR_VERSION_H__

LizardTech