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

Need to improve documentation for C++ embedding

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.4
    • Fix Version/s: 7.4.12
    • Component/s: Documentation
    • Labels:
      None

      Description

      The documentation for ECL to C++ Mapping:

      https://hpccsystems.com/training/documentation/ecl-language-reference/html/Special_Structures.html%23ECL_to_Cplus_Mapping

      is missing some information needed to return datasets with variable length fields.  Specifically:

      • How do you pack variable length fields such as SET OF REAL.  It turns out that there is an ALL flag and length that needs to be packed before the set data.  A field format table (similar to the very useful one for input variables) needs to be added that shows how each data type is provided back to the dataset. 
      • Also, the example I was given for returning streamed datasets uses the RtlDynamicRowBuilder class, which was not used in the examples in the doc above.  Using this class with variable length fields also requires documentation of the ensureCapacity call of that class.  It is possible that that class is not required in which case this comment is moot

        Attachments

          Activity

            People

            • Assignee:
              jamesdefabia Jim DeFabia
              Reporter:
              rdev Roger Dev
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: