gwnavruntime/basesystem/version.h Source File

version.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
11 
12 
13 namespace Kaim
14 {
15 
17 class Version
18 {
19 public:
20  static const char* GetVersionName(); // Major.Minor.Patch[-Specific]
21  static const char* GetVersionBuild(); // Platform BuildMode AutodeskBuild|ClientBuild
22  static const char* GetFullVersion(); //< Concatenate GetVersionName() and GetVersionBuild()
23  static const char* GetBuildDate();
24 
25  static KyUInt32 GetMajorVersion();
26  static KyUInt32 GetMinorVersion();
27  static KyUInt32 GetPatchVersion();
28  static const char* GetSpecificVersion();
29 
30  static bool IsAutodeskBuild();
31 
32  static bool GetFromFullVersionString(Version& version, const char* fullVersionString);
33 
34 public:
35  Version();
36 
37 private:
38  void Invalidate();
39 
40 public:
41  KyUInt32 m_majorVersion;
42  KyUInt32 m_minorVersion;
43  KyUInt32 m_patchVersion;
44  String m_specificVersion;
45  String m_platform;
46  String m_buildMode;
47  bool m_isAutodeskBuild;
48 };
49 
50 }
51 
52 
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
This class provides information about Autodesk Navigation version.
Definition: version.h:17
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17