[ObjectHandler-cvs] ObjectHandler/oh object.hpp,1.17,1.18
Brought to you by:
ericehlers,
nando
From: Eric E. <eri...@us...> - 2007-01-02 02:19:21
|
Update of /cvsroot/objecthandler/ObjectHandler/oh In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3515/oh Modified Files: object.hpp Log Message: - enhance gensrc to support retrieval of non-const reference to underlying QL object - enable function qlAccountingEngineMultiplePathValues() Index: object.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/object.hpp,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** object.hpp 6 Oct 2006 07:57:35 -0000 1.17 --- object.hpp 2 Jan 2007 02:19:16 -0000 1.18 *************** *** 58,61 **** --- 58,66 ---- const LIBRARY_CLASS &NAME = *(NAME ## temp.get()); + // like OH_GET_UNDERLYING but without const qualifier + #define OH_GET_UNDERLYING_NONCONST( NAME, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ + OH_GET_REFERENCE(NAME ## temp, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ + LIBRARY_CLASS &NAME = *(NAME ## temp.get()); + namespace ObjHandler { //! Interface for Objects to be stored in the ObjectHandler. |