osgEarth 2.1.1
Public Member Functions | Protected Attributes

osgEarth::Stringify Struct Reference

List of all members.

Public Member Functions

 operator std::string () const
Stringifyoperator<< (bool val)
Stringifyoperator<< (short val)
Stringifyoperator<< (unsigned short val)
Stringifyoperator<< (int val)
Stringifyoperator<< (unsigned int val)
Stringifyoperator<< (long val)
Stringifyoperator<< (unsigned long val)
Stringifyoperator<< (float val)
Stringifyoperator<< (double val)
Stringifyoperator<< (long double val)
Stringifyoperator<< (const void *val)
Stringifyoperator<< (char val)
Stringifyoperator<< (signed char val)
Stringifyoperator<< (unsigned char val)
Stringifyoperator<< (const char *val)
Stringifyoperator<< (const signed char *val)
Stringifyoperator<< (const unsigned char *val)
Stringifyoperator<< (const std::string &val)
Stringifyoperator<< (std::streambuf *val)
Stringifyoperator<< (std::ostream &(*val)(std::ostream &))
Stringifyoperator<< (std::ios &(*val)(std::ostream &))
Stringifyoperator<< (std::ios_base &(*val)(std::ios_base &))

Protected Attributes

std::stringstream buf

Detailed Description

Definition at line 344 of file StringUtils.


Member Function Documentation

osgEarth::Stringify::operator std::string ( ) const [inline]

Definition at line 346 of file StringUtils.

        {
            std::string result;
            result = buf.str();
            return result;
        }
Stringify& osgEarth::Stringify::operator<< ( std::ios_base &(*)(std::ios_base &)  val) [inline]

Definition at line 374 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( std::ios &(*)(std::ostream &)  val) [inline]

Definition at line 373 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( std::ostream &(*)(std::ostream &)  val) [inline]

Definition at line 372 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( std::streambuf *  val) [inline]

Definition at line 371 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( const std::string &  val) [inline]

Definition at line 370 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( const unsigned char *  val) [inline]

Definition at line 369 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( const signed char *  val) [inline]

Definition at line 368 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( const char *  val) [inline]

Definition at line 367 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( unsigned char  val) [inline]

Definition at line 366 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( signed char  val) [inline]

Definition at line 365 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( char  val) [inline]

Definition at line 364 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( const void *  val) [inline]

Definition at line 363 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( long double  val) [inline]

Definition at line 362 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( double  val) [inline]

Definition at line 361 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( float  val) [inline]

Definition at line 360 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( unsigned long  val) [inline]

Definition at line 359 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( long  val) [inline]

Definition at line 358 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( unsigned int  val) [inline]

Definition at line 357 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( int  val) [inline]

Definition at line 356 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( unsigned short  val) [inline]

Definition at line 355 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( short  val) [inline]

Definition at line 354 of file StringUtils.

{ buf << val; return (*this); }
Stringify& osgEarth::Stringify::operator<< ( bool  val) [inline]

Definition at line 353 of file StringUtils.

{ buf << val; return (*this); }

Member Data Documentation

std::stringstream osgEarth::Stringify::buf [protected]

Definition at line 377 of file StringUtils.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines