ReFRACtor
FullPhysics::OstreamPad Class Reference

This is a filtering stream that adds a pad to the front of every line written out. More...

#include <ostream_pad.h>

+ Inheritance diagram for FullPhysics::OstreamPad:
+ Collaboration diagram for FullPhysics::OstreamPad:

Public Member Functions

 OstreamPad (std::ostream &Os, const std::string &Pad)
 

Detailed Description

This is a filtering stream that adds a pad to the front of every line written out.

This can be used to do simple formating (among other things) of adding space for a nested item.

Definition at line 32 of file ostream_pad.h.

Constructor & Destructor Documentation

◆ OstreamPad()

FullPhysics::OstreamPad::OstreamPad ( std::ostream &  Os,
const std::string &  Pad 
)
inline

Definition at line 34 of file ostream_pad.h.


The documentation for this class was generated from the following file:

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:13