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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / TCollection_ExtendedString

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
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

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