NCBI C++ ToolKit
|
Search Toolkit Book for CNcbiOstrstreamToString
CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage: More...
#include <corelib/ncbistre.hpp>
Public Member Functions | |
CNcbiOstrstreamToString (CNcbiOstrstream &out) | |
operator string (void) const | |
Private Member Functions | |
CNcbiOstrstreamToString (const CNcbiOstrstreamToString &) | |
CNcbiOstrstreamToString & | operator= (const CNcbiOstrstreamToString &) |
Private Attributes | |
CNcbiOstrstream & | m_Out |
Friends | |
CNcbiOstream & | operator<< (CNcbiOstream &out, const CNcbiOstrstreamToString &s) |
CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:
Note: there is no need to terminate with '\0' char ("ends"); there is no need to explicitly "unfreeze" the "out" stream.
Definition at line 801 of file ncbistre.hpp.