ufe  2.0
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 "S:/jenkins/workspace/ufe-full-windows/ufe/gitmodules/peptide/src/versioning/VerInfo.h"
2 //*****************************************************************************
3 // Copyright (c) 2020 Autodesk, Inc.
4 // All rights reserved.
5 //
6 // These coded instructions, statements, and computer programs contain
7 // unpublished proprietary information written by Autodesk, Inc. and are
8 // protected by Federal copyright law. They may not be disclosed to third
9 // parties or copied or duplicated in any form, in whole or in part, without
10 // the prior written consent of Autodesk, Inc.
11 //*****************************************************************************
12 
16 
17 #ifndef PEPTIDE_VER_VERSION_INFO_H
18 #define PEPTIDE_VER_VERSION_INFO_H
19 
20 //==============================================================================
21 // EXTERNAL DECLARATIONS
22 //==============================================================================
23 
24 #include <string>
25 
26 namespace Peptide {
27 
28 //==============================================================================
29 // CLASS DECLARATIONS
30 //==============================================================================
31 
32 //==============================================================================
33 // CLASS VersionInfo
34 //==============================================================================
35 
37 class VersionInfo {
38 public:
43  // Jan 2015 : (major,minor) = (1,0)
44  kInitial = 100,
45  //
47  };
48 
49  /*----- static member functions -----*/
50 
56  static int getMajorVersion();
57  static int getMinorVersion();
58  static int getPatchLevel();
60 
64  static std::string getVersionID();
65 
75  static std::string getVersionInfo();
76 
80  static std::string getLibSuffix();
81 
87  static int getFileFormatVersionID();
88 
89 private:
90  /*----- member functions -----*/
91 
95  VersionInfo() = delete;
96 };
97 
98 } // namespace Peptide
99 
100 #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:42
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:37
static std::string getLibSuffix()
Returns the version suffix of the libraries.