w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::RosPrintfS< T > Class Template Reference

#include <RosPrintfS.hpp>

Inheritance diagram for Retro::RosPrintfS< T >:
[legend]
Collaboration diagram for Retro::RosPrintfS< T >:
[legend]

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

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

Detailed Description

template<class T>
class Retro::RosPrintfS< T >

Definition at line 24 of file RosPrintfS.hpp.

Constructor & Destructor Documentation

◆ RosPrintfS()

template<class T >
RosPrintfS::RosPrintfS ( value,
const char *  form,
int  width,
int  prec 
)

Constructor.

Parameters
valuevalue to be printed
formformat descriptor string
widthfield width
precprecision

Definition at line 44 of file RosPrintfS.cpp.

Member Function Documentation

◆ ToStream()

template<class T >
void RosPrintfS::ToStream ( std::ostream &  os) const
virtual

Concrete implementation of the ostream insertion.

Implements Retro::RosPrintfBase.

Definition at line 51 of file RosPrintfS.cpp.

Member Data Documentation

◆ fValue

template<class T >
T Retro::RosPrintfS< T >::fValue
protected

value to be printed

Definition at line 31 of file RosPrintfS.hpp.


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