From: Russell B. <ru...@ba...> - 2004-04-20 15:56:14
|
I'm trying to figure out if opencxx is suitable for the following task: I want to utilize opencxx to translate existing C++ class definitions ( plus an opencxx annotation such as "metaclass Serializable") to C++ code and then compile with g++ in the end. In the process of translation I want to generate 'serialize' or 'marshall' methods on my "Serializable" classes. Very similar to what you get in Java when you declare that a class implements serializable. Has anyone done this? Does this sound like something that opencxx can do? In particular, I must compile the transformed code with g++ as I'm part of a larger build process that I don't control. I get the impression that opencxx doesn't actually emit translated code that can then be compiled with g++. Am I wrong about that? Thanks for any information or examples, Russell Balest |