1 |
10 |
wfjm |
// $Id: RosPrintf.hpp 357 2011-01-31 08:00:13Z mueller $
|
2 |
|
|
//
|
3 |
|
|
// Copyright 2000-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
4 |
|
|
//
|
5 |
|
|
// This program is free software; you may redistribute and/or modify it under
|
6 |
|
|
// the terms of the GNU General Public License as published by the Free
|
7 |
|
|
// Software Foundation, either version 2, or at your option any later version.
|
8 |
|
|
//
|
9 |
|
|
// This program is distributed in the hope that it will be useful, but
|
10 |
|
|
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
11 |
|
|
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
12 |
|
|
// for complete details.
|
13 |
|
|
//
|
14 |
|
|
// Revision History:
|
15 |
|
|
// Date Rev Version Comment
|
16 |
|
|
// 2011-01-30 357 1.0 Adopted from CTBprintf
|
17 |
|
|
// 2000-12-18 - - Last change on CTBprintf
|
18 |
|
|
// ---------------------------------------------------------------------------
|
19 |
|
|
|
20 |
|
|
/*!
|
21 |
|
|
\file
|
22 |
|
|
\version $Id: RosPrintf.hpp 357 2011-01-31 08:00:13Z mueller $
|
23 |
|
|
\brief Declaration of RosPrintf functions.
|
24 |
|
|
|
25 |
|
|
For a detailed description of the usage of the \c RosPrintf system
|
26 |
|
|
look into \ref using_rosprintf.
|
27 |
|
|
*/
|
28 |
|
|
|
29 |
|
|
#ifndef included_Retro_RosPrintf
|
30 |
|
|
#define included_Retro_RosPrintf 1
|
31 |
|
|
|
32 |
|
|
#include "RosPrintfS.hpp"
|
33 |
|
|
|
34 |
|
|
namespace Retro {
|
35 |
|
|
|
36 |
|
|
RosPrintfS<char> RosPrintf(char value, const char* form=0,
|
37 |
|
|
int width=0, int prec=0);
|
38 |
|
|
|
39 |
|
|
RosPrintfS<int> RosPrintf(signed char value, const char* form=0,
|
40 |
|
|
int width=0, int prec=0);
|
41 |
|
|
RosPrintfS<unsigned int> RosPrintf(unsigned char value, const char* form=0,
|
42 |
|
|
int width=0, int prec=0);
|
43 |
|
|
|
44 |
|
|
RosPrintfS<int> RosPrintf(short value, const char* form=0,
|
45 |
|
|
int width=0, int prec=0);
|
46 |
|
|
RosPrintfS<unsigned int> RosPrintf(unsigned short value, const char* form=0,
|
47 |
|
|
int width=0, int prec=0);
|
48 |
|
|
|
49 |
|
|
RosPrintfS<int> RosPrintf(int value, const char* form=0,
|
50 |
|
|
int width=0, int prec=0);
|
51 |
|
|
RosPrintfS<unsigned int> RosPrintf(unsigned int value, const char* form=0,
|
52 |
|
|
int width=0, int prec=0);
|
53 |
|
|
|
54 |
|
|
RosPrintfS<long> RosPrintf(long value, const char* form=0,
|
55 |
|
|
int width=0, int prec=0);
|
56 |
|
|
RosPrintfS<unsigned long> RosPrintf(unsigned long value, const char* form=0,
|
57 |
|
|
int width=0, int prec=0);
|
58 |
|
|
|
59 |
|
|
RosPrintfS<double> RosPrintf(double value, const char* form=0,
|
60 |
|
|
int width=0, int prec=0);
|
61 |
|
|
|
62 |
|
|
RosPrintfS<const char*> RosPrintf(const char* value, const char* form=0,
|
63 |
|
|
int width=0, int prec=0);
|
64 |
|
|
|
65 |
|
|
RosPrintfS<const void*> RosPrintf(const void* value, const char* form=0,
|
66 |
|
|
int width=0, int prec=0);
|
67 |
|
|
|
68 |
|
|
} // end namespace Retro
|
69 |
|
|
|
70 |
|
|
// implementation is all inline
|
71 |
|
|
#include "RosPrintf.ipp"
|
72 |
|
|
|
73 |
|
|
#endif
|