w11 - cpp 0.794
Backend server for Rlink and w11
|
#include <RosPrintfS.hpp>
Public Member Functions | |
RosPrintfS (T value, const char *form, int width, int prec) | |
Constructor. | |
virtual void | ToStream (std::ostream &os) const |
Concrete implementation of the ostream insertion. | |
Public Member Functions inherited from Retro::RosPrintfBase | |
RosPrintfBase (const char *form, int width, int prec) | |
Constructor. | |
virtual | ~RosPrintfBase () |
Destructor. | |
virtual void | ToStream (std::ostream &os) const =0 |
Concrete implementation of the ostream insertion. | |
Protected Attributes | |
T | fValue |
value to be printed | |
Protected Attributes inherited from Retro::RosPrintfBase | |
const char * | fForm |
format string | |
int | fWidth |
field width | |
int | fPrec |
field precision | |
Additional Inherited Members | |
Related Functions inherited from Retro::RosPrintfBase | |
std::string & | operator<< (std::string &os, const RosPrintfBase &obj) |
string insertion | |
std::ostream & | operator<< (std::ostream &os, const RosPrintfBase &obj) |
ostream insertion | |
Definition at line 24 of file RosPrintfS.hpp.
RosPrintfS::RosPrintfS | ( | T | value, |
const char * | form, | ||
int | width, | ||
int | prec | ||
) |
Constructor.
value | value to be printed |
form | format descriptor string |
width | field width |
prec | precision |
Definition at line 44 of file RosPrintfS.cpp.
|
virtual |
Concrete implementation of the ostream insertion.
Implements Retro::RosPrintfBase.
Definition at line 51 of file RosPrintfS.cpp.
|
protected |
value to be printed
Definition at line 31 of file RosPrintfS.hpp.