YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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 24 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 23 of file utility.cpp.

◆ ~StrStream()

StrStream::~StrStream ( )
default

Member Function Documentation

◆ operator<<() [1/4]

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

Definition at line 38 of file utility.cpp.

◆ operator<<() [2/4]

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

Definition at line 50 of file utility.cpp.

◆ operator<<() [3/4]

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

Definition at line 43 of file utility.cpp.

◆ operator<<() [4/4]

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

Definition at line 33 of file utility.cpp.

◆ operator=() [1/5]

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

Definition at line 63 of file utility.cpp.

◆ operator=() [2/5]

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

Definition at line 58 of file utility.cpp.

◆ operator=() [3/5]

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

Definition at line 68 of file utility.cpp.

◆ operator=() [4/5]

StrStream & StrStream::operator= ( int  n)

Definition at line 78 of file utility.cpp.

◆ operator=() [5/5]

StrStream & StrStream::operator= ( StrStream oss)

Definition at line 73 of file utility.cpp.

◆ str()

std::string StrStream::str ( )

Definition at line 29 of file utility.cpp.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 85 of file utility.cpp.


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