Commit Graph

43 Commits

Author SHA1 Message Date
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Peter Barnes
4dc0ec0682 core: (fixes #141) Print parent attributes from CommandLine --PrintAttributes 2021-12-17 01:04:14 +00:00
Peter Barnes
dd1d254a9f core: html-encode in CommandLine::PrintDoxygenUsage 2021-12-16 23:32:15 +00:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -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
Mathew Bielejeski
32e95f8228 Make build information accessible by programs by extracting data from the local git repository (or a standalone file if a git repository is not present).
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
2020-08-11 20:20:05 +00:00
Steven Smith
3a15ad78b8 core: Add test suite support for running examples as tests with comparison of output for regression testing 2020-05-26 21:42:16 +00:00
Peter D. Barnes, Jr
32d820e8c7 (minor) various bits of fix-ups 2020-05-11 18:19:19 -07:00
Peter Barnes
4df94a8377 core: (fixes 2916): Specialize CommandLine parsing of uint8_t 2020-05-05 15:57:26 +00:00
Peter D. Barnes, Jr
b23be18b3b Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
20f5e442ed doc: Add CommandLine::Usage to the doxygen for every example 2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
fddf3eaac4 doc: various doxygen fixups in core 2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
2fb2ed1689 doc: use \pname{} instead of \p when referring to arguments. 2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
063d86c096 core: clear check-style -l3 errors 2020-03-25 15:18:01 -07:00
Peter D. Barnes, Jr
f9b25ac56a core: CommandLine Callback typedef 2020-03-12 17:50:40 -07:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03:00
Peter D. Barnes, Jr.
8c84b8be73 core: bug 2461: CommandLine should handle non-option arguments 2018-04-05 17:32:03 -07:00
Peter D. Barnes, Jr.
e8f3f26eb0 core: command-line: minor docs and white space 2018-04-05 17:25:58 -07:00
Peter D. Barnes, Jr.
042d2e38e5 core: bug 2901: Add CommandLine::Parse (const std::vector<std::string>> args); 2018-04-03 14:49:27 -07:00
Peter D. Barnes, Jr.
bc2ab59d4c [doxy] core/model 2017-09-18 00:51:28 -07:00
Peter D. Barnes, Jr.
516b8b2ff9 [core] Document CommandLine feature request. 2016-09-03 00:56:53 -04:00
Peter D. Barnes, Jr.
e1a48462bc [Doxygen] Label arguments as in,out. Sentence capitalization. 2015-07-24 12:45:22 -07:00
Peter D. Barnes, Jr.
d5be610a4d [Doxygen] Remaining in core 2015-07-21 16:20:17 -07:00
Peter D. Barnes, Jr.
2e45a2ffd9 [Doxygen] Various in src/core 2015-01-16 11:55:23 -08:00
Peter D. Barnes, Jr.
7e2079057b [Doxygen] Various in src/core 2014-12-18 15:12:35 -08:00
Peter D. Barnes, Jr.
a5c748e8ab [Doxygen] CommandLine 2014-12-07 18:27:56 -08:00
Peter D. Barnes, Jr.
fdfece661a Bug 1972: documentation to clarify the behavior with repeated argument 2014-09-15 14:35:11 -07:00
Peter D. Barnes, Jr.
b8b676a8d7 CommandLine Attribute shorthand 2014-08-14 12:46:11 -07:00
Peter D. Barnes, Jr.
fa19c3d5e3 [doxygen] CommandLine formatting 2014-08-14 12:41:38 -07:00
Peter D. Barnes, Jr.
a274c8ea37 [doxygen] Make introspected lists more visible, various other doxy 2014-03-10 10:57:50 -07:00
Peter D. Barnes, Jr.
28ac4c7f40 [Bug 1653] Extension of CommandLine interface
Restore operator << (std::ostream, CommandLine) erroneously removed
in rev 10155.
2014-02-20 22:00:09 -08:00
Peter D. Barnes, Jr.
4a6adc5e51 Make CommandLine print boolean defaults as text.
And
- clarify the documentation
- make example arguments more explicit
- make "--boolArg" toggle the value, not set to true (this enables
    toggle on default true values)
2013-08-07 10:36:45 -07:00
Alexander Afanasyev
47a985c9ca [PATCH] core: Extending public interface of CommandLine class 2013-08-13 23:19:31 -07:00
Peter D. Barnes, Jr.
0ae8b1cb8d [Doxygen] src/core 2013-07-24 17:15:33 -07:00
Peter D. Barnes, Jr.
4b09ce3268 CommandLine callback example, show user defaults, code cleanup 2013-07-09 13:14:19 -07:00
Peter D. Barnes, Jr.
2b4ec72110 CommandLine: correct license.
Sorry Mathieu ;)
2013-06-14 14:01:19 -07:00
Peter D. Barnes, Jr.
744b0617a5 CommandLine: add Usage message, simplify bool args
Accept obvious bool arguments:  --arg --arg=t --arg=true
Get program name from argv[0]
Example program
Doxygenate
2013-06-14 13:54:39 -07:00
Vedran Miletić
39d338dbeb fix various doxygen errors 2011-11-26 21:13:46 -08:00
Tom Henderson
72fb9dc50c Fix some doxygen errors 2011-08-17 16:55:53 -07:00
Mathieu Lacage
4c41275a11 remove ns3/ prefix which is un-needed now that all files are in same module. 2011-08-02 01:59:36 -07:00
Josh Pelkey
86379fa5b5 core coding style changes 2011-05-13 14:52:27 -04:00
Tom Henderson
df07734f32 merge src/simulator into src/core; move src/core to new module layout 2011-02-18 16:05:39 -08:00