YARP
Yet Another Robot Platform
yarp::manager::StrStream Class Reference

#include <yarp/manager/utility.h>

Public Member Functions

 StrStream ()
 
 StrStream (const std::string str)
 
 ~StrStream ()
 
std::string str ()
 
StrStreamoperator<< (StrStream &oss)
 
StrStreamoperator<< (const std::string &str)
 
StrStreamoperator<< (int n)
 
StrStreamoperator<< (double n)
 
StrStreamoperator= (const char *sz)
 
StrStreamoperator= (char *sz)
 
StrStreamoperator= (const std::string &str)
 
StrStreamoperator= (StrStream &oss)
 
StrStreamoperator= (int n)
 

Friends

std::ostream & operator<< (std::ostream &os, StrStream &sstr)
 

Detailed Description

Definition at line 26 of file utility.h.

Constructor & Destructor Documentation

◆ StrStream() [1/2]

StrStream::StrStream ( )
default

◆ StrStream() [2/2]

StrStream::StrStream ( const std::string  str)

Definition at line 27 of file utility.cpp.

◆ ~StrStream()

StrStream::~StrStream ( )
default

Member Function Documentation

◆ operator<<() [1/4]

StrStream & StrStream::operator<< ( const std::string &  str)

Definition at line 42 of file utility.cpp.

◆ operator<<() [2/4]

StrStream & StrStream::operator<< ( double  n)

Definition at line 54 of file utility.cpp.

◆ operator<<() [3/4]

StrStream & StrStream::operator<< ( int  n)

Definition at line 47 of file utility.cpp.

◆ operator<<() [4/4]

StrStream & StrStream::operator<< ( StrStream oss)

Definition at line 37 of file utility.cpp.

◆ operator=() [1/5]

StrStream & StrStream::operator= ( char *  sz)

Definition at line 67 of file utility.cpp.

◆ operator=() [2/5]

StrStream & StrStream::operator= ( const char *  sz)

Definition at line 62 of file utility.cpp.

◆ operator=() [3/5]

StrStream & StrStream::operator= ( const std::string &  str)

Definition at line 72 of file utility.cpp.

◆ operator=() [4/5]

StrStream & StrStream::operator= ( int  n)

Definition at line 82 of file utility.cpp.

◆ operator=() [5/5]

StrStream & StrStream::operator= ( StrStream oss)

Definition at line 77 of file utility.cpp.

◆ str()

std::string StrStream::str ( )

Definition at line 33 of file utility.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
StrStream sstr 
)
friend

Definition at line 89 of file utility.cpp.


The documentation for this class was generated from the following files: