1#line 1 "W:/build/RelWithDebInfo/gitmodules/peptide/src/versioning/VerFormat.h"
2#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/gitmodules/peptide/src/versioning/VerFormat_src.h"
19#ifndef PEPTIDE_VER_VERSION_FORMAT_H
20#define PEPTIDE_VER_VERSION_FORMAT_H
29#ifndef PEPTIDE_USE_FOUR_FIELD_VERSION
30#define PEPTIDE_USE_FOUR_FIELD_VERSION 0
52#if PEPTIDE_USE_FOUR_FIELD_VERSION
65template <
class VersionTrait>
70#if PEPTIDE_USE_FOUR_FIELD_VERSION
75 std::ostringstream builder;
76 builder << VersionTrait::getArchVersion() <<
"."
77 << VersionTrait::getMajorVersion() <<
"."
78 << VersionTrait::getMinorVersion() <<
"."
79 << VersionTrait::getPatchLevel();
87 std::ostringstream builder;
88 builder << VersionTrait::getMajorVersion() <<
"."
89 << VersionTrait::getMinorVersion() <<
"."
90 << VersionTrait::getPatchLevel();
107 std::ostringstream builder;
108 builder << VersionTrait::getProductName() <<
" version "
109 <<
getVersionID() <<
" (" << VersionTrait::getBuildDate()
110 <<
", build " << VersionTrait::getBuildNumber() <<
", commit "
112 <<
std::string(VersionTrait::getGitCommit()).substr(0, 7)
113 <<
", branch " << VersionTrait::getGitBranch() <<
")";
114 return builder.str();
std::string string(const Path &path)