Main Page
Namespaces
Classes
Files
File List
File Members
include
ensenso_camera
nxLibVersionInfo.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "nxLib.h"
4
5
struct
VersionInfo
{
6
int
majorV
;
7
int
minorV
;
8
int
buildV
;
9
};
10
11
inline
VersionInfo
getCurrentNxLibVersion
(){
12
VersionInfo
info;
13
NxLibItem item;
14
NxLibItem
const
& nxLibV = item[itmVersion][itmNxLib];
15
16
info.
majorV
= nxLibV[itmMajor].asInt();
17
info.
minorV
= nxLibV[itmMinor].asInt();
18
info.
buildV
= nxLibV[itmBuild].asInt();
19
20
return
info;
21
}
VersionInfo::buildV
int buildV
Definition:
nxLibVersionInfo.h:8
VersionInfo
Definition:
nxLibVersionInfo.h:5
getCurrentNxLibVersion
VersionInfo getCurrentNxLibVersion()
Definition:
nxLibVersionInfo.h:11
VersionInfo::minorV
int minorV
Definition:
nxLibVersionInfo.h:7
VersionInfo::majorV
int majorV
Definition:
nxLibVersionInfo.h:6
ensenso_camera
Author(s): Ensenso
autogenerated on Thu May 6 2021 02:50:06