FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
string StateMachineDimControl::Line
(
const std::string &
txt
,
char
fill
)
private
Definition at line
20
of file
StateMachineDimControl.cc
.
21
{
22
const
int
n = (55-txt.length())/2;
23
24
ostringstream out;
25
out << setfill(fill);
26
out << setw(n) << fill <<
' '
;
27
out << txt;
28
out <<
' '
<< setw(n) << fill;
29
30
if
(2*n+txt.length()+2 != 57)
31
out << fill;
32
33
return
out.str();
34
}
StateMachineDimControl
Generated on Sun Sep 18 2016 20:50:58 for FACT++ by
1.8.11