Class useful to convert a string returned from a CORBA call to other string types w/o memory leak. More...
#include <SMESHGUI_Utils.h>
Public Member Functions | |
toStrT (char *s) | |
operator const char * () const | |
Private Attributes | |
CORBA::String_var | myStr |
Class useful to convert a string returned from a CORBA call to other string types w/o memory leak.
Usage (of instantiations): QString s = toQStr( objVar->GetName() ); std::string ss = toStdStr( objVar->GetName() );
SMESH::toStrT< _STRING >::toStrT | ( | char * | s | ) |
SMESH::toStrT< _STRING >::operator const char * | ( | ) | const |
|
private |