Category: Proxy usage

Q

Can I find out which version of JunC++ion generated my C++ types?

A

Yes. Every proxy type declares a nested enumeration containing this information, for example:

        enum 
{
xmogDefaultFlags = xmog_base::GLOBAL,
xmogMajorVersion = 3,
xmogMinorVersion = 2,
xmogPatchVersion = 9,
xmogBuildNumber = 2047
};

You can query this information programmatically or visually. This information is present in every generated type because one application might contain proxy types from different code generation sessions. While we recommend against mixing, it might happen accidentally, and this enumeration could prove invaluable in debugging such a case.


Copyright 2006-2011 by Codemesh, Inc., ALL RIGHTS RESERVED

:
frequently asked questions
home products support customers partners newsroom about us contact us