1. 20 Sep, 2020 13 commits
    • Jared Dulmage's avatar
      mobility: (merges !101) Add CartesianToGeographic conversion with test · 19a5e0de
      Jared Dulmage authored
      There are cases where it is useful to return to geographic
      coordinates from cartesian.  One example is when you have a
      mobile node, the position is updated in cartesian coordinates
      but you may have a need to understand the geographic position
      or heading when determining position relative to other objects
      placed geographically, or to compute compass heading or surface
      speed.
      19a5e0de
    • Jared Dulmage's avatar
      config-store: (merges !93) Address review comments for RawTextConfig MR · 7514b453
      Jared Dulmage authored
      - Added documentation to raw-text-config.h
      - Fixed abort conditions in raw-text-config.cc, RawTextConfigLoad::Strip
      - Fixed formatting of ParseLine block in load functions
      - Added value.clear() after setting attribute
      - Added --load option to config-store-save example, removed config-store-load
      - Updated comments, doxygen docs, and example help text.
      7514b453
    • Jared Dulmage's avatar
      411c776f
    • Jared Dulmage's avatar
      Changes according to MR 93 feedback · a8c8965d
      Jared Dulmage authored
      -- Added GPL license to config-store-load.cc example
      -- Enclosed all if-condition code in braces
      -- Changed ASSERT checks on inputs in raw-text-config.cc to ABORT checks
      a8c8965d
    • Jared Dulmage's avatar
      416457f0
    • Jared Dulmage's avatar
    • Jared Dulmage's avatar
      Address comments in NS-3 merge request 93 · 9040da4a
      Jared Dulmage authored
      There were a number of constructive comments on the original
      merge request.
      
      1.  Prior checks in RawTextConfigLoad::Strip ensured the value string
      was entirely enclosed in quotation marks.  The original MR removed
      those checks.  This revision reintroduces those checks.  Assert
      messages have been improved with more information.
      2.  RawTextConfigLoad::ParseString was not checking for an empty
      line before accessing the first element.
      3.  RawTextConfigLoad::ParseString was improved to better handle
      whitespace prior to the final value field.
      
      A new config-store-load example was created to allow one to check
      a hand-edited config-store raw text file to test the new features.
      9040da4a
    • Jared Dulmage's avatar
      Add features for human-editable RawTextConfig files · a65112aa
      Jared Dulmage authored
      Features include: ignore # (hash) prefixed comment lines,
      ignore blank lines, allow multi-line values.  The latter
      feature is particularly useful for entering large arrays
      of values that may be set to a container structure.
      a65112aa
    • Jared Dulmage's avatar
      Documentation, better conformance to AttributeChecker conventions · d244597a
      Jared Dulmage authored
      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.
      d244597a
    • Jared Dulmage's avatar
      Addressed comments for nsnam/ns-3-dev MR 91 · c8f2bf25
      Jared Dulmage authored
      - 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
      c8f2bf25
    • Jared Dulmage's avatar
      9392a452
    • Jared Dulmage's avatar
      Removed extended-attribute-helper.h · 643378b8
      Jared Dulmage authored
      This file should be part of another merge request.
      643378b8
    • Jared Dulmage's avatar
      STL container and pair attributes · 4f4c893e
      Jared Dulmage authored
      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.
      4f4c893e
  2. 18 Sep, 2020 2 commits
  3. 17 Sep, 2020 5 commits
  4. 16 Sep, 2020 12 commits
  5. 15 Sep, 2020 8 commits