w11 - cpp
0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RosFill.hpp
Go to the documentation of this file.
1
// $Id: RosFill.hpp 1186 2019-07-12 17:49:59Z mueller $
2
// SPDX-License-Identifier: GPL-3.0-or-later
3
// Copyright 2000-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
//
5
// Revision History:
6
// Date Rev Version Comment
7
// 2011-02-25 364 1.1 Support << also to string
8
// 2011-01-30 359 1.0 Adopted from CTBosFill
9
// 2000-02-06 - - Last change on CTBosFill
10
// ---------------------------------------------------------------------------
11
16
#ifndef included_Retro_RosFill
17
#define included_Retro_RosFill 1
18
19
#include <ostream>
20
#include <string>
21
22
namespace
Retro
{
23
24
class
RosFill
{
25
public
:
26
RosFill
(
int
count=0,
char
fill=
' '
);
27
28
int
Count
()
const
;
29
char
Fill
()
const
;
30
31
private
:
32
int
fCount
;
33
char
fFill
;
34
35
};
36
37
std::ostream&
operator<<
(std::ostream& os,
const
RosFill
& obj);
38
std::string&
operator<<
(std::string& os,
const
RosFill
& obj);
39
40
}
// end namespace Retro
41
42
#include "
RosFill.ipp
"
43
44
#endif
RosFill.ipp
Retro::RosFill
I/O appicator to generate fill characters.
Definition:
RosFill.hpp:24
Retro::RosFill::fFill
char fFill
fill character
Definition:
RosFill.hpp:33
Retro::RosFill::fCount
int fCount
blank count
Definition:
RosFill.hpp:32
Retro::RosFill::Count
int Count() const
Get repeat count.
Definition:
RosFill.ipp:35
Retro::RosFill::Fill
char Fill() const
Get fill character.
Definition:
RosFill.ipp:43
Retro
Declaration of class ReventLoop.
Definition:
ReventLoop.cpp:47
Retro::operator<<
std::ostream & operator<<(std::ostream &os, const RerrMsg &obj)
librtools
RosFill.hpp
Generated on Thu Feb 9 2023 12:40:57 for w11 - cpp by
1.9.6