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 37 of file DataIOmanip.h.
|
inline |
Constructor: print the specified vector.
Definition at line 42 of file DataIOmanip.h.
|
inline |
The printing operator.
Definition at line 46 of file DataIOmanip.h.
|
private |
Vector to be printed.
Definition at line 38 of file DataIOmanip.h.
1.8.5