This is Unofficial EPICS BASE Doxygen Site
epics::pvData::format Namespace Reference

Classes

struct  array_at
 
struct  array_at_internal
 
struct  indent
 
struct  indent_level
 
struct  indent_scope
 

Functions

long & indent_value (std::ios_base &ios)
 
std::ostream & operator<< (std::ostream &os, indent_level const &indent)
 
std::ostream & operator<< (std::ostream &os, indent const &)
 
array_at_internal operator<< (std::ostream &str, array_at const &manip)
 

Function Documentation

epicsShareExtern long & epics::pvData::format::indent_value ( std::ios_base &  ios)

Definition at line 30 of file printer.cpp.

31 {
32  return ios.iword(indent_index);
33 }
epicsShareExtern std::ostream & epics::pvData::format::operator<< ( std::ostream &  os,
indent_level const &  indent 
)

Definition at line 35 of file printer.cpp.

36 {
37  indent_value(os) = indent.level;
38  return os;
39 }
long & indent_value(std::ios_base &ios)
Definition: printer.cpp:30
epicsShareExtern std::ostream & epics::pvData::format::operator<< ( std::ostream &  os,
indent const &   
)

Definition at line 41 of file printer.cpp.

42 {
43  long il = indent_value(os);
44  for(long i=0, spaces = il * 4; i<spaces; i++)
45  os.put(' ');
46  return os;
47 }
int i
Definition: scan.c:967
long & indent_value(std::ios_base &ios)
Definition: printer.cpp:30
epicsShareExtern array_at_internal epics::pvData::format::operator<< ( std::ostream &  str,
array_at const &  manip 
)

Definition at line 49 of file printer.cpp.

50 {
51  return array_at_internal(manip.index, str);
52 }
#define str(v)