Dave, bytecode manipulation is a popular technique in Java, but it is not available in C++. So I don't know how we can make transparent persistence, using the language. Probably we will have to do some sort of hand-mapping, either in code of the object or some external mapping.
An option to consider is Aspect Programming for C++ - see http://www.aspectc.org/ for instance. The problem is that it introduces an external tool dependency for the developers, which is always not very good...
Oct. 29, 2007, 7:36 a.m. - andre
Dave, bytecode manipulation is a popular technique in Java, but it is not available in C++. So I don't know how we can make transparent persistence, using the language. Probably we will have to do some sort of hand-mapping, either in code of the object or some external mapping. An option to consider is Aspect Programming for C++ - see http://www.aspectc.org/ for instance. The problem is that it introduces an external tool dependency for the developers, which is always not very good...