Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1371

C++ SDO spec compliance/portability: DataObject::getInstanceProperty(const std::string& prop)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Cpp-M3
    • None
    • C++ SDO, C++ Specification
    • None
    • API issue - all platforms

    Description

      The Tuscany C++ SDO specification interface introduces off-spec member function overloads for "getProperty". The SDO 2.1 spec introduces the member function: DataObject::getInstanceProperty(const std::string& prop), whicfh should replace these functions.

      ----Original Message----
      From: Michael Yoder
      Sent: Thursday, June 21, 2007 6:35 PM
      To: 'tuscany-dev@ws.apache.org'
      Subject: C++ SDO spec compliance/portability: DataObject::getInstanceProperty(const std::string& prop)

      Hi,

      In the DataObject interface, these member functions are present which are not in the C++ 2.1 specification:

      virtual const Property& getProperty(unsigned int index) = 0;
      virtual const Property& getProperty(const char* prop) = 0;
      virtual const Property& getProperty(const SDOString& prop) = 0;

      Since the 2.1 spec now has "getInstanceProperty(const std::string& prop)", would it be a good idea to file a Jira/patch to replace these member functions with it in the specification interface?

      Thanks,

      Michael Yoder
      Rogue Wave Software - yoder@roguewave.com Software Developer - HydraSDO

      Attachments

        1. TUSCANY-1371.txt
          88 kB
          Michael Yoder

        Activity

          People

            Unassigned Unassigned
            michaelbyoder Michael Yoder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: