NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
version.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 

Macros

#define NFD_VERSION   2000
 NFD version follows Semantic Versioning 2.0.0 specification http://semver.org/. More...
 
#define NFD_VERSION_STRING   "0.2.0"
 NFD version represented as a string. More...
 
#define NFD_VERSION_BUILD_STRING   "0.2.0-100-ga22a217"
 NFD version string, including git commit information, if NFD is build from specific git commit. More...
 
#define NFD_VERSION_MAJOR   0
 MAJOR version. More...
 
#define NFD_VERSION_MINOR   2
 MINOR version. More...
 
#define NFD_VERSION_PATCH   0
 PATCH version. More...
 

Macro Definition Documentation

#define NFD_VERSION   2000

NFD version follows Semantic Versioning 2.0.0 specification http://semver.org/.

NFD version represented as an integer

MAJOR*1000000 + MINOR*1000 + PATCH

Definition at line 41 of file version.hpp.

#define NFD_VERSION_BUILD_STRING   "0.2.0-100-ga22a217"

NFD version string, including git commit information, if NFD is build from specific git commit.

NFD_VERSION_BUILD_STRING is obtained using the following command (NFD- prefix is afterwards removed):

git describe --match 'NFD-*'

When NFD is built not from git, NFD_VERSION_BUILD_STRING equals NFD_VERSION_STRING

MAJOR.MINOR.PATCH(-release-candidate-tag)(-(number-of-commits-since-tag)-COMMIT-HASH)

Example, 0.1.0-rc1-1-g5c86570

Definition at line 63 of file version.hpp.

#define NFD_VERSION_MAJOR   0

MAJOR version.

Definition at line 66 of file version.hpp.

#define NFD_VERSION_MINOR   2

MINOR version.

Definition at line 68 of file version.hpp.

#define NFD_VERSION_PATCH   0

PATCH version.

Definition at line 70 of file version.hpp.

#define NFD_VERSION_STRING   "0.2.0"

NFD version represented as a string.

MAJOR.MINOR.PATCH

Definition at line 47 of file version.hpp.