Commit Graph

1517 Commits

Author SHA1 Message Date
Tommaso Pecorella
d1169d40ad core: fix some doxygen warnings 2021-10-24 17:14:32 +02:00
Tom Henderson
4e9afa965d bindings: Rescan all APIs 2021-09-27 11:18:37 -07:00
Alexander Krotov
d8fe6bac00 core: (merges !623) Print available values on EnumChecker::GetValue () error 2021-09-25 12:42:23 -07:00
Peter D. Barnes, Jr
7c48447ffa core: Add hashing functor for creating hash of a Ptr 2021-09-15 22:01:48 +02:00
Tommaso Pecorella
dbb8b67ad8 core (fixes #452) Add TracedCallback::IsEmpty 2021-09-01 04:13:57 +02:00
Tommaso Pecorella
73a14518e7 core: (fixes #444) Remove Pareto::Mean attribute 2021-08-30 20:57:24 +00:00
Tommaso Pecorella
6ed23c3ae1 core: (fixes #445) update doc for Timer::State 2021-08-23 19:52:57 +00:00
Tom Henderson
7f90de5f31 core: Fix two typos (reported by Gabriel Arrobo) 2021-08-20 14:40:41 -07:00
Michael Scoggin
0f3fbffcd7 core: (merges !621) Add DistanceSquared and LengthSquared methods to Vectors
Complements existing methods to avoid unnecessary square roots in some cases
2021-08-18 20:56:40 -07:00
Michael Scoggin
a02b47a08a core: (merges !620) add operator to ptr to facilitate std alg 2021-08-18 16:22:55 -07:00
Tom Henderson
f1f2877c81 core: Update deprecation macro definitions 2021-07-31 07:48:30 -07:00
Stefano Avallone
ac6c4c2e69 core: Create<>() forwards parameters to constructors
Just like CreateObject does.
2021-07-22 07:29:42 +00:00
Peter D. Barnes, Jr
09d2a6e9c6 build: (fixes #52) Fix and standardize boost detection 2021-06-17 12:09:25 -07:00
Tommaso Pecorella
e2f1ff084b core: fix doxygen warnings 2021-05-01 00:19:55 +02:00
Steven Smith
bbcea3e502 core: (fixes #387) Fix MakeCallbackAccessor compilation error
Use more specific properties of containers to identify containers for specialization
2021-04-20 10:11:05 -07:00
Tom Henderson
db97b88195 core: Add missing include 2021-04-18 17:55:30 -07:00
Tommaso Pecorella
b6ee0842ac internet: deprecate Icmpv6RA::[G,S]etFlags 2021-03-19 01:11:00 +00:00
Tom Henderson
a3d5b5a971 bindings: Rescan APIs for core, mesh, netanim, spectrum, wave, wifi 2021-03-10 16:21:44 -08:00
Mattia Lecci
65b20bbc7d Fix CsvReader doc 2021-03-03 15:27:45 +00:00
Chappidi Yoga Satwik
854ca2ed34 core (fixes #349): Warn about Config::SetDefault() of deprecated attribute 2021-03-01 09:25:33 -08:00
Tommaso Pecorella
d2d5459888 core: fix trickle-timer compilation on clang gt 10 2021-02-07 10:12:44 +00:00
Tommaso Pecorella
457142a618 core: Trickle timer implementation 2021-02-06 04:47:50 +00:00
Tom Henderson
d1de97b68b core: Default to deterministic seed for random variable stream test 2021-01-31 20:40:50 -08:00
Tom Henderson
4a661dc399 bindings: Rescan all APIs 2020-12-30 14:21:24 -08:00
Tom Henderson
84ead2465d core: (fixes #302) Fix NormalRandomVariable cache values
Credit to Peter Barnes for finding bug and suggesting solution.  Also
affected the GammaRandomVariable (also fixed in this pach).
2020-12-28 13:38:49 -08:00
Tom Henderson
f059e8040f bindings: (fixes #318) Conditionally disable deprecated functions 2020-12-22 07:32:24 -08:00
Peter D. Barnes, Jr
11231ff23c Complete the doxy, show parallelism of GetDefault specializations. 2020-12-22 07:08:14 -08:00
Peter D. Barnes, Jr
c631ccbac5 core: (fixes #277) make Time::As() print with autoscaled unit 2020-12-22 07:08:14 -08:00
Tom Henderson
6002d927bc bindings: Rescan all APIs 2020-12-21 21:18:58 -08:00
Mathew Bielejeski
d72ef6ed2f core: (fixes #310) Change Length::Unit from enum class to plain enum
The script to generate python bindings does not currently support
c++11 strongly typed enums (enum class).
2020-12-19 13:23:49 -08:00
Mathew Bielejeski
60f11eedb9 core: (fixes #313) Manually parse input string when using libc++
There appears to be a bug in the libc++ implementation of istream
where it fails to extract values from strings that do not have a space
between the value and the unit symbol.  This patch provides a string
parsing method that does not rely on istream.
2020-12-19 11:54:49 -08:00
Mathew Bielejeski
2cea1e4ccd core: (merges !434) Length class to support length values with units 2020-12-02 20:05:29 -08:00
Peter D. Barnes, Jr
ed5a19f227 core: (merges !442) Add CsvReader for parsing of csv- or tab-delimited data 2020-12-02 18:06:23 -08:00
Peter D. Barnes, Jr
7889786c30 core: (fixes #265) Time is not rounded when created from int64x64_t 2020-11-27 21:10:11 -08:00
Peter D. Barnes, Jr
2340fcf260 core: Time::RoundTo (unit) to round Time to any unit
Merge of !475
2020-11-27 17:59:51 -08:00
Peter D. Barnes, Jr
eb432c90a5 core: int64x64_t GetInt() and Round(), with test cases
Merge of !473
2020-11-27 16:54:51 -08:00
Tom Henderson
7c8776111c core: Update Doxygen for ShowProgress class 2020-10-18 07:42:27 -07:00
Tom Henderson
9bfa3bd724 bindings: Rescan all APIs 2020-10-03 14:21:45 -07:00
Tommaso Pecorella
eeadfbb182 core: (fixes !426) Align TimeWithUnit printing to the "normal" double behaviour
The new time printing format uses "automatic" promotion to scientific
notation - just like for normal doubles.
2020-09-30 08:37:41 +00:00
Tom Henderson
a7df3b6a2e core: Add NS_DEPRECATED_3_32 tag 2020-09-29 09:42:11 -07:00
Tom Henderson
909193081e core: Rescan API definitions 2020-09-27 17:57:53 -07:00
Mathew Bielejeski
cbf04e69e1 build: (fix #259, merge !411) Minimize rebuilds due to git repository update
* 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
2020-09-27 16:20:50 -07:00
Peter D. Barnes, Jr
b90d4dee6d core: Move Set (void) to .h to terminate recursion. 2020-09-26 08:44:08 -07:00
Tommaso Pecorella
9938e70cb7 core: fix test linking Address from network module 2020-09-22 11:57:56 +02:00
Tommaso Pecorella
35271f301f core: fix AttributeContainerValue::Get 2020-09-22 11:57:16 +02:00
Jared Dulmage
d244597a2b Documentation, better conformance to AttributeChecker conventions
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.
2020-09-20 15:33:38 -07:00
Jared Dulmage
c8f2bf250e Addressed comments for nsnam/ns-3-dev MR 91
- Removed unnecessary files src/core/model/{attribute-container,pair}.cc
- Removed 'explicit' modifier to PairChecker
- Modified output stream operator for PairValue; update PairValueTestCase
- Updated src/core/wscript to latest master
- Added Pair and AttributeContainer to utils/print-introspected-doxygen.cc
2020-09-20 14:52:02 -07:00
Jared Dulmage
9392a452d8 Copyright and contact to Caliola Engineering, LLC 2020-09-20 14:52:02 -07:00
Jared Dulmage
643378b816 Removed extended-attribute-helper.h
This file should be part of another merge request.
2020-09-20 14:52:02 -07:00
Jared Dulmage
4f4c893e52 STL container and pair attributes
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.
2020-09-20 14:52:02 -07:00