ufe  4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
VerInfo.h
Go to the documentation of this file.
1 #line 1 "W:/build/RelWithDebInfo/gitmodules/peptide/src/versioning/VerInfo.h"
2 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/gitmodules/peptide/src/versioning/VerInfo_src.h"
3 //*****************************************************************************
4 // Copyright (c) 2022 Autodesk, Inc.
5 // All rights reserved.
6 //
7 // These coded instructions, statements, and computer programs contain
8 // unpublished proprietary information written by Autodesk, Inc. and are
9 // protected by Federal copyright law. They may not be disclosed to third
10 // parties or copied or duplicated in any form, in whole or in part, without
11 // the prior written consent of Autodesk, Inc.
12 //*****************************************************************************
13 
17 
18 #ifndef PEPTIDE_VER_VERSION_INFO_H
19 #define PEPTIDE_VER_VERSION_INFO_H
20 
21 //==============================================================================
22 // EXTERNAL DECLARATIONS
23 //==============================================================================
24 
25 #include <string>
26 
27 #ifndef PEPTIDE_USE_FOUR_FIELD_VERSION
28 #define PEPTIDE_USE_FOUR_FIELD_VERSION 0
29 #endif
30 
31 namespace Peptide {
32 
33 //==============================================================================
34 // CLASS DECLARATIONS
35 //==============================================================================
36 
37 //==============================================================================
38 // CLASS VersionInfo
39 //==============================================================================
40 
42 class VersionInfo {
43 public:
48  // Jan 2015 : (major,minor) = (1,0)
49  kInitial = 100,
50  //
52  };
53 
54  /*----- static member functions -----*/
55 
62 #if PEPTIDE_USE_FOUR_FIELD_VERSION
63  static int getArchVersion();
64 #endif
65  static int getMajorVersion();
66  static int getMinorVersion();
67  static int getPatchLevel();
69 
73  static std::string getVersionID();
74 
84  static std::string getVersionInfo();
85 
89  static std::string getLibSuffix();
90 
96  static int getFileFormatVersionID();
97 
98 private:
99  /*----- member functions -----*/
100 
104  VersionInfo() = delete;
105 };
106 
107 } // namespace Peptide
108 
109 #endif
static std::string getVersionID()
Returns a short version identifier.
std::string string(const Path &path)
VersionInfo()=delete
Prohibited and not implemented.
static int getMajorVersion()
Returns the components of the product version number.
static int getPatchLevel()
Returns the components of the product version number.
FileFormatVersionNumbers
Enum that tracks our file format version numbers.
Definition: VerInfo.h:47
static int getMinorVersion()
Returns the components of the product version number.
static int getFileFormatVersionID()
Returns the file version number.
static std::string getVersionInfo()
Returns detailed information about the version of the product.
Information about the version of the product.
Definition: VerInfo.h:42
static std::string getLibSuffix()
Returns the version suffix of the libraries.