A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/group__Version.html below:

NCBI C++ ToolKit: Versioning

#define  NCBI_BUILD_TIME   __DATE__ " " __TIME__   #define  NCBI_BUILD_TAG_PROXY   ""   #define  NCBI_TEAMCITY_PROJECT_NAME_SBUILDINFO    .Extra(SBuildInfo::eTeamCityProjectName, NCBI_TEAMCITY_PROJECT_NAME_PROXY)   #define  NCBI_TEAMCITY_BUILDCONF_NAME_SBUILDINFO    .Extra(SBuildInfo::eTeamCityBuildConf, NCBI_TEAMCITY_BUILDCONF_NAME_PROXY)   #define  NCBI_TEAMCITY_BUILD_NUMBER_SBUILDINFO    .Extra(SBuildInfo::eTeamCityBuildNumber, NCBI_TEAMCITY_BUILD_NUMBER_PROXY)   #define  NCBI_SUBVERSION_REVISION_SBUILDINFO    .Extra(SBuildInfo::eSubversionRevision, NCBI_SUBVERSION_REVISION_PROXY)   #define  NCBI_SC_VERSION_SBUILDINFO    .Extra(SBuildInfo::eStableComponentsVersion, NCBI_SC_VERSION_PROXY)   #define  NCBI_SRCTREE_VER_SBUILDINFO   /* empty */   #define  NCBI_BUILT_AS_SBUILDINFO   /* empty */   #define  NCBI_BUILD_ID_SBUILDINFO   /* empty */   #define  NCBI_SBUILDINFO_DEFAULT_IMPL()   #define  NCBI_SBUILDINFO_DEFAULT()   NCBI_SBUILDINFO_DEFAULT_IMPL()   #define  NCBI_APP_SBUILDINFO_DEFAULT()   NCBI_SBUILDINFO_DEFAULT_IMPL()   #define  NCBI_SBUILDINFO_DEFAULT_INSTANCE()   SBuildInfo(NCBI_BUILD_TIME, NCBI_BUILD_TAG_PROXY)   #define  NCBI_SBUILDINFO_DEFAULT_INSTANCE()   SBuildInfo()   #define  CVersion   CVersionAPI   #define  CComponentVersionInfo   CComponentVersionInfoAPI   #define  MDB_VERSION_MAJOR   0   Library major version. More...
  #define  MDB_VERSION_MAJOR   0   Library major version. More...
  #define  MDB_VERSION_MINOR   9   Library minor version. More...
  #define  MDB_VERSION_MINOR   9   Library minor version. More...
  #define  MDB_VERSION_PATCH   24   Library patch version. More...
  #define  MDB_VERSION_PATCH   24   Library patch version. More...
  #define  MDB_VERINT(a, b, c)   (((a) << 24) | ((b) << 16) | (c))   Combine args a,b,c into a single integer for easy version comparisons. More...
  #define  MDB_VERINT(a, b, c)   (((a) << 24) | ((b) << 16) | (c))   Combine args a,b,c into a single integer for easy version comparisons. More...
  #define  MDB_VERSION_FULL    MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)   The full library version as a single integer. More...
  #define  MDB_VERSION_FULL    MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)   The full library version as a single integer. More...
  #define  MDB_VERSION_DATE   "July 24, 2019"   The release date of this library version. More...
  #define  MDB_VERSION_DATE   "July 24, 2019"   The release date of this library version. More...
  #define  MDB_VERSTR(a, b, c, d)   "LMDB " #a "." #b "." #c ": (" d ")"   A stringifier for the version info. More...
  #define  MDB_VERSTR(a, b, c, d)   "LMDB " #a "." #b "." #c ": (" d ")"   A stringifier for the version info. More...
  #define  MDB_VERFOO(a, b, c, d)   MDB_VERSTR(a,b,c,d)   A helper for the stringifier macro. More...
  #define  MDB_VERFOO(a, b, c, d)   MDB_VERSTR(a,b,c,d)   A helper for the stringifier macro. More...
  #define  MDB_VERSION_STRING    MDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)   The full library version as a C string. More...
  #define  MDB_VERSION_STRING    MDB_VERFOO(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH,MDB_VERSION_DATE)   The full library version as a C string. More...
  enum   SBuildInfo::EExtra {
  SBuildInfo::eBuildDate , SBuildInfo::eBuildTag , SBuildInfo::eTeamCityProjectName , SBuildInfo::eTeamCityBuildConf ,
  SBuildInfo::eTeamCityBuildNumber , SBuildInfo::eBuildID , SBuildInfo::eSubversionRevision , SBuildInfo::eStableComponentsVersion ,
  SBuildInfo::eDevelopmentVersion , SBuildInfo::eProductionVersion , SBuildInfo::eBuiltAs , SBuildInfo::eRevision ,
  SBuildInfo::eGitBranch
}   enum   CVersionInfo::EVersionFlags { CVersionInfo::kAny = 0 , CVersionInfo::kLatest }   enum   CVersionInfo::EMatch { CVersionInfo::eNonCompatible , CVersionInfo::eConditionallyCompatible , CVersionInfo::eBackwardCompatible , CVersionInfo::eFullyCompatible }   Version comparison result. More...
  enum   CVersionAPI::EPrintFlags {
  CVersionAPI::fVersionInfo = 0x01 , CVersionAPI::fComponents = 0x02 , CVersionAPI::fPackageShort = 0x04 , CVersionAPI::fPackageFull = 0x08 ,
  CVersionAPI::fBuildInfo = 0x10 , CVersionAPI::fBuildSignature = 0x20 , CVersionAPI::fGI64bit = 0x40 , CVersionAPI::fTCBuildNumber = 0x0 ,
  CVersionAPI::fPrintAll = 0xFF
}     CComponentVersionInfo::CComponentVersionInfo (const string &component_name, int ver_major, int ver_minor, int patch_level=0, const string &ver_name=kEmptyStr, const SBuildInfo &build_info=SBuildInfo(__DATE__ " " __TIME__, "") .Extra(SBuildInfo::eTeamCityProjectName, NCBI_TEAMCITY_PROJECT_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildConf, NCBI_TEAMCITY_BUILDCONF_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildNumber, NCBI_TEAMCITY_BUILD_NUMBER_PROXY) NCBI_GIT_BRANCH_SBUILDINFO NCBI_REVISION_SBUILDINFO .Extra(SBuildInfo::eSubversionRevision, NCBI_SUBVERSION_REVISION_PROXY) .Extra(SBuildInfo::eStableComponentsVersion, NCBI_SC_VERSION_PROXY))   Constructor. More...
    CComponentVersionInfo::CComponentVersionInfo (const string &component_name, const string &version, const string &ver_name=kEmptyStr, const SBuildInfo &build_info=SBuildInfo(__DATE__ " " __TIME__, "") .Extra(SBuildInfo::eTeamCityProjectName, NCBI_TEAMCITY_PROJECT_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildConf, NCBI_TEAMCITY_BUILDCONF_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildNumber, NCBI_TEAMCITY_BUILD_NUMBER_PROXY) NCBI_GIT_BRANCH_SBUILDINFO NCBI_REVISION_SBUILDINFO .Extra(SBuildInfo::eSubversionRevision, NCBI_SUBVERSION_REVISION_PROXY) .Extra(SBuildInfo::eStableComponentsVersion, NCBI_SC_VERSION_PROXY))   Constructor. More...
    CVersion::CVersion (const SBuildInfo &build_info=SBuildInfo(__DATE__ " " __TIME__, "") .Extra(SBuildInfo::eTeamCityProjectName, NCBI_TEAMCITY_PROJECT_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildConf, NCBI_TEAMCITY_BUILDCONF_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildNumber, NCBI_TEAMCITY_BUILD_NUMBER_PROXY) NCBI_GIT_BRANCH_SBUILDINFO NCBI_REVISION_SBUILDINFO .Extra(SBuildInfo::eSubversionRevision, NCBI_SUBVERSION_REVISION_PROXY) .Extra(SBuildInfo::eStableComponentsVersion, NCBI_SC_VERSION_PROXY))     CVersion::CVersion (const CVersionInfo &version, const SBuildInfo &build_info=SBuildInfo(__DATE__ " " __TIME__, "") .Extra(SBuildInfo::eTeamCityProjectName, NCBI_TEAMCITY_PROJECT_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildConf, NCBI_TEAMCITY_BUILDCONF_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildNumber, NCBI_TEAMCITY_BUILD_NUMBER_PROXY) NCBI_GIT_BRANCH_SBUILDINFO NCBI_REVISION_SBUILDINFO .Extra(SBuildInfo::eSubversionRevision, NCBI_SUBVERSION_REVISION_PROXY) .Extra(SBuildInfo::eStableComponentsVersion, NCBI_SC_VERSION_PROXY))     CVersion::CVersion (const CVersion &version)   void  CVersion::AddComponentVersion (const string &component_name, int ver_major, int ver_minor, int patch_level=0, const string &ver_name=kEmptyStr, const SBuildInfo &build_info=SBuildInfo(__DATE__ " " __TIME__, "") .Extra(SBuildInfo::eTeamCityProjectName, NCBI_TEAMCITY_PROJECT_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildConf, NCBI_TEAMCITY_BUILDCONF_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildNumber, NCBI_TEAMCITY_BUILD_NUMBER_PROXY) NCBI_GIT_BRANCH_SBUILDINFO NCBI_REVISION_SBUILDINFO .Extra(SBuildInfo::eSubversionRevision, NCBI_SUBVERSION_REVISION_PROXY) .Extra(SBuildInfo::eStableComponentsVersion, NCBI_SC_VERSION_PROXY))   Add component version information. More...
    SBuildInfo::SBuildInfo (void)     SBuildInfo::SBuildInfo (const string &d, const string &t=kEmptyStr)   SBuildInfoSBuildInfo::Extra (EExtra key, const string &value)   SBuildInfoSBuildInfo::Extra (EExtra key, int value)   string  SBuildInfo::GetExtraValue (EExtra key, const string &default_value=kEmptyStr) const   static string  SBuildInfo::ExtraName (EExtra key)   static string  SBuildInfo::ExtraNameXml (EExtra key)   static string  SBuildInfo::ExtraNameJson (EExtra key)   static string  SBuildInfo::ExtraNameAppLog (EExtra key)   CTime  SBuildInfo::GetBuildTime (void) const   Converts 'date' parameter to CTime. More...
  string  SBuildInfo::Print (size_t offset=0) const   string  SBuildInfo::PrintXml (void) const   string  SBuildInfo::PrintJson (void) const     CVersionInfo::CVersionInfo (int ver_major, int ver_minor, int patch_level=0, const string &name=kEmptyStr)   Constructor. More...
    CVersionInfo::CVersionInfo (const string &version, const string &name=kEmptyStr)     CVersionInfo::CVersionInfo (EVersionFlags flags=kLatest)   virtual  CVersionInfo::~CVersionInfo ()   Destructor. More...
  void  CVersionInfo::FromStr (const string &version)   Take version info from string. More...
  void  CVersionInfo::SetVersion (int ver_major, int ver_minor, int patch_level=0)   virtual string  CVersionInfo::Print (void) const   Print version information. More...
  virtual string  CVersionInfo::PrintXml (void) const   Print version information as XML (see ncbi_version.xsd) More...
  virtual string  CVersionInfo::PrintJson (void) const   Print version information as JSON. More...
  int  CVersionInfo::GetMajor (void) const   Major version. More...
  int  CVersionInfo::GetMinor (void) const   Minor version. More...
  int  CVersionInfo::GetPatchLevel (void) const   Patch level. More...
  const stringCVersionInfo::GetName (void) const   EMatch  CVersionInfo::Match (const CVersionInfo &version_info) const   Check if version matches another version. More...
  bool  CVersionInfo::IsAny () const   Check if version is all zero (major, minor, patch) Convention is that all-zero version used in requests as "get me anything". More...
  bool  CVersionInfo::IsLatest () const   Check if version is all -1 (major, minor, patch) Convention is that -1 version used in requests as "get me the latest version". More...
  bool  CVersionInfo::IsUpCompatible (const CVersionInfo &cinfo) const   Check if this version info is more contemporary version than parameter cinfo (or the same version) More...
    CComponentVersionInfoAPI::CComponentVersionInfoAPI (const string &component_name, int ver_major, int ver_minor, int patch_level, const string &ver_name, const SBuildInfo &build_info)   Constructor. More...
    CComponentVersionInfoAPI::CComponentVersionInfoAPI (const string &component_name, const string &version, const string &ver_name, const SBuildInfo &build_info)   Constructor. More...
  const stringCComponentVersionInfoAPI::GetComponentName (void) const   Get component name. More...
  virtual string  CComponentVersionInfoAPI::Print (void) const   Print version information. More...
  virtual string  CComponentVersionInfoAPI::PrintXml (void) const   Print version information ax XML. More...
  virtual string  CComponentVersionInfoAPI::PrintJson (void) const   Print version information as JSON. More...
    CVersionAPI::CVersionAPI (const SBuildInfo &build_info=SBuildInfo())     CVersionAPI::CVersionAPI (const CVersionInfo &version, const SBuildInfo &build_info=SBuildInfo())     CVersionAPI::CVersionAPI (const CVersionAPI &version)     CVersionAPI::CVersionAPI (CVersionAPI &&version)=default   CVersionAPICVersionAPI::operator= (const CVersionAPI &version)   CVersionAPICVersionAPI::operator= (CVersionAPI &&version)=default   void  CVersionAPI::SetVersionInfo (int ver_major, int ver_minor, int patch_level=0, const string &ver_name=kEmptyStr)   Set version information. More...
  void  CVersionAPI::SetVersionInfo (int ver_major, int ver_minor, int patch_level, const string &ver_name, const SBuildInfo &build_info)   void  CVersionAPI::SetVersionInfo (CVersionInfo *version)   Set version information. More...
  void  CVersionAPI::SetVersionInfo (CVersionInfo *version, const SBuildInfo &build_info)   const CVersionInfoCVersionAPI::GetVersionInfo () const   Get version information. More...
  void  CVersionAPI::AddComponentVersion (const string &component_name, int ver_major, int ver_minor, int patch_level, const string &ver_name, const SBuildInfo &build_info)   Add component version information. More...
  void  CVersionAPI::AddComponentVersion (CComponentVersionInfoAPI *component)   Add component version information. More...
  const SBuildInfoCVersionAPI::GetBuildInfo () const   Get build info (date and tag, if set) More...
  static string  CVersionAPI::GetPackageName (void)   static CVersionInfo  CVersionAPI::GetPackageVersion (void)   static string  CVersionAPI::GetPackageConfig (void)   string  CVersionAPI::Print (const string &appname, TPrintFlags flags=fPrintAll) const   Print version data, plain text. More...
  string  CVersionAPI::PrintXml (const string &appname, TPrintFlags flags=fPrintAll) const   Print version data, XML. More...
  string  CVersionAPI::PrintJson (const string &appname, TPrintFlags flags=fPrintAll) const   Print version data, JSON. More...
  static void  CVersionAPI::x_Copy (CVersionAPI &to, const CVersionAPI &from)   bool  IsBetterVersion (const CVersionInfo &info, const CVersionInfo &cinfo, int &best_major, int &best_minor, int &best_patch_level)   Return true if one version info is matches another better than the best variant. More...
  bool  operator== (const CVersionInfo &v1, const CVersionInfo &v2)   bool  operator< (const CVersionInfo &v1, const CVersionInfo &v2)   ostream &  operator<< (ostream &strm, const CVersionInfo &v)   template<class It > It  FindVersion (It first, It last, const CVersionInfo &info)   Algorithm function to find version in the container. More...
  template<class TClass > TClass::const_iterator  FindVersion (const TClass &cont, const CVersionInfo &info)   Algorithm function to find version in the container. More...
  void  ParseVersionString (const string &vstr, string *program_name, CVersionInfo *ver)   Parse string, extract version info and program name (case insensitive) More...
  ◆ CComponentVersionInfo ◆ CVersion ◆ MDB_VERFOO [1/2]

A helper for the stringifier macro.

Definition at line 219 of file lmdb.h.

◆ MDB_VERFOO [2/2]

A helper for the stringifier macro.

Definition at line 219 of file lmdb.h.

◆ MDB_VERINT [1/2] #define MDB_VERINT (   a,   b,   c  )    (((a) << 24) | ((b) << 16) | (c))

Combine args a,b,c into a single integer for easy version comparisons.

Definition at line 206 of file lmdb.h.

◆ MDB_VERINT [2/2] #define MDB_VERINT (   a,   b,   c  )    (((a) << 24) | ((b) << 16) | (c))

Combine args a,b,c into a single integer for easy version comparisons.

Definition at line 206 of file lmdb.h.

◆ MDB_VERSION_DATE [1/2] #define MDB_VERSION_DATE   "July 24, 2019"

The release date of this library version.

Definition at line 213 of file lmdb.h.

◆ MDB_VERSION_DATE [2/2] #define MDB_VERSION_DATE   "July 24, 2019"

The release date of this library version.

Definition at line 213 of file lmdb.h.

◆ MDB_VERSION_FULL [1/2]

The full library version as a single integer.

Definition at line 209 of file lmdb.h.

◆ MDB_VERSION_FULL [2/2]

The full library version as a single integer.

Definition at line 209 of file lmdb.h.

◆ MDB_VERSION_MAJOR [1/2] #define MDB_VERSION_MAJOR   0

Library major version.

Definition at line 199 of file lmdb.h.

◆ MDB_VERSION_MAJOR [2/2] #define MDB_VERSION_MAJOR   0

Library major version.

Definition at line 199 of file lmdb.h.

◆ MDB_VERSION_MINOR [1/2] #define MDB_VERSION_MINOR   9

Library minor version.

Definition at line 201 of file lmdb.h.

◆ MDB_VERSION_MINOR [2/2] #define MDB_VERSION_MINOR   9

Library minor version.

Definition at line 201 of file lmdb.h.

◆ MDB_VERSION_PATCH [1/2] #define MDB_VERSION_PATCH   24

Library patch version.

Definition at line 203 of file lmdb.h.

◆ MDB_VERSION_PATCH [2/2] #define MDB_VERSION_PATCH   24

Library patch version.

Definition at line 203 of file lmdb.h.

◆ MDB_VERSION_STRING [1/2]

The full library version as a C string.

Definition at line 222 of file lmdb.h.

◆ MDB_VERSION_STRING [2/2]

The full library version as a C string.

Definition at line 222 of file lmdb.h.

◆ MDB_VERSTR [1/2] #define MDB_VERSTR (   a,   b,   c,   d  )    "LMDB " #a "." #b "." #c ": (" d ")"

A stringifier for the version info.

Definition at line 216 of file lmdb.h.

◆ MDB_VERSTR [2/2] #define MDB_VERSTR (   a,   b,   c,   d  )    "LMDB " #a "." #b "." #c ": (" d ")"

A stringifier for the version info.

Definition at line 216 of file lmdb.h.

◆ NCBI_APP_SBUILDINFO_DEFAULT ◆ NCBI_BUILD_ID_SBUILDINFO #define NCBI_BUILD_ID_SBUILDINFO   /* empty */

Definition at line 100 of file version.hpp.

◆ NCBI_BUILD_TAG_PROXY #define NCBI_BUILD_TAG_PROXY   ""

Definition at line 58 of file version.hpp.

◆ NCBI_BUILD_TIME #define NCBI_BUILD_TIME   __DATE__ " " __TIME__

Definition at line 52 of file version.hpp.

◆ NCBI_BUILT_AS_SBUILDINFO #define NCBI_BUILT_AS_SBUILDINFO   /* empty */

Definition at line 89 of file version.hpp.

◆ NCBI_SBUILDINFO_DEFAULT ◆ NCBI_SBUILDINFO_DEFAULT_IMPL #define NCBI_SBUILDINFO_DEFAULT_IMPL ( ) Value:

NCBI_TEAMCITY_PROJECT_NAME_SBUILDINFO \

NCBI_TEAMCITY_BUILDCONF_NAME_SBUILDINFO \

NCBI_TEAMCITY_BUILD_NUMBER_SBUILDINFO \

NCBI_BUILD_ID_SBUILDINFO \

NCBI_GIT_BRANCH_SBUILDINFO \

NCBI_REVISION_SBUILDINFO \

NCBI_SUBVERSION_REVISION_SBUILDINFO \

NCBI_SC_VERSION_SBUILDINFO \

NCBI_SRCTREE_VER_SBUILDINFO \

NCBI_BUILT_AS_SBUILDINFO

#define NCBI_SBUILDINFO_DEFAULT_INSTANCE()

Definition at line 103 of file version.hpp.

◆ NCBI_SBUILDINFO_DEFAULT_INSTANCE [1/2] ◆ NCBI_SBUILDINFO_DEFAULT_INSTANCE [2/2] ◆ NCBI_SC_VERSION_SBUILDINFO ◆ NCBI_SRCTREE_VER_SBUILDINFO #define NCBI_SRCTREE_VER_SBUILDINFO   /* empty */

Definition at line 81 of file version.hpp.

◆ NCBI_SUBVERSION_REVISION_SBUILDINFO ◆ NCBI_TEAMCITY_BUILD_NUMBER_SBUILDINFO ◆ NCBI_TEAMCITY_BUILDCONF_NAME_SBUILDINFO ◆ NCBI_TEAMCITY_PROJECT_NAME_SBUILDINFO ◆ TPrintFlags ◆ EExtra Enumerator eBuildDate  eBuildTag  eTeamCityProjectName  eTeamCityBuildConf  eTeamCityBuildNumber  eBuildID  eSubversionRevision 

Numeric if present.

eStableComponentsVersion  eDevelopmentVersion  eProductionVersion  eBuiltAs  eRevision 

Not necessarily numeric.

eGitBranch 

Definition at line 63 of file version_api.hpp.

◆ EMatch

Version comparison result.

See also
Match
Enumerator eNonCompatible 

major, minor does not match

eConditionallyCompatible 

patch level incompatibility

eBackwardCompatible 

patch level is newer

eFullyCompatible 

exactly the same version

Definition at line 174 of file version_api.hpp.

◆ EPrintFlags Enumerator fVersionInfo 

Print version info.

fComponents 

Print components version info.

fPackageShort 

Print package info, if available.

fPackageFull 

Print package info, if available.

fBuildInfo 

Print build info (date and tag)

fBuildSignature 

Print build signature, if available.

fGI64bit 

Print info about GI size.

fTCBuildNumber 

obsolete, has no effect

fPrintAll 

Print all version data.

Definition at line 319 of file version_api.hpp.

◆ EVersionFlags ◆ AddComponentVersion() [1/3] ◆ AddComponentVersion() [2/3] ◆ AddComponentVersion() [3/3] void CVersion::AddComponentVersion ( const stringcomponent_name, int  ver_major, int  ver_minor, int  patch_level = 0, const stringver_name = kEmptyStr, const SBuildInfobuild_info = SBuildInfo( __DATE__ " " __TIME__ ,  "" ) .Extra(SBuildInfo::eTeamCityProjectNameNCBI_TEAMCITY_PROJECT_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildConfNCBI_TEAMCITY_BUILDCONF_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildNumberNCBI_TEAMCITY_BUILD_NUMBER_PROXY)  NCBI_GIT_BRANCH_SBUILDINFO NCBI_REVISION_SBUILDINFO .Extra(SBuildInfo::eSubversionRevisionNCBI_SUBVERSION_REVISION_PROXY) .Extra(SBuildInfo::eStableComponentsVersionNCBI_SC_VERSION_PROXY)  ) inline ◆ CComponentVersionInfo() [1/2]

Constructor.

Parameters
component_name component name version version string (eg, 1.2.4) ver_name version name

Definition at line 157 of file version.hpp.

◆ CComponentVersionInfo() [2/2] CComponentVersionInfo::CComponentVersionInfo ( const stringcomponent_name, int  ver_major, int  ver_minor, int  patch_level = 0, const stringver_name = kEmptyStr, const SBuildInfobuild_info = SBuildInfo( __DATE__ " " __TIME__ ,  "" ) .Extra(SBuildInfo::eTeamCityProjectNameNCBI_TEAMCITY_PROJECT_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildConfNCBI_TEAMCITY_BUILDCONF_NAME_PROXY) .Extra(SBuildInfo::eTeamCityBuildNumberNCBI_TEAMCITY_BUILD_NUMBER_PROXY)  NCBI_GIT_BRANCH_SBUILDINFO NCBI_REVISION_SBUILDINFO .Extra(SBuildInfo::eSubversionRevisionNCBI_SUBVERSION_REVISION_PROXY) .Extra(SBuildInfo::eStableComponentsVersionNCBI_SC_VERSION_PROXY)  ) inline ◆ CComponentVersionInfoAPI() [1/2]

Constructor.

Parameters
component_name component name version version string (eg, 1.2.4) ver_name version name

Definition at line 416 of file version.cpp.

◆ CComponentVersionInfoAPI() [2/2] ◆ CVersion() [1/3] ◆ CVersion() [2/3] ◆ CVersion() [3/3] ◆ CVersionAPI() [1/4] ◆ CVersionAPI() [2/4] ◆ CVersionAPI() [3/4] ◆ CVersionAPI() [4/4] ◆ CVersionInfo() [1/3] ◆ CVersionInfo() [2/3] ◆ CVersionInfo() [3/3] ◆ Extra() [1/2] ◆ Extra() [2/2] ◆ ExtraName()

Definition at line 490 of file version.cpp.

References SBuildInfo::eBuildDate, SBuildInfo::eBuildID, SBuildInfo::eBuildTag, SBuildInfo::eBuiltAs, SBuildInfo::eDevelopmentVersion, SBuildInfo::eGitBranch, SBuildInfo::eProductionVersion, SBuildInfo::eRevision, SBuildInfo::eStableComponentsVersion, SBuildInfo::eSubversionRevision, SBuildInfo::eTeamCityBuildConf, SBuildInfo::eTeamCityBuildNumber, SBuildInfo::eTeamCityProjectName, and ncbi::grid::netcache::search::fields::key.

Referenced by SBuildInfo::ExtraNameXml(), SBuildInfo::Print(), and CGetStatisticsProcessor::Process().

◆ ExtraNameAppLog()

Definition at line 511 of file version.cpp.

References SBuildInfo::eBuildDate, SBuildInfo::eBuildID, SBuildInfo::eBuildTag, SBuildInfo::eBuiltAs, SBuildInfo::eDevelopmentVersion, SBuildInfo::eGitBranch, SBuildInfo::eProductionVersion, SBuildInfo::eRevision, SBuildInfo::eStableComponentsVersion, SBuildInfo::eSubversionRevision, SBuildInfo::eTeamCityBuildConf, SBuildInfo::eTeamCityBuildNumber, SBuildInfo::eTeamCityProjectName, and ncbi::grid::netcache::search::fields::key.

Referenced by CDiagContext_Extra::PrintNcbiAppInfoOnRequest(), and CDiagContext_Extra::PrintNcbiAppInfoOnStart().

◆ ExtraNameJson() ◆ ExtraNameXml() ◆ FindVersion() [1/2]

Algorithm function to find version in the container.

Scans the provided container for version with the same major and minor version and the newest patch level.

Parameters
container container object to search in
Returns
iterator on the best fit version (last if no version found)

Definition at line 438 of file version_api.hpp.

References FindVersion(), and info.

◆ FindVersion() [2/2]

Algorithm function to find version in the container.

Scans the provided iterator for version with the same major and minor version and the newest patch level.

Parameters
first first iterator to start search last ending iterator (typically returned by end() function of an STL container)
Returns
iterator on the best version or last

Definition at line 407 of file version_api.hpp.

References first(), info, IsBetterVersion(), and last().

Referenced by FindVersion().

◆ FromStr() ◆ GetBuildInfo() ◆ GetBuildTime() CTime SBuildInfo::GetBuildTime ( void  ) const ◆ GetComponentName() const string& CComponentVersionInfoAPI::GetComponentName ( void  ) const inline ◆ GetExtraValue() ◆ GetMajor() int CVersionInfo::GetMajor ( void  ) const inline ◆ GetMinor() int CVersionInfo::GetMinor ( void  ) const inline ◆ GetName() ◆ GetPackageConfig() string CVersionAPI::GetPackageConfig ( void  ) static ◆ GetPackageName() string CVersionAPI::GetPackageName ( void  ) static ◆ GetPackageVersion() ◆ GetPatchLevel() int CVersionInfo::GetPatchLevel ( void  ) const inline ◆ GetVersionInfo() ◆ IsAny() bool CVersionInfo::IsAny ( ) const inline ◆ IsBetterVersion() ◆ IsLatest() bool CVersionInfo::IsLatest ( ) const inline ◆ IsUpCompatible() ◆ Match() ◆ operator<() ◆ operator<<() ◆ operator=() [1/2] ◆ operator=() [2/2] ◆ operator==() ◆ ParseVersionString() ◆ Print() [1/4]

Print version data, plain text.

Definition at line 728 of file version.cpp.

References CVersionAPI::fBuildInfo, CVersionAPI::fBuildSignature, CVersionAPI::fComponents, CVersionAPI::fGI64bit, flags, CVersionAPI::fPackageFull, CVersionAPI::fPackageShort, CVersionAPI::fVersionInfo, CVersionAPI::GetPackageConfig(), CVersionAPI::GetPackageName(), CVersionAPI::GetPackageVersion(), CVersionAPI::m_BuildInfo, CVersionAPI::m_Components, CVersionAPI::m_VersionInfo, NCBI_SBUILDINFO_DEFAULT, SBuildInfo::Print(), and CVersionInfo::Print().

Referenced by CNcbiApplicationAPI::AppMain(), CDataTool::GenerateCode(), CCgiApplication::PreparseArgs(), and CCgiRequestProcessor::ProcessVersionRequest().

◆ Print() [2/4] string SBuildInfo::Print ( size_t  offset = 0 ) const ◆ Print() [3/4] string CVersionInfo::Print ( void  ) const virtual

Print version information.

Returns
String representation of the version, Version information is printed in the following forms:

Reimplemented in ncbi::blast::CBlastVdbVersion, CGumbelParamsCalcVersion, CComponentVersionInfoAPI, CMultiAlignerVersion, CBlastVersion, and CSeqMaskerVersion.

Definition at line 120 of file version.cpp.

References kEmptyStr, CVersionInfo::m_Major, CVersionInfo::m_Minor, CVersionInfo::m_Name, and CVersionInfo::m_PatchLevel.

Referenced by CSamplePhoneHomePolicy::Apply(), CProjBulderApp::GenerateUnixProjects(), CGridWorkerNode::GetAppVersion(), CUsageReportAPI::GetAppVersion(), CFileModules::GetRefInfo(), CSeqMaskerVersion::Print(), CVersionAPI::Print(), CBlastVersion::Print(), CMultiAlignerVersion::Print(), CComponentVersionInfoAPI::Print(), CGumbelParamsCalcVersion::Print(), CArgDesc_agp_validate::PrintUsage(), CCgiRequestProcessor::ProcessVersionRequest(), CNcbiApplogApp::Run(), s_InitAllKNS(), CTable2AsnContext::UpdateSubmitObject(), CQueueDataBase::x_CheckOpenPreconditions(), and CQueueDataBase::x_CreateStorageVersionFile().

◆ Print() [4/4] string CComponentVersionInfoAPI::Print ( void  ) const virtual ◆ PrintJson() [1/4]

Print version data, JSON.

Definition at line 824 of file version.cpp.

References NStr::eJsonEnc_Quoted, CVersionAPI::fBuildInfo, CVersionAPI::fBuildSignature, CVersionAPI::fComponents, flags, CVersionAPI::fPackageFull, CVersionAPI::fPackageShort, CVersionAPI::fVersionInfo, CVersionAPI::GetPackageConfig(), CVersionAPI::GetPackageName(), CVersionAPI::GetPackageVersion(), NStr::JsonEncode(), CVersionAPI::m_BuildInfo, CVersionAPI::m_Components, CVersionAPI::m_VersionInfo, NCBI_SBUILDINFO_DEFAULT, SBuildInfo::PrintJson(), and CVersionInfo::PrintJson().

Referenced by CNcbiApplicationAPI::AppMain(), and CCgiRequestProcessor::ProcessVersionRequest().

◆ PrintJson() [2/4] string SBuildInfo::PrintJson ( void  ) const ◆ PrintJson() [3/4] string CVersionInfo::PrintJson ( void  ) const virtual ◆ PrintJson() [4/4] string CComponentVersionInfoAPI::PrintJson ( void  ) const virtual ◆ PrintXml() [1/4]

Print version data, XML.

Definition at line 774 of file version.cpp.

References CVersionAPI::fBuildInfo, CVersionAPI::fBuildSignature, CVersionAPI::fComponents, flags, CVersionAPI::fPackageFull, CVersionAPI::fPackageShort, CVersionAPI::fVersionInfo, CVersionAPI::GetPackageConfig(), CVersionAPI::GetPackageName(), CVersionAPI::GetPackageVersion(), CVersionAPI::m_BuildInfo, CVersionAPI::m_Components, CVersionAPI::m_VersionInfo, NCBI_SBUILDINFO_DEFAULT, SBuildInfo::PrintXml(), CVersionInfo::PrintXml(), and NStr::XmlEncode().

Referenced by CNcbiApplicationAPI::AppMain(), and CCgiRequestProcessor::ProcessVersionRequest().

◆ PrintXml() [2/4] string SBuildInfo::PrintXml ( void  ) const ◆ PrintXml() [3/4] string CVersionInfo::PrintXml ( void  ) const virtual ◆ PrintXml() [4/4] string CComponentVersionInfoAPI::PrintXml ( void  ) const virtual ◆ SBuildInfo() [1/2] ◆ SBuildInfo() [2/2] SBuildInfo::SBuildInfo ( void  )

Definition at line 454 of file version.cpp.

◆ SetVersion() void CVersionInfo::SetVersion ( int  ver_major, int  ver_minor, int  patch_level = 0  ) ◆ SetVersionInfo() [1/4] ◆ SetVersionInfo() [2/4] ◆ SetVersionInfo() [3/4] ◆ SetVersionInfo() [4/4] ◆ x_Copy() ◆ ~CVersionInfo() virtual CVersionInfo::~CVersionInfo ( ) inlinevirtual ◆ date ◆ m_BuildInfo [1/2] ◆ m_BuildInfo [2/2] ◆ m_ComponentName string CComponentVersionInfoAPI::m_ComponentName private ◆ m_Components ◆ m_extra ◆ m_Major int CVersionInfo::m_Major protected ◆ m_Minor int CVersionInfo::m_Minor protected ◆ m_Name ◆ m_PatchLevel int CVersionInfo::m_PatchLevel protected ◆ m_VersionInfo ◆ tag

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4