Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-6876

GmatBase needs a method that consolidates scripted string identifiers

    Details

      Description

      Several different types are handled identically as strings in script interpretation, leading to code that looks like

            UnsignedInt type = GetParameterType(id);
            if ( (type == Gmat::STRING_TYPE) ||
                 (type == Gmat::OBJECT_TYPE) ||
                 (type == Gmat::ENUMERATION_TYPE) ||
                 (type == Gmat::FILENAME_TYPE) )
            {
            ...
      

      GmatBase or a utility should consolidate this string test, so that we don't need to search for all the places this can occur when a new string-in-script type is added.

      (This is a P2 thing for R2019a.)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                djcinsb Darrel Conway
                Reporter:
                djcinsb Darrel Conway
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: