w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RosPrintf.hpp
Go to the documentation of this file.
1// $Id: RosPrintf.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2000-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2018-12-17 1088 1.1 add bool specialization (use c++11 std::boolalpha)
8// 2011-01-30 357 1.0 Adopted from CTBprintf
9// 2000-12-18 - - Last change on CTBprintf
10// ---------------------------------------------------------------------------
11
19#ifndef included_Retro_RosPrintf
20#define included_Retro_RosPrintf 1
21
22#include "RosPrintfS.hpp"
23
24namespace Retro {
25
26 RosPrintfS<bool> RosPrintf(bool value, const char* form=0,
27 int width=0, int prec=0);
28
29 RosPrintfS<char> RosPrintf(char value, const char* form=0,
30 int width=0, int prec=0);
31
32 RosPrintfS<int> RosPrintf(signed char value, const char* form=0,
33 int width=0, int prec=0);
34 RosPrintfS<unsigned int> RosPrintf(unsigned char value, const char* form=0,
35 int width=0, int prec=0);
36
37 RosPrintfS<int> RosPrintf(short value, const char* form=0,
38 int width=0, int prec=0);
39 RosPrintfS<unsigned int> RosPrintf(unsigned short value, const char* form=0,
40 int width=0, int prec=0);
41
42 RosPrintfS<int> RosPrintf(int value, const char* form=0,
43 int width=0, int prec=0);
44 RosPrintfS<unsigned int> RosPrintf(unsigned int value, const char* form=0,
45 int width=0, int prec=0);
46
47 RosPrintfS<long> RosPrintf(long value, const char* form=0,
48 int width=0, int prec=0);
49 RosPrintfS<unsigned long> RosPrintf(unsigned long value, const char* form=0,
50 int width=0, int prec=0);
51
52 RosPrintfS<double> RosPrintf(double value, const char* form=0,
53 int width=0, int prec=0);
54
55 RosPrintfS<const char*> RosPrintf(const char* value, const char* form=0,
56 int width=0, int prec=0);
57
58 RosPrintfS<const void*> RosPrintf(const void* value, const char* form=0,
59 int width=0, int prec=0);
60
61} // end namespace Retro
62
63// implementation is all inline
64#include "RosPrintf.ipp"
65
66#endif
Print object for scalar values . **.
RosPrintfS< bool > RosPrintf(bool value, const char *form=0, int width=0, int prec=0)
Creates a print object for the formatted output of a bool value.
Definition: RosPrintf.ipp:38
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47