STL string support: Add SDOString class and extend DataFactory interface
------------------------------------------------------------------------
Key: TUSCANY-404
URL: http://issues.apache.org/jira/browse/TUSCANY-404
Project: Tuscany
Type: New Feature
Components: C++ SDO
Versions: Cpp-current
Environment: All supported platforms.
Reporter: Geoff Winn
It would be beneficial to use STL style std::strings in the SDO for C++
interfaces and internals. As a step toward that I would like to check in a new
SDOString class and modifications to the DataFactory class to add new methods
to its interface that accept SDOStrings rather than char* as parameters. There
is also one extra test that exercises these new methods.
The substantive changes consist of patches to DataFactory.h, DataFactoryImpl.h
and DataFactoryImpl.cpp plus two new files, SDOString.cpp and SDOString.h that
should be added as siblings of DataFactoryImpl.cpp and .h respectively. The
additional test is a patch to main.cpp, sdotest.cpp and sdotest.h
These changes should be safe because the existing codebase is essentially
undisturbed. For the moment, the new methods simply call their char*
equivalents.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira