* Add --enable-build-version option to control build version feature
* Disable build version when --enable-build-version is not specified
* Update getting started tutorial to reflect the new build option
Both PairChecker and AttributeContainerChecker factory functions
modified to return more generic AttributeCheckers similar to other
attribute types. By removing the templated return type, the internal
templated classes become necessary to define checkers for each
templated type. This follows the pattern in PointerChecker and
ObjectContainerChecker.
The pair-value-test-suite and attribute-container-test-suite were
amended to account for the changes in the checker factories. All
tests continue to pass.
Plenty of documentation was added to PairValue and AttributeContainerValue
and I also removed some dead code.
This commit adds the ability to read / write attributes corresponding
to STL containers or pair structures. Testcases are included and
demonstrate how to add container or pair member variables as
attributes to your class.
Squashed commit of the following:
commit 1162a5c942c7c2a366883a3b4f5f47feface9344
Author: Peter D. Barnes, Jr <barnes26@llnl.gov>
Date: Wed Mar 18 16:44:50 2020 -0700
core: assert Time > 0 in operator< (Time, EventId) refinement
commit 83161ebb6f56fd467498528a5b54f2d6ef1bceba
Author: Peter D. Barnes, Jr <barnes26@llnl.gov>
Date: Wed Mar 18 15:59:38 2020 -0700
core: check-style nstime.h
commit d8a0c906997bd7608e19dfd93484477c9b121a67
Author: Peter D. Barnes, Jr <barnes26@llnl.gov>
Date: Wed Mar 18 15:56:34 2020 -0700
core: assert Time > 0 in operator< (Time, EventId)
commit 466e66031b6f26e7aaede00be7d8c692382f2b04
Author: Peter D. Barnes, Jr <barnes26@llnl.gov>
Date: Wed Mar 18 14:41:02 2020 -0700
core: check-style
commit 5fd40536a23ef683d9eb673a45b492efbe175750
Author: Peter D. Barnes, Jr <barnes26@llnl.gov>
Date: Wed Mar 18 14:21:33 2020 -0700
core: operator<(Time, EventId), and doxy
* Change version tag and ClosestTag values to be ns-3.xx
* Fix string values to have the proper format
* Allow check-version to proceed even if git task is not present
* Remove git package requirement from Docker containers
* Create git_ns3_version_info task only when HAVE_NS3_REPO is defined
* Change tag glob from ns-3* to ns-3.[0-9]*
* Use version tag to make output consistent with waf --check-version
Changes
* Adds a new class named Version to the core module
* Adds a template file to the core module named version-defines.h.in
* Adds --PrintVersion and --version arguments to the CommandLine class.
* Creates a new waf tool which queries the local git repository and extracts build information from itCreate a waf task to extract version information from git repository
Updates the fix committed in 852a612c due to Python bindings compilation issues
Discussion of this issue can be found in merge request !323 (issue #215)
Refactor to clarify the core algorithms and isolate the
forward/reverse differences to one section.
This also lets the insertion order to be set by Attribute.
Benchmarking this appears to be marginally faster than
Alexander Krotov's original version. It's not clear why;
should be marginally slower.