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

C++ SDO spec compliance/portability: DataObject

    XMLWordPrintableJSON

Details

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

    Description

      The specification interface DataObject.h exposes off-spec member functions, these should be made internal to the implementation.

      ----Original Message----
      From: Michael Yoder
      Sent: Thursday, June 21, 2007 6:34 PM
      To: 'tuscany-dev@ws.apache.org'
      Subject: C++ SDO spec compliance/portability: DataObject

      Hi,

      In the DataObject interface, these member functions are exposed which aren't in the C++ 2.1 spec:

      virtual SDO_API bool hasProperty(const char* name) = 0;
      virtual SDO_API bool hasProperty(const SDOString& name) = 0;

      virtual SDO_API DataFactory* getDataFactory() = 0;

      virtual SDO_API void setUserData(const char* path,void* value) = 0;
      virtual SDO_API void setUserData(const SDOString& path, void* value) = 0;
      virtual SDO_API void setUserData(unsigned int propertyIndex, void* value) = 0;
      virtual SDO_API void setUserData(const Property& property, void* value) = 0;
      virtual SDO_API void setUserData(void* value) = 0;
      virtual SDO_API void* getUserData(const char* path) = 0;
      virtual SDO_API void* getUserData(const SDOString& path) = 0;
      virtual SDO_API void* getUserData(unsigned int propertyIndex) = 0;
      virtual SDO_API void* getUserData(const Property& property) = 0;
      virtual SDO_API void* getUserData() = 0;

      virtual SDO_SPI const char* objectToXPath() = 0;

      Would it be appropriate to file a Jira/patch to have these removed from the spec interface? Or alternatively a Jira to submit them to the spec committee?

      Thanks,

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

      Attachments

        1. TUSCANY-1370.txt
          13 kB
          Michael Yoder
        2. TUSCANY-1370v2.txt
          5 kB
          Michael Yoder
        3. TUSCANY-1370v2_b.txt
          8 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: