Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

TCollection_ExtendedString

TCollection_ExtendedString
PLN again and again 2004/02/10 16:33


Hi all,

I wanted to know how can I convert
TCollection_ExtendedString
to
std::string

Thank you !
Francesco Argese 2012/06/07 13:29
Hi all,

I'm searching the same function.

Have you resolved? Does anyone know if there is a convertion function?

I need it in order to retrieve a string from Formats function of OCAF Application class.

Thanks in advance,
Francesco Argese
Marco Nanni 2012/06/08 19:57
Hello All,

I usually us:

TCollection_ExtendedString format("MyFormat");
std::string s1 = TCollection_AsciiString(format).ToCString();

Cheers,

Marco.
 
 
Latest news
  • OCCT Applications
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map