Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-8835

Generate shared global classes instead of member classes (for hash/compare)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      There are a few occasions where the hash/compare functions need to be generated as member functions (e.g. where a field of a parent dataset is used).

      However 99% of the time the classes could be generated globally and shared between all classes. To avoid having lots of classes in the header file it would be best to provide accessor functions to get a shared static singleton instances.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shamser Shamser Ahmed
                Reporter:
                ghalliday Gavin Halliday
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: