LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Options for controlling stream output of ExpressionBase. More...
#include <formatting.h>
Public Member Functions | |
FormatOptions (int width=8, int precision=6, std::ios_base::fmtflags flags=std::ios_base::fmtflags(0), std::string const &delimiter=", ", std::string const &open="[", std::string const &close="]") | |
Standard constructor. More... | |
template<typename Derived > | |
void | apply (std::ostream &os, ExpressionBase< Derived > const &expr) |
Format the given expression into the given output stream. More... | |
Private Attributes | |
int | _width |
int | _precision |
std::ios_base::fmtflags | _flags |
std::string | _delimiter |
std::string | _open |
std::string | _close |
Friends | |
template<typename Derived , int N> | |
class | detail::Formatter |
Options for controlling stream output of ExpressionBase.
Definition at line 46 of file formatting.h.
|
inlineexplicit |
Standard constructor.
Definition at line 56 of file formatting.h.
|
inline |
Format the given expression into the given output stream.
Definition at line 74 of file formatting.h.
|
friend |
Definition at line 78 of file formatting.h.
|
private |
Definition at line 52 of file formatting.h.
|
private |
Definition at line 50 of file formatting.h.
|
private |
Definition at line 49 of file formatting.h.
|
private |
Definition at line 51 of file formatting.h.
|
private |
Definition at line 48 of file formatting.h.
|
private |
Definition at line 47 of file formatting.h.