Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Cpp-M3
-
None
-
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