Base class for print objects. **.
More...
#include <RosPrintfBase.hpp>
|
| 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.
|
|
|
const char * | fForm |
| format string
|
|
int | fWidth |
| field width
|
|
int | fPrec |
| field precision
|
|
Base class for print objects. **.
Definition at line 24 of file RosPrintfBase.hpp.
◆ RosPrintfBase()
Retro::RosPrintfBase::RosPrintfBase |
( |
const char * |
form, |
|
|
int |
width, |
|
|
int |
prec |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
form | format descriptor string |
width | field width |
prec | precision |
Definition at line 38 of file RosPrintfBase.ipp.
◆ ~RosPrintfBase()
Retro::RosPrintfBase::~RosPrintfBase |
( |
| ) |
|
|
virtual |
◆ ToStream()
Retro::RosPrintfBase::ToStream |
( |
std::ostream & |
os | ) |
const |
|
pure virtual |
◆ operator<<() [1/2]
std::string & operator<< |
( |
std::string & |
os, |
|
|
const RosPrintfBase & |
obj |
|
) |
| |
|
related |
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const RosPrintfBase & |
obj |
|
) |
| |
|
related |
◆ fForm
const char* Retro::RosPrintfBase::fForm |
|
protected |
◆ fWidth
int Retro::RosPrintfBase::fWidth |
|
protected |
◆ fPrec
int Retro::RosPrintfBase::fPrec |
|
protected |
The documentation for this class was generated from the following files: