![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Utility class to store and print a 3D vector. More...
#include "DataIOmanip.h"
Public Member Functions | |
| Vector3DStruct (Vect const &vector) | |
| Constructor: print the specified vector. More... | |
| template<typename Stream > | |
| Stream & | operator() (Stream &&out) const |
| The printing operator. More... | |
Private Attributes | |
| Vect const & | v |
| Vector to be printed. More... | |
Utility class to store and print a 3D vector.
| Vect | type of the vector to be printed (see the requirements) |
The printing operation is stored internally just for convenience.
The Vect type is required to provide member functions X(), Y() and Z(), whose return value can be directly streamed.
Definition at line 35 of file DataIOmanip.h.
|
inline |
Constructor: print the specified vector.
Definition at line 40 of file DataIOmanip.h.
|
inline |
The printing operator.
Definition at line 44 of file DataIOmanip.h.
|
private |
Vector to be printed.
Definition at line 36 of file DataIOmanip.h.