va************@gmail.com napsal:
I want to convert the message of type RWCString to std::string type.
How can we do this?
Since RWCString is not C++ standard class, there is no C++ standard way
how to do it. I do not know RWCString, so I can only guess:
- look into RWCString documentation and try to find there some
converting function
- there may be also some method, whcih gives the buffer occupied by
RWCString. This may be used as one input parameters for std::string
- if RWCString can be written into output stream, you can srite it to
std::ostringstream and get the string with method str() from there