21 #ifndef BUILD_VERSION_H_
22 #define BUILD_VERSION_H_
24 #include "ns3/int64x64.h"
136 static uint32_t
Major (
void);
148 static uint32_t
Minor (
void);
161 static uint32_t
Patch (
void);
Helper class providing functions to access various parts of the version string, as well as functions ...
static std::string CommitHash(void)
Hash of the most recent commit.
static std::string LongVersion(void)
Constructs a string containing all of the build details.
static bool DirtyWorkingTree(void)
Indicates whether there were uncommitted changes during the build.
static std::string VersionTag(void)
Returns the ns-3 version tag of the closest ancestor commit.
static std::string ReleaseCandidate(void)
Release candidate component of the build version.
static uint32_t Minor(void)
Minor component of the build version.
static uint32_t Patch(void)
Patch component of the build version.
static std::string ClosestAncestorTag(void)
Returns the closest tag that is attached to a commit that is an ancestor of the current branch head.
static std::string BuildProfile(void)
Indicates the type of build that was performed (debug/release/optimized).
static std::string ShortVersion(void)
Constructs a string containing the ns-3 major and minor version components, and indication of additio...
static uint32_t TagDistance(void)
The number of commits between the current commit and the tag returned by ClosestAncestorTag().
static std::string BuildSummary(void)
Constructs a string containing the most recent tag and status flags.
static uint32_t Major(void)
Major component of the build version.
Every class exported by the ns3 library is enclosed in the ns3 namespace.