|
openscenegraph
|
#include <io_utils>
Public Member Functions | |
| MakeString () | |
| template<typename T> | |
| MakeString & | operator<< (const T &t) |
| MakeString & | operator<< (std::ostream &(*fun)(std::ostream &)) |
| MakeString & | clear () |
| operator std::string () const | |
| std::string | str () const |
Public Attributes | |
| std::stringstream | sstream |
Convinience class for building std::string using stringstream. Usage: MakeString str; std::string s = str<<"Mix strings with numbers "<<0" ; std::string s2 = str.clear()<<"and other classes such as ("<<osg::Vec3(0.0,1.0,3.0)<<)" ;
|
inline |
Referenced by clear(), operator<<(), and operator<<().
|
inline |
References MakeString(), and sstream.
|
inline |
References sstream.
|
inline |
References MakeString(), and sstream.
|
inline |
References MakeString(), and sstream.
|
inline |
References sstream.
Referenced by osg::operator<<().
| std::stringstream osg::MakeString::sstream |
Referenced by clear(), operator std::string(), operator<<(), operator<<(), and str().