Classes | |
struct | IndentOptions_t |
Structure collecting indentation options. More... | |
class | NewLine |
Starts a new line in a output stream. More... | |
struct | SpacePointPrintOptions_t |
Collection of available printing style options. More... | |
Functions | |
template<typename Stream > | |
NewLine< Stream > | makeNewLine (Stream &stream, std::string indent, bool followLine=false) |
Convenience function to create a temporary NewLine. More... | |
template<typename Stream > | |
NewLine< Stream > | makeNewLine (Stream &stream, IndentOptions_t const &options) |
Convenience function to create a temporary NewLine. More... | |
template<typename Stream , typename NewLineRef > | |
std::enable_if_t< std::is_same < recob::dumper::NewLine < std::decay_t< Stream > >, std::decay_t< NewLineRef > >::value > | DumpPCAxis (Stream &&out, recob::PCAxis const &pca, NewLineRef &&nl) |
template<typename Stream > | |
void | DumpPCAxis (Stream &&out, recob::PCAxis const &pca, std::string indent="", bool indentFirst=true) |
Dumps the content of the specified PCA axis into a stream. More... | |
template<typename Stream , typename NewLineRef = recob::dumper::NewLine<Stream>> | |
auto | DumpSpacePoint (Stream &&out, recob::SpacePoint const &sp, SpacePointPrintOptions_t const &options={}) -> std::enable_if_t< std::is_same< NewLine< std::decay_t< Stream >>, std::decay_t< NewLineRef >>::value > |
Dumps the content of the specified space point into a stream. More... | |
std::enable_if_t< std::is_same< recob::dumper::NewLine< std::decay_t< Stream > >, std::decay_t< NewLineRef > >::value > recob::dumper::DumpPCAxis | ( | Stream && | out, |
recob::PCAxis const & | pca, | ||
NewLineRef && | nl | ||
) |
Dumps the content of the specified PCA axis (indentation info in nl)
Stream | the type of the output stream |
NewLineRef | NewLine reference type (to get a universal reference) |
Definition at line 76 of file PCAxisDumpers.h.
void recob::dumper::DumpPCAxis | ( | Stream && | out, |
recob::PCAxis const & | pca, | ||
std::string | indent = "" , |
||
bool | indentFirst = true |
||
) |
Dumps the content of the specified PCA axis into a stream.
Stream | the type of output stream |
out | the output stream |
pca | the principal component axis to be dumped |
indent | indentation string (none by default) |
indentFirst | whether to indent the first line (yes by default) |
Insertion operators are required that insert into Stream basic types.
This function does not insert a end-of-line after its output.
Definition at line 51 of file PCAxisDumpers.h.
auto recob::dumper::DumpSpacePoint | ( | Stream && | out, |
recob::SpacePoint const & | sp, | ||
SpacePointPrintOptions_t const & | options = {} |
||
) | -> std::enable_if_t <std::is_same<NewLine<std::decay_t<Stream>>, std::decay_t<NewLineRef>>::value> |
Dumps the content of the specified space point into a stream.
Stream | the type of the output stream |
NewLineRef | NewLine reference type (to get a universal reference) |
out | the output stream |
sp | the space point to be dumped |
options | indentation and formatting options |
Definition at line 83 of file SpacePointDumpers.h.
|
inline |
Convenience function to create a temporary NewLine.
Definition at line 152 of file NewLine.h.