WSF
WsfVersion.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFVERSION_HPP
13#define WSFVERSION_HPP
14
15#include "wsf_version_defines.hpp"
16
18namespace wsf
19{
20namespace version
21{
23constexpr int GetMajorVersion()
24{
25 return WSF_VERSION_MAJOR;
26}
27
29constexpr int GetMinorVersion()
30{
31 return WSF_VERSION_MINOR;
32}
33
35constexpr int GetPatchVersion()
36{
37 return WSF_VERSION_PATCH;
38}
39
41constexpr const char* GetString()
42{
43 return WSF_VERSION;
44}
45
47constexpr const char* GetReleaseString()
48{
49 return WSF_RELEASE_VERSION;
50};
51} // namespace version
52}; // namespace wsf
53
54#endif
Definition WsfVersion.hpp:21
constexpr const char * GetReleaseString()
Return the release version of the library as a string.
Definition WsfVersion.hpp:47
constexpr int GetMinorVersion()
Return the minor version of the library.
Definition WsfVersion.hpp:29
constexpr int GetMajorVersion()
Return the major version of the library.
Definition WsfVersion.hpp:23
constexpr const char * GetString()
Return the version of the library as a string.
Definition WsfVersion.hpp:41
constexpr int GetPatchVersion()
Return the patch version of the library.
Definition WsfVersion.hpp:35
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved