Possible Duplicate:
Accessing private members
Is it possible to access private members of a class?
Is there a good (yes I know this is ugly) way to hack to the private data members of a class?
One brute force approach is to copy the header file and in my copy change private to public. But would there be a better way, say doing
#define private public
or something else?