objecthandler-cvs Mailing List for ObjectHandler (Page 14)
Brought to you by:
ericehlers,
nando
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(115) |
Jun
(109) |
Jul
(85) |
Aug
(49) |
Sep
(19) |
Oct
(105) |
Nov
(16) |
Dec
(43) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(63) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Eric E. <eri...@us...> - 2006-07-31 14:27:01
|
Update of /cvsroot/objecthandler/log4cxx-0.9.7/include/log4cxx/db In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18360/include/log4cxx/db Added Files: .cvsignore Log Message: preparing for release --- NEW FILE: .cvsignore --- Makefile Makefile.in |
From: Eric E. <eri...@us...> - 2006-07-31 14:27:01
|
Update of /cvsroot/objecthandler/log4cxx-0.9.7/include/log4cxx/helpers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18360/include/log4cxx/helpers Added Files: .cvsignore Log Message: preparing for release --- NEW FILE: .cvsignore --- Makefile Makefile.in |
From: Eric E. <eri...@us...> - 2006-07-31 14:27:01
|
Update of /cvsroot/objecthandler/log4cxx-0.9.7/include/log4cxx/nt In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18360/include/log4cxx/nt Added Files: .cvsignore Log Message: preparing for release --- NEW FILE: .cvsignore --- Makefile Makefile.in |
From: Eric E. <eri...@us...> - 2006-07-31 14:27:01
|
Update of /cvsroot/objecthandler/log4cxx-0.9.7/include/log4cxx In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18360/include/log4cxx Added Files: .cvsignore Log Message: preparing for release --- NEW FILE: .cvsignore --- Makefile Makefile.in config_auto.h stamp-h1 |
From: Eric E. <eri...@us...> - 2006-07-31 14:27:00
|
Update of /cvsroot/objecthandler/log4cxx-0.9.7/include In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18360/include Added Files: .cvsignore Log Message: preparing for release --- NEW FILE: .cvsignore --- Makefile Makefile.in |
From: Eric E. <eri...@us...> - 2006-07-31 14:27:00
|
Update of /cvsroot/objecthandler/log4cxx-0.9.7/include/log4cxx/config In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18360/include/log4cxx/config Added Files: .cvsignore Log Message: preparing for release --- NEW FILE: .cvsignore --- Makefile Makefile.in |
From: Eric E. <eri...@us...> - 2006-07-30 10:48:04
|
Update of /cvsroot/objecthandler/log4cxx-0.9.7/msvc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28312/msvc Modified Files: Makefile.am Removed Files: log4cxx.dsw Log Message: remove VC6 workspace --- log4cxx.dsw DELETED --- Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/log4cxx-0.9.7/msvc/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 25 May 2006 11:41:32 -0000 1.1 --- Makefile.am 30 Jul 2006 10:48:00 -0000 1.2 *************** *** 1,2 **** SUBDIRS = simplesocketserver static tests performance examples ! EXTRA_DIST = log4cxx.dsw log4cxx.sln --- 1,3 ---- SUBDIRS = simplesocketserver static tests performance examples ! EXTRA_DIST = log4cxx.sln log4cxx_vc8.sln ! |
From: Eric E. <eri...@us...> - 2006-07-29 20:35:25
|
Update of /cvsroot/objecthandler/ObjectHandler In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25031 Modified Files: configure.ac Log Message: update copyrights Index: configure.ac =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/configure.ac,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** configure.ac 26 Jul 2006 09:36:13 -0000 1.2 --- configure.ac 29 Jul 2006 20:35:23 -0000 1.3 *************** *** 9,16 **** AM_INIT_AUTOMAKE([foreign]) ! AC_COPYRIGHT([ Copyright (C) 2004, 2005 Eric Ehlers Copyright (C) 2004, 2005 Ferdinando Ametrano ! Copyright (C) 2004 Daniel Duffy - Datasim Copyright (C) 2004 StatPro Italia srl --- 9,16 ---- AM_INIT_AUTOMAKE([foreign]) ! AC_COPYRIGHT([ Copyright (C) 2004, 2005, 2006 Eric Ehlers Copyright (C) 2004, 2005 Ferdinando Ametrano ! Copyright (C) 2005, 2006 Plamen Neykov Copyright (C) 2004 StatPro Italia srl |
From: Eric E. <eri...@us...> - 2006-07-29 15:18:53
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/metadata In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31805/gensrc/metadata Modified Files: functions.xml Log Message: cleaner syntax for supported platforms Index: functions.xml =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/metadata/functions.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** functions.xml 17 Jul 2006 10:11:39 -0000 1.12 --- functions.xml 29 Jul 2006 15:15:28 -0000 1.13 *************** *** 8,13 **** <Procedure name='ohVersion'> <description>returns the version number of ObjectHandler</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::version</alias> <ParameterList> <Parameters/> --- 8,15 ---- <Procedure name='ohVersion'> <description>returns the version number of ObjectHandler</description> <alias>ObjHandler::version</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters/> *************** *** 21,26 **** <Procedure name='ohObjectCount'> <description>#/objects in repository</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::ObjectHandlerXL::instance().objectCount</alias> <ParameterList> <Parameters/> --- 23,30 ---- <Procedure name='ohObjectCount'> <description>#/objects in repository</description> <alias>ObjHandler::ObjectHandlerXL::instance().objectCount</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters/> *************** *** 34,39 **** <Procedure name='ohListObjectIDs'> <description>list the IDs of objects in repository matching regex</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::ObjectHandlerXL::instance().listObjectIDs</alias> <ParameterList> <Parameters> --- 38,45 ---- <Procedure name='ohListObjectIDs'> <description>list the IDs of objects in repository matching regex</description> <alias>ObjHandler::ObjectHandlerXL::instance().listObjectIDs</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 53,58 **** <Member name='ohPropertyNames' objectClass='Object'> <description>retrieve the property names of a given object</description> - <!--platforms>CGO</platforms--> <libraryFunction>propertyNames</libraryFunction> <ParameterList> <Parameters/> --- 59,66 ---- <Member name='ohPropertyNames' objectClass='Object'> <description>retrieve the property names of a given object</description> <libraryFunction>propertyNames</libraryFunction> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters/> *************** *** 66,71 **** <Member name='ohPropertyValue' objectClass='Object' dependencyTrigger='true'> <description>retrieve the value of a named property</description> - <!--platforms>CGO</platforms--> <libraryFunction>propertyValue</libraryFunction> <ParameterList> <Parameters> --- 74,81 ---- <Member name='ohPropertyValue' objectClass='Object' dependencyTrigger='true'> <description>retrieve the value of a named property</description> <libraryFunction>propertyValue</libraryFunction> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 85,90 **** <Procedure name='ohDeleteObject'> <description>delete object from repository</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::ObjectHandlerXL::instance().deleteObject</alias> <ParameterList> <Parameters> --- 95,102 ---- <Procedure name='ohDeleteObject'> <description>delete object from repository</description> <alias>ObjHandler::ObjectHandlerXL::instance().deleteObject</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 104,109 **** <Procedure name='ohDeleteAllObjects'> <description>delete all objects from repository</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::ObjectHandlerXL::instance().deleteAllObjects</alias> <ParameterList> <Parameters> --- 116,123 ---- <Procedure name='ohDeleteAllObjects'> <description>delete all objects from repository</description> <alias>ObjHandler::ObjectHandlerXL::instance().deleteAllObjects</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 123,128 **** <Procedure name='ohDependsOn'> <description>forces a dependency between two functions and returns the update counter</description> - <!--platforms>D</platforms--> <alias>ObjHandler::dependsOn</alias> <ParameterList> <Parameters> --- 137,144 ---- <Procedure name='ohDependsOn'> <description>forces a dependency between two functions and returns the update counter</description> <alias>ObjHandler::dependsOn</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 187,192 **** <Procedure name='ohSetLogFile'> <description>begin logging to named file</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::setLogFile</alias> <ParameterList> <Parameters> --- 203,210 ---- <Procedure name='ohSetLogFile'> <description>begin logging to named file</description> <alias>ObjHandler::setLogFile</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 211,216 **** <Procedure name='ohSetLogLevel'> <description>set threshold for log messages</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::setLogLevel</alias> <ParameterList> <Parameters> --- 229,236 ---- <Procedure name='ohSetLogLevel'> <description>set threshold for log messages</description> <alias>ObjHandler::setLogLevel</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 231,236 **** <Procedure name='ohLogMessage'> <description>log a message</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::logMessage</alias> <ParameterList> <Parameters> --- 251,258 ---- <Procedure name='ohLogMessage'> <description>log a message</description> <alias>ObjHandler::logMessage</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 256,261 **** <Procedure name='ohLogObject'> <description>write object description to log file</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::logObject</alias> <ParameterList> <Parameters> --- 278,285 ---- <Procedure name='ohLogObject'> <description>write object description to log file</description> <alias>ObjHandler::logObject</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 275,280 **** <Procedure name='ohLogAllObjects'> <description>write all object descriptions to log file</description> - <!--platforms>CGO</platforms--> <alias>ObjHandler::logAllObjects</alias> <ParameterList> <Parameters/> --- 299,306 ---- <Procedure name='ohLogAllObjects'> <description>write all object descriptions to log file</description> <alias>ObjHandler::logAllObjects</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters/> *************** *** 288,293 **** <!--Procedure name='ohSetConsole'> <description>fork output to stdout</description> - <platforms>CG</platforms> <alias>ObjHandler::setConsole</alias> <ParameterList> <Parameters> --- 314,321 ---- <!--Procedure name='ohSetConsole'> <description>fork output to stdout</description> <alias>ObjHandler::setConsole</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 312,316 **** <!--Procedure name='ohGetGcEnabled'> <description>get value of ObjectHandler garbage collection flag</description> ! <platforms>D</platforms> <ParameterList> <Parameters/> --- 340,346 ---- <!--Procedure name='ohGetGcEnabled'> <description>get value of ObjectHandler garbage collection flag</description> ! <supportedPlatforms> ! <supportedPlatform>excel</supportedPlatform> ! </supportedPlatforms> <ParameterList> <Parameters/> *************** *** 324,328 **** <Procedure name='ohSetGcEnabled'> <description>set value of ObjectHandler garbage collection flag</description> ! <platforms>D</platforms> <ParameterList> <Parameters> --- 354,360 ---- <Procedure name='ohSetGcEnabled'> <description>set value of ObjectHandler garbage collection flag</description> ! <supportedPlatforms> ! <supportedPlatform>excel</supportedPlatform> ! </supportedPlatforms> <ParameterList> <Parameters> *************** *** 342,347 **** <Procedure name='ohCallGC'> <description>delete orphaned objects from repository</description> - <!--platforms>D</platforms--> <alias>ObjHandler::ObjectHandlerXL::instance().collectGarbage</alias> <ParameterList> <Parameters> --- 374,381 ---- <Procedure name='ohCallGC'> <description>delete orphaned objects from repository</description> <alias>ObjHandler::ObjectHandlerXL::instance().collectGarbage</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters> *************** *** 362,365 **** --- 396,402 ---- <description>return last error message</description> <alias>ObjHandler::ObjectHandler::instance().lastErrorMessage</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> <ParameterList> <Parameters/> |
From: Ferdinando A. <na...@us...> - 2006-07-28 12:21:26
|
Update of /cvsroot/objecthandler/ObjectHandler/oh In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13415/oh Modified Files: object.hpp Log Message: VC7.1 fix Index: object.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/object.hpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** object.hpp 27 Jul 2006 09:37:35 -0000 1.14 --- object.hpp 28 Jul 2006 12:21:24 -0000 1.15 *************** *** 36,40 **** // get a boost shared pointer to a class derived from Object #define OH_GET_OBJECT( NAME, ID, OBJECT_CLASS ) \ ! boost::shared_ptr<OBJECT_CLASS> NAME; \ ObjHandler::ObjectHandler::instance().retrieveObject(NAME, ID); --- 36,40 ---- // get a boost shared pointer to a class derived from Object #define OH_GET_OBJECT( NAME, ID, OBJECT_CLASS ) \ ! boost::shared_ptr< OBJECT_CLASS > NAME; \ ObjHandler::ObjectHandler::instance().retrieveObject(NAME, ID); |
From: Eric E. <eri...@us...> - 2006-07-28 07:56:17
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/ohxl Modified Files: Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 19 May 2006 15:12:41 -0000 1.1 --- Makefile.am 26 Jul 2006 09:36:15 -0000 1.2 *************** *** 1,17 **** EXTRA_DIST = \ ! instancenamexl.cpp \ ! instancenamexl.hpp \ ! functioncall.cpp \ ! functioncall.hpp \ conversions.cpp \ conversions.hpp \ ! export.hpp \ ! functions.cpp \ objecthandlerxl.cpp \ objecthandlerxl.hpp \ ! register.cpp \ register.hpp \ - unregister.cpp \ unregister.hpp --- 1,14 ---- EXTRA_DIST = \ ! callingrange.cpp \ ! callingrange.hpp \ conversions.cpp \ conversions.hpp \ ! functioncall.cpp \ ! functioncall.hpp \ objecthandlerxl.cpp \ objecthandlerxl.hpp \ ! objhandlerxl.hpp \ register.hpp \ unregister.hpp |
From: Eric E. <eri...@us...> - 2006-07-28 05:36:56
|
Update of /cvsroot/objecthandler/ObjectHandler/Examples/xl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31825/Examples/xl Modified Files: addinstatic.cpp Log Message: fix for gcc4.1.0 - use overloaded functions instead of template specializations Index: addinstatic.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/addinstatic.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** addinstatic.cpp 19 Jun 2006 08:24:20 -0000 1.9 --- addinstatic.cpp 27 Jul 2006 09:37:35 -0000 1.10 *************** *** 122,128 **** ( new ObjHandler::FunctionCall("createAccount") ); ! //OH_GET_OBJECT(accountObject, instanceName, AccountObject) ! boost::shared_ptr < AccountObject > accountObject = ! ObjHandler::ObjectHandler::instance().retrieveObject<AccountObject>(instanceName); accountObject->setBalance(*balance); --- 122,126 ---- ( new ObjHandler::FunctionCall("createAccount") ); ! OH_GET_OBJECT(accountObject, instanceName, AccountObject) accountObject->setBalance(*balance); *************** *** 145,151 **** ( new ObjHandler::FunctionCall("createAccount") ); ! //OH_GET_OBJECT(accountObject, instanceName, AccountObject) ! boost::shared_ptr < AccountObject > accountObject = ! ObjHandler::ObjectHandler::instance().retrieveObject<AccountObject>(instanceName); static long ret; --- 143,147 ---- ( new ObjHandler::FunctionCall("createAccount") ); ! OH_GET_OBJECT(accountObject, instanceName, AccountObject) static long ret; |
From: Eric E. <eri...@us...> - 2006-07-27 22:42:12
|
Update of /cvsroot/objecthandler/ObjectHandler/xlsdk In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/xlsdk Modified Files: .cvsignore Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 Index: .cvsignore =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/xlsdk/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 24 May 2006 09:42:09 -0000 1.2 --- .cvsignore 26 Jul 2006 09:36:15 -0000 1.3 *************** *** 1 **** ! *.user --- 1,3 ---- ! Makefile ! Makefile.in ! Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/xlsdk/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 19 May 2006 15:12:41 -0000 1.1 --- Makefile.am 26 Jul 2006 09:36:15 -0000 1.2 *************** *** 1,5 **** EXTRA_DIST = \ ! autolink.hpp \ framewrk.cpp \ framewrk.hpp \ --- 1,5 ---- EXTRA_DIST = \ ! auto_link.hpp \ framewrk.cpp \ framewrk.hpp \ *************** *** 7,11 **** xlcall.h \ xlsdkdefines.hpp \ - xlsdk.dsp \ xlsdk.hpp \ xlsdk.vcproj \ --- 7,10 ---- |
From: Eric E. <eri...@us...> - 2006-07-27 22:36:07
|
Update of /cvsroot/objecthandler/ObjectHandler/oh In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31825/oh Modified Files: object.hpp objecthandler.hpp Log Message: fix for gcc4.1.0 - use overloaded functions instead of template specializations Index: object.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/object.hpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** object.hpp 26 Jul 2006 09:36:15 -0000 1.13 --- object.hpp 27 Jul 2006 09:37:35 -0000 1.14 *************** *** 36,54 **** // get a boost shared pointer to a class derived from Object #define OH_GET_OBJECT( NAME, ID, OBJECT_CLASS ) \ ! boost::shared_ptr<OBJECT_CLASS > NAME = \ ! ObjHandler::ObjectHandler::instance().retrieveObject<OBJECT_CLASS >(ID); // get a boost shared pointer to the client library object referenced by an ObjHandler::Object #define OH_GET_REFERENCE( NAME, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ OH_GET_OBJECT(NAME ## temp, ID, OBJECT_CLASS ) \ ! /*const*/ boost::shared_ptr<LIBRARY_CLASS> NAME = \ ! NAME ## temp->getLibraryObject<LIBRARY_CLASS>(); // OH_GET_REFERENCE_DEFAULT - like OH_GET_REFERENCE but only attempt retrieval if id supplied #define OH_GET_REFERENCE_DEFAULT( NAME, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ ! /*const*/ boost::shared_ptr<LIBRARY_CLASS> NAME; \ if (!ID.empty()) { \ OH_GET_OBJECT(NAME ## temp, ID, OBJECT_CLASS ) \ ! NAME = NAME ## temp->getLibraryObject<LIBRARY_CLASS>(); \ } --- 36,54 ---- // get a boost shared pointer to a class derived from Object #define OH_GET_OBJECT( NAME, ID, OBJECT_CLASS ) \ ! boost::shared_ptr<OBJECT_CLASS> NAME; \ ! ObjHandler::ObjectHandler::instance().retrieveObject(NAME, ID); // get a boost shared pointer to the client library object referenced by an ObjHandler::Object #define OH_GET_REFERENCE( NAME, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ OH_GET_OBJECT(NAME ## temp, ID, OBJECT_CLASS ) \ ! boost::shared_ptr<LIBRARY_CLASS> NAME; \ ! NAME ## temp->getLibraryObject(NAME); // OH_GET_REFERENCE_DEFAULT - like OH_GET_REFERENCE but only attempt retrieval if id supplied #define OH_GET_REFERENCE_DEFAULT( NAME, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ ! boost::shared_ptr<LIBRARY_CLASS> NAME; \ if (!ID.empty()) { \ OH_GET_OBJECT(NAME ## temp, ID, OBJECT_CLASS ) \ ! NAME ## temp->getLibraryObject(NAME); \ } *************** *** 142,151 **** public: template <class LibraryDerivedClass> ! /*const*/ boost::shared_ptr<LibraryDerivedClass> getLibraryObject() const { ! boost::shared_ptr<LibraryDerivedClass> ret = ! boost::dynamic_pointer_cast<LibraryDerivedClass>(libraryObject_); ! if (ret) ! return ret; ! else { std::ostringstream msg; msg << "Error retrieving library object - unable to convert reference" --- 142,148 ---- public: template <class LibraryDerivedClass> ! void getLibraryObject(boost::shared_ptr<LibraryDerivedClass> &ret) const { ! ret = boost::dynamic_pointer_cast<LibraryDerivedClass>(libraryObject_); ! if (!ret) { std::ostringstream msg; msg << "Error retrieving library object - unable to convert reference" *************** *** 154,164 **** throw Exception(msg.str()); } - } ! // temporarily commented out - need to fix the syntax for gcc 4.1.0 ! //template <> ! ///*const*/ boost::shared_ptr<LibraryClass> getLibraryObject<LibraryClass>() const { ! // return libraryObject_; ! //} protected: boost::shared_ptr<LibraryClass> libraryObject_; --- 151,158 ---- throw Exception(msg.str()); } } ! void getLibraryObject(boost::shared_ptr<LibraryClass> &ret) const { ! ret = libraryObject_; ! } protected: boost::shared_ptr<LibraryClass> libraryObject_; Index: objecthandler.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/objecthandler.hpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** objecthandler.hpp 26 Jul 2006 09:36:15 -0000 1.10 --- objecthandler.hpp 27 Jul 2006 09:37:35 -0000 1.11 *************** *** 56,75 **** template < typename T > ! boost::shared_ptr < T > retrieveObject(const std::string &id) { ! boost::shared_ptr < Object > object = retrieveObjectImpl(id); ! boost::shared_ptr < T > ret = ! boost::dynamic_pointer_cast < T > (object); if (!ret) throw Exception("Error retrieving object with id '" + id + "' - unable to convert reference to type '" + typeid(T).name() + "'"); - return ret; } ! //template <> ! //boost::shared_ptr < Object > retrieveObject<Object>( ! // const std::string &id) { ! // return retrieveObjectImpl(id); ! //} //! Delete Object with given instance name. --- 56,73 ---- template < typename T > ! void retrieveObject(boost::shared_ptr<T> &ret, const std::string &id) { ! boost::shared_ptr<Object> object = retrieveObjectImpl(id); ! ret = boost::dynamic_pointer_cast<T> (object); if (!ret) throw Exception("Error retrieving object with id '" + id + "' - unable to convert reference to type '" + typeid(T).name() + "'"); } ! void retrieveObject( ! boost::shared_ptr<Object> &ret, ! const std::string &id) { ! ret = retrieveObjectImpl(id); ! } //! Delete Object with given instance name. *************** *** 114,123 **** }; - template <> - inline boost::shared_ptr<Object> ObjectHandler::retrieveObject<Object>( - const std::string &id) { - return retrieveObjectImpl(id); - } - } --- 112,115 ---- |
From: Eric E. <eri...@us...> - 2006-07-27 14:24:24
|
Update of /cvsroot/objecthandler/ObjectHandler/xlsdk In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21097/xlsdk Modified Files: .cvsignore Log Message: Index: .cvsignore =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/xlsdk/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .cvsignore 26 Jul 2006 09:36:15 -0000 1.3 --- .cvsignore 27 Jul 2006 14:24:16 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- Makefile Makefile.in + *.user |
From: Eric E. <eri...@us...> - 2006-07-27 14:24:20
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21097/gensrc Modified Files: .cvsignore Log Message: Index: .cvsignore =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 26 Jul 2006 09:36:14 -0000 1.2 --- .cvsignore 27 Jul 2006 14:24:16 -0000 1.3 *************** *** 1,3 **** --- 1,5 ---- Makefile Makefile.in + build + *.user |
From: Eric E. <eri...@us...> - 2006-07-27 06:23:10
|
Update of /cvsroot/objecthandler/ObjectHandler/oh In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/oh Modified Files: Makefile.am object.hpp objecthandler.hpp Log Message: updates for linux/autoconf/gcc4.1.0 Index: object.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/object.hpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** object.hpp 19 Jul 2006 16:39:27 -0000 1.12 --- object.hpp 26 Jul 2006 09:36:15 -0000 1.13 *************** *** 28,33 **** --- 28,35 ---- #include <oh/valueobject.hpp> #include <oh/objhandlerdefines.hpp> + #include <oh/exception.hpp> #include <vector> #include <string> + #include <sstream> #include <iostream> *************** *** 148,161 **** std::ostringstream msg; msg << "Error retrieving library object - unable to convert reference" ! " from type " << std::endl << " " << typeid(LibraryClass).name() << ! " to type " << std::endl << " " << typeid(LibraryDerivedClass).name(); throw Exception(msg.str()); } } ! template <> ! /*const*/ boost::shared_ptr<LibraryClass> getLibraryObject<LibraryClass>() const { ! return libraryObject_; ! } protected: boost::shared_ptr<LibraryClass> libraryObject_; --- 150,164 ---- std::ostringstream msg; msg << "Error retrieving library object - unable to convert reference" ! << " from type " << std::endl << " " << typeid(LibraryClass).name() ! << " to type " << std::endl << " " << typeid(LibraryDerivedClass).name(); throw Exception(msg.str()); } } ! // temporarily commented out - need to fix the syntax for gcc 4.1.0 ! //template <> ! ///*const*/ boost::shared_ptr<LibraryClass> getLibraryObject<LibraryClass>() const { ! // return libraryObject_; ! //} protected: boost::shared_ptr<LibraryClass> libraryObject_; Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 19 May 2006 15:12:41 -0000 1.1 --- Makefile.am 26 Jul 2006 09:36:15 -0000 1.2 *************** *** 3,10 **** include_HEADERS = \ - config.hpp \ exception.hpp \ logger.hpp \ - objecthandlerbase.hpp \ objecthandler.hpp \ object.hpp \ --- 3,8 ---- *************** *** 16,23 **** EXTRA_DIST = \ ! autolink.hpp lib_LTLIBRARIES = libObjectHandler.la ! LDFLAGS = -llog4cxx -lboost_regex-gcc -release $(PACKAGE_VERSION) libObjectHandler_la_SOURCES = \ --- 14,21 ---- EXTRA_DIST = \ ! auto_link.hpp lib_LTLIBRARIES = libObjectHandler.la ! LDFLAGS = -llog4cxx -lboost_regex -release $(PACKAGE_VERSION) libObjectHandler_la_SOURCES = \ *************** *** 25,29 **** logger.cpp \ object.cpp \ ! objecthandlerbase.cpp \ utilities.cpp --- 23,27 ---- logger.cpp \ object.cpp \ ! objecthandler.cpp \ utilities.cpp Index: objecthandler.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/objecthandler.hpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** objecthandler.hpp 17 Jul 2006 10:11:39 -0000 1.9 --- objecthandler.hpp 26 Jul 2006 09:36:15 -0000 1.10 *************** *** 39,43 **** public: ObjectHandler(); ! ~ObjectHandler(); static ObjectHandler &instance(); --- 39,43 ---- public: ObjectHandler(); ! virtual ~ObjectHandler(); static ObjectHandler &instance(); *************** *** 67,75 **** } ! template <> ! boost::shared_ptr < Object > retrieveObject<Object>( ! const std::string &id) { ! return retrieveObjectImpl(id); ! } //! Delete Object with given instance name. --- 67,75 ---- } ! //template <> ! //boost::shared_ptr < Object > retrieveObject<Object>( ! // const std::string &id) { ! // return retrieveObjectImpl(id); ! //} //! Delete Object with given instance name. *************** *** 114,117 **** --- 114,123 ---- }; + template <> + inline boost::shared_ptr<Object> ObjectHandler::retrieveObject<Object>( + const std::string &id) { + return retrieveObjectImpl(id); + } + } |
From: Eric E. <eri...@us...> - 2006-07-27 06:23:09
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/config In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/gensrc/config Added Files: .cvsignore Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 --- NEW FILE: .cvsignore --- Makefile Makefile.in --- NEW FILE: Makefile.am --- EXTRA_DIST = \ config.xml \ excel.xml |
From: Eric E. <eri...@us...> - 2006-07-26 17:45:55
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/ohxllib In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/ohxl/ohxllib Modified Files: Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/ohxllib/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 19 May 2006 15:12:41 -0000 1.1 --- Makefile.am 26 Jul 2006 09:36:15 -0000 1.2 *************** *** 1,5 **** EXTRA_DIST = \ - ohxllib.dsp \ ohxllib.vcproj \ ohxllib_vc8.vcproj --- 1,4 ---- |
From: Eric E. <eri...@us...> - 2006-07-26 14:48:30
|
Update of /cvsroot/objecthandler/ObjectHandler/Examples/xl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/Examples/xl Modified Files: Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 19 May 2006 15:12:41 -0000 1.1 --- Makefile.am 26 Jul 2006 09:36:14 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- EXTRA_DIST = \ + account.cpp \ + account.hpp \ addindynamic1.cpp \ addindynamic2.cpp \ *************** *** 6,19 **** exampleDynamic.xls \ exampleStatic.xls \ - ExampleXllDynamic1.dsp \ - ExampleXllDynamic1.vcproj \ ExampleXllDynamic1_vc8.vcproj \ ! ExampleXllDynamic2.dsp \ ! ExampleXllDynamic2.vcproj \ ExampleXllDynamic2_vc8.vcproj \ ! ExampleXllStatic.dsp \ ! ExampleXllStatic.vcproj \ ExampleXllStatic_vc8.vcproj \ ! account.cpp \ ! account.hpp --- 8,16 ---- exampleDynamic.xls \ exampleStatic.xls \ ExampleXllDynamic1_vc8.vcproj \ ! ExampleXllDynamic1.vcproj \ ExampleXllDynamic2_vc8.vcproj \ ! ExampleXllDynamic2.vcproj \ ExampleXllStatic_vc8.vcproj \ ! ExampleXllStatic.vcproj |
From: Eric E. <eri...@us...> - 2006-07-26 14:48:30
|
Update of /cvsroot/objecthandler/ObjectHandler/Examples/C++ In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/Examples/C++ Modified Files: Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/C++/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 19 May 2006 15:12:41 -0000 1.1 --- Makefile.am 26 Jul 2006 09:36:13 -0000 1.2 *************** *** 3,7 **** EXTRA_DIST = \ - ExampleCpp.dsp \ ExampleCpp.vcproj \ ExampleCpp_vc8.vcproj --- 3,6 ---- |
From: Eric E. <eri...@us...> - 2006-07-26 14:42:18
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/gensrc Modified Files: .cvsignore Added Files: Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 Index: .cvsignore =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 6 Jun 2006 09:08:27 -0000 1.1 --- .cvsignore 26 Jul 2006 09:36:14 -0000 1.2 *************** *** 1,2 **** ! *.user ! build --- 1,3 ---- ! Makefile ! Makefile.in ! --- NEW FILE: Makefile.am --- EXTRA_DIST = \ gensrc_vc8.vcproj \ gensrc.vcproj \ Makefile.vc |
From: Eric E. <eri...@us...> - 2006-07-26 11:46:20
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/scripts In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/gensrc/scripts Added Files: .cvsignore Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 --- NEW FILE: .cvsignore --- Makefile Makefile.in --- NEW FILE: Makefile.am --- EXTRA_DIST = gensrc.py |
From: Eric E. <eri...@us...> - 2006-07-26 10:44:57
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/stubs In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209/gensrc/stubs Added Files: .cvsignore Makefile.am Log Message: updates for linux/autoconf/gcc4.1.0 --- NEW FILE: .cvsignore --- Makefile Makefile.in --- NEW FILE: Makefile.am --- EXTRA_DIST = \ stub.copyright \ stub.excel.exports \ stub.excel.includes \ stub.excel.register \ stub.excel.unregister |
From: Eric E. <eri...@us...> - 2006-07-26 10:42:38
|
Update of /cvsroot/objecthandler/ObjectHandler In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27209 Modified Files: Makefile.am configure.ac Log Message: updates for linux/autoconf/gcc4.1.0 Index: configure.ac =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/configure.ac,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** configure.ac 19 May 2006 15:12:41 -0000 1.1 --- configure.ac 26 Jul 2006 09:36:13 -0000 1.2 *************** *** 52,55 **** --- 52,63 ---- # done, output the configured files AC_CONFIG_FILES([ + Docs/Makefile + Examples/C++/Makefile + Examples/xl/Makefile + gensrc/config/Makefile + gensrc/Makefile + gensrc/metadata/Makefile + gensrc/scripts/Makefile + gensrc/stubs/Makefile Makefile oh/Makefile *************** *** 57,64 **** ohxl/ohxllib/Makefile ohxl/ohxll/Makefile ! xlsdk/Makefile ! Examples/C++/Makefile ! Examples/xl/Makefile ! Docs/Makefile]) AC_OUTPUT --- 65,70 ---- ohxl/ohxllib/Makefile ohxl/ohxll/Makefile ! xlsdk/Makefile ]) AC_OUTPUT + Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 19 May 2006 15:12:41 -0000 1.1 --- Makefile.am 26 Jul 2006 09:36:13 -0000 1.2 *************** *** 1,4 **** --- 1,5 ---- SUBDIRS = \ + gensrc \ oh \ ohxl \ *************** *** 17,21 **** LICENSE.TXT \ NEWS.txt \ - ObjectHandler.dsw \ ObjectHandler.nsi \ ObjectHandler.sln \ --- 18,21 ---- |