Make IDL _anchorObj field and setter protected

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2023-02-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For classes that derive from IDL base classes, there is a need to parse a BSONObj to the derived type as a deep copy. In order to accomplish this, the BSONObj anchor field needs to be owned by the derived class.

       

      Currently, the _anchorObj field and its setter - setAnchor() - are private. Making these protected will allow a derived class to have access to these members without redefining them.

              Assignee:
              Matt Kneiser
              Reporter:
              Matt Kneiser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: