NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/version.hpp>
#include <common/ncbi_package_ver.h>
#include <common/ncbi_source_ver.h>
#include <utility>
#include <algorithm>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
static void | s_ConvertVersionInfo (CVersionInfo *vi, const char *str) |
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... | |
void | ParseVersionString (const string &vstr, string *program_name, CVersionInfo *ver) |
Parse string, extract version info and program name (case insensitive) More... | |
|
static |
Definition at line 73 of file version.cpp.
References isdigit(), NCBI_THROW2, CVersionInfo::SetVersion(), and str().
Referenced by CVersionInfo::FromStr().