//--------------------------------------------------------------------------- const char *GetStateDescription() { lastMsg = ""; if (ode != NULL) { GmatState *theState = pSetup->GetPropStateManager()->GetState(); StringArray desc = theState->GetElementDescriptions(); for (unsigned int i = 0; i < desc.size(); ++i) lastMsg += " " + desc[i] + "\n"; } return lastMsg.c_str(); }