LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
recob::dumper::SpacePointPrintOptions_t Struct Reference

Collection of available printing style options. More...

#include "SpacePointDumpers.h"

Public Member Functions

 SpacePointPrintOptions_t ()=default
 Default constructor. More...
 
 SpacePointPrintOptions_t (IndentOptions_t indentOptions, bool bHexFloats)
 

Public Attributes

IndentOptions_t indent
 indentation string More...
 
bool hexFloats = false
 print all floating point numbers in base 16 More...
 

Detailed Description

Collection of available printing style options.

Definition at line 28 of file SpacePointDumpers.h.

Constructor & Destructor Documentation

recob::dumper::SpacePointPrintOptions_t::SpacePointPrintOptions_t ( )
default

Default constructor.

By default, the options are:

  • no indentation
  • same indentation for the first and the following lines
  • real numbers printed in base 10
recob::dumper::SpacePointPrintOptions_t::SpacePointPrintOptions_t ( IndentOptions_t  indentOptions,
bool  bHexFloats 
)
inline

Definition at line 44 of file SpacePointDumpers.h.

References recob::dumper::DumpSpacePoint(), and value.

45  : indent(indentOptions), hexFloats(bHexFloats)
46  {}
IndentOptions_t indent
indentation string
bool hexFloats
print all floating point numbers in base 16

Member Data Documentation

bool recob::dumper::SpacePointPrintOptions_t::hexFloats = false

print all floating point numbers in base 16

Definition at line 30 of file SpacePointDumpers.h.

IndentOptions_t recob::dumper::SpacePointPrintOptions_t::indent

indentation string

Definition at line 29 of file SpacePointDumpers.h.


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