I created a string that has the data structure of an object. I'm trying to pass it through the CORBA Any, but it doesn't seem to take all the data structure through.
string test((char*)&Wolf, sizeof Wold)
a <<= (CORBA::String_var)test;
const char* ptest;
a >>= ptest;
string newstring = "";
newstring.append(ptest, sizeof Wolf);
memcpy((char*)&WolfTwo, (char*)newstring.data(), sizeof WolfTwo);
now WolfTwo would have Wolf's data items of 1 1 as opposed to 10 10.