Namespaces | Functions
util::manip Namespace Reference

Namespaces

 details
 

Functions

template<typename Vect >
details::Vector3DStruct< Vect > vector3D (Vect const &v)
 Produces a manipulator to print a vector. More...
 

Function Documentation

template<typename Vect >
details::Vector3DStruct<Vect> util::manip::vector3D ( Vect const &  v)

Produces a manipulator to print a vector.

Template Parameters
Vecttype of vector to be printed
Parameters
vvector to be printed

The typical usage is:

TVector3 Tv(2., 3., 4.);
std::cout << "Tv = " << util::manip::vector3D(Tv)
<< "; point: " << util::manip::vector3D(p)

Definition at line 80 of file DataIOmanip.h.

80 { return { v }; }