MrSID Decode SDK for LiDAR Reference Manual  1.1.3.4427
Version Struct Reference

Functions for geting the SDK version and MrSID file version.

#include <Version.h>

List of all members.

Static Public Member Functions

static void getSDKVersion (int &major, int &minor, int &age, int &build)
 Get the SDK Version.
static int getSDKMajorVersion (void)
 Get the SDK's Major Version.
static int getSDKMinorVersion (void)
 Get the SDK's Minor Version.
static int getSDKVersionAge (void)
 Get the SDK's Version Age.
static int getSDKBuildNumber (void)
 Get the SDK's Build Number.
static const char *const getSDKVersionString (void)
 Get the SDK Version String.
static const char *const getSDKBuildDate (void)
 Get when the SDK was built.
static bool getMrSIDFileVersion (const char *path, int &version, bool &raster)
 Get the MrSID file version.
static bool getMrSIDFileVersion (IO *io, int &version, bool &raster)
 Get the MrSID file version.
static bool getMrSIDFileVersion (lt_uint8 header[8], int &version, bool &raster)
 Get the MrSID file version.

Detailed Description

Definition at line 22 of file Version.h.


Member Function Documentation

static bool Version::getMrSIDFileVersion ( const char *  path,
int &  version,
bool &  raster 
) [static]

This function gets the MrSID version of the given file.

Parameters:
paththe input filename
versiongets set to the file's version number
rastergets set to true for Raster-based MrSID files and false for LiDAR-based MrSID files
Returns:
true when the file is a MrSID file
static bool Version::getMrSIDFileVersion ( IO io,
int &  version,
bool &  raster 
) [static]

This function gets the MrSID version of the given IO object.

Parameters:
iothe source IO object
versiongets set to the file's version number
rastergets set to true for Raster-based MrSID files and false for LiDAR-based MrSID files
Returns:
true when the file is a MrSID file
static bool Version::getMrSIDFileVersion ( lt_uint8  header[8],
int &  version,
bool &  raster 
) [static]

This function gets the MrSID version of the given file header.

Parameters:
headerthe file's first 8 bytes
versiongets set to the file's version number
rastergets set to true for Raster-based MrSID files and false for LiDAR-based MrSID files
Returns:
true when the file is a MrSID file
static const char* const Version::getSDKBuildDate ( void  ) [static]

This function returns when the SDK was built.

Returns:
a date string
static int Version::getSDKBuildNumber ( void  ) [static]

Referenced by getSDKVersion().

static int Version::getSDKMajorVersion ( void  ) [static]

Referenced by getSDKVersion().

static int Version::getSDKMinorVersion ( void  ) [static]

Referenced by getSDKVersion().

static void Version::getSDKVersion ( int &  major,
int &  minor,
int &  age,
int &  build 
) [inline, static]

This function gets the SDK version.

Parameters:
majorthe Major version number
minorthe Minor version number
agethe Age version value
buildthe build number

Definition at line 34 of file Version.h.

References getSDKBuildNumber(), getSDKMajorVersion(), getSDKMinorVersion(), and getSDKVersionAge().

static int Version::getSDKVersionAge ( void  ) [static]

Referenced by getSDKVersion().

static const char* const Version::getSDKVersionString ( void  ) [static]

This function returns the SDK version as a printable string.

Returns:
the version string

The documentation for this struct was generated from the following file: