[ObjectHandler-cvs] ObjectHandler/oh object.hpp,1.9,1.10
Brought to you by:
ericehlers,
nando
From: Eric E. <eri...@us...> - 2006-07-14 08:16:53
|
Update of /cvsroot/objecthandler/ObjectHandler/oh In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30227/oh Modified Files: object.hpp Log Message: support retrieval of direct reference to underlying object Index: object.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/object.hpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** object.hpp 18 Jun 2006 13:41:51 -0000 1.9 --- object.hpp 14 Jul 2006 08:16:51 -0000 1.10 *************** *** 51,54 **** --- 51,59 ---- } + // get a direct reference to the underlying object wrapped by the ObjHandler::Object + #define OH_GET_UNDERLYING( NAME, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ + OH_GET_REFERENCE(NAME ## temp, ID, OBJECT_CLASS, LIBRARY_CLASS ) \ + const LIBRARY_CLASS &NAME = *(NAME ## temp.get()); + namespace ObjHandler { //! Interface for Objects to be stored in the ObjectHandler. |