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/version__api_8hpp_source.html below:

NCBI C++ ToolKit: include/corelib/version_api.hpp Source File

1 #ifndef CORELIB___VERSION_API__HPP 2 #define CORELIB___VERSION_API__HPP 90  string

GetExtraValue( EExtra

key

,

const string

& default_value =

kEmptyStr

)

const

;

92  static string

ExtraName(EExtra

key

);

93  static string

ExtraNameXml(EExtra

key

);

94  static string

ExtraNameJson(EExtra

key

);

95  static string

ExtraNameAppLog(EExtra

key

);

100  CTime

GetBuildTime(

void

)

const

;

103  string

PrintXml(

void

)

const

;

104  string

PrintJson(

void

)

const

;

107 #define NCBI_SBUILDINFO_DEFAULT_INSTANCE() SBuildInfo() 141  void

FromStr(

const string

&

version

);

143  void

SetVersion(

int

ver_major,

145  int

patch_level = 0);

155  virtual string Print

(

void

)

const

;

158  virtual string

PrintXml(

void

)

const

;

161  virtual string

PrintJson(

void

)

const

;

170  const string

&

GetName

(

void

)

const

{

return

m_Name; }

184 

EMatch Match(

const CVersionInfo

& version_info)

const

;

191 

{

return

!(m_Major | m_Minor | m_PatchLevel); }

198 

{

return

(m_Major == -1 && m_Minor == -1 && m_PatchLevel == -1); }

208  return

cinfo.

m_Major

<= m_Major &&

230  const string

& ver_name,

243  const string

& ver_name,

249  return

m_ComponentName;

253  virtual string Print

(

void

)

const

;

256  virtual string

PrintXml(

void

)

const

;

259  virtual string

PrintJson(

void

)

const

;

285  void

SetVersionInfo(

int

ver_major,

289  void

SetVersionInfo(

int

ver_major,

292  const string

& ver_name,

302  void

AddComponentVersion(

const string

& component_name,

306  const string

& ver_name,

315  static string

GetPackageName(

void

);

317  static string

GetPackageConfig(

void

);

322

fPackageShort = 0x04,

325

fBuildSignature = 0x20,

327

fTCBuildNumber = 0x0,

335  string

PrintXml(

const string

& appname,

TPrintFlags flags

= fPrintAll)

const

;

337  string

PrintJson(

const string

& appname,

TPrintFlags flags

= fPrintAll)

const

;

366  int

& best_patch_level);

409

It best_version =

last

;

412  int

best_patch_level = -1;

418

best_major, best_minor, best_patch_level))

420

best_version =

first

;

437 template

<

class

TClass>

441  typename

TClass::const_iterator it = cont.begin();

442  typename

TClass::const_iterator it_end = cont.end();

458  string

* program_name,

463 #ifndef CORELIB___VERSION__HPP 464 # define CVersion CVersionAPI 465 # define CComponentVersionInfo CComponentVersionInfoAPI

void Print(const CCompactSAMApplication::AlignInfo &ai)

static DLIST_TYPE *DLIST_NAME() first(DLIST_LIST_TYPE *list)

static DLIST_TYPE *DLIST_NAME() last(DLIST_LIST_TYPE *list)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

void ParseVersionString(const string &vstr, string *program_name, CVersionInfo *ver)

Parse string, extract version info and program name (case insensitive)

ostream & operator<<(ostream &strm, const CVersionInfo &v)

int m_Minor

Minor number.

int TPrintFlags

Binary OR of EPrintFlags.

int GetMajor(void) const

Major version.

bool IsLatest() const

Check if version is all -1 (major, minor, patch) Convention is that -1 version used in requests as "g...

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.

const string & GetName(void) const

int m_PatchLevel

Patch level.

const string & GetComponentName(void) const

Get component name.

CVersionAPI(CVersionAPI &&version)=default

int GetMinor(void) const

Minor version.

It FindVersion(It first, It last, const CVersionInfo &info)

Algorithm function to find version in the container.

vector< pair< EExtra, string > > m_extra

bool operator==(const CVersionInfo &v1, const CVersionInfo &v2)

unique_ptr< CVersionInfo > m_VersionInfo

SBuildInfo(const string &d, const string &t=kEmptyStr)

bool IsAny() const

Check if version is all zero (major, minor, patch) Convention is that all-zero version used in reques...

EMatch

Version comparison result.

int GetPatchLevel(void) const

Patch level.

vector< unique_ptr< CComponentVersionInfoAPI > > m_Components

bool operator<(const CVersionInfo &v1, const CVersionInfo &v2)

virtual ~CVersionInfo()

Destructor.

CVersionAPI & operator=(CVersionAPI &&version)=default

int m_Major

Major number.

bool IsUpCompatible(const CVersionInfo &cinfo) const

Check if this version info is more contemporary version than parameter cinfo (or the same version)

@ eConditionallyCompatible

patch level incompatibility

@ eNonCompatible

major, minor does not match

@ eBackwardCompatible

patch level is newer

@ eRevision

Not necessarily numeric.

@ eSubversionRevision

Numeric if present.

@ eStableComponentsVersion

#define NCBI_XNCBI_EXPORT

const string version

version string

const struct ncbi::grid::netcache::search::fields::KEY key

const GenericPointer< typename T::ValueType > T2 value

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.

Defines: CTimeFormat - storage class for time format.

This class allows to add build info (date and tag) to application version.


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