Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-985

Add methods to determine anonymous types and whether Type should be externalized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6 Beta
    • 1.6 Beta
    • Basic Architecture
    • None

    Description

      The code related to this issue is simply new infrastructure that includes:

      --ability to determine if an object of class Type is an anonymous type via method isAnonymous()
      --ability to indicate whether object of class Type should be generated or not via method externalize()

      Due to the enhancements above, various parts of the code was changed to use the new methods instead of using code such as atype.getLanguageSpecificName().startsWith(">").

      The new infrastructure is needed so that eventually the languageSpecific name can be made nicer for anonymous types (e.g. for an anonymous type of >>Item>sometype, we currently generate __Item_sometype class. It would be nice to generate a simpler name - such as sometype.

      In addition, the support was added in preparation to correct the problem where not all required types are being generated, as well as simplifying how we externalize a Type object.

      Attachments

        Activity

          People

            nadiramra Nadir K. Amra
            nadiramra Nadir K. Amra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: