NCBI C++ ToolKit
Classes | Macros | Functions
version_api.hpp File Reference
#include <corelib/ncbitime.hpp>
#include <corelib/ncbiobj.hpp>
+ Include dependency graph for version_api.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SBuildInfo
 This class allows to add build info (date and tag) to application version. More...
 
class  CVersionInfo
 CVersionInfo –. More...
 
class  CComponentVersionInfoAPI
 
class  CVersionAPI
 

Macros

#define NCBI_SBUILDINFO_DEFAULT_INSTANCE()   SBuildInfo()
 
#define CVersion   CVersionAPI
 
#define CComponentVersionInfo   CComponentVersionInfoAPI
 

Functions

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...
 
Modified on Wed Sep 04 15:01:29 2024 by modify_doxy.py rev. 669887