Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C++ code > Auxiliary Topics > Example Code
  
Example Code
// A typedef called PersonDetails whose underlying type is an anonymous class.
// The class would get reversed as something like unnamed0. We would never generate
// the class on its own, only as part of another declaration.
typedef class
{
int age;
char* name;
} PersonDetails;