Uploaded image for project: '1D Redmine '
  1. 1D Redmine
  2. REDMINE1D-132

[RM-7475] [refactor] derive CLineCatalog from TLineVector

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Won't Fix (View Workflow)
    • Priority: Normal
    • Resolution: Won't Fix
    • Labels:
      None

      Description

      Created on 2022-09-01 15:14:57 by Didier Vibert. % Done: 0

      CLineCatalog is essentially a container for one member :

      <pre><code class="cpp">
      TLineVector m_list;
      </code></pre>

      it would be better to try to redeclare it as a derived class of TLineVector which is an STL vector (std::vector<CLine>)

      it then enables to pass the full CLineCatalog instance where we pass only a TLineVector, and will avoid code duplication to manipulate the TLineVector....

        Attachments

          Activity

            People

            • Assignee:
              r2j.migrate Redmine-Jira Migtation
              Reporter:
              r2j.migrate Redmine-Jira Migtation
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: