Printing to output stream

Classes

struct  hpp::prettyPrint< T, Option >
 This function must be specialized for the type you want to print. More...
 

Enumerations

enum  {
  hpp::OutputFormatBits = 3,
  hpp::OneLineOutput = 0,
  hpp::CondensedOutput = 1,
  hpp::PrettyOutput = 2
}
 The printing options, currently only contains the output format. More...
 

Functions

HPP_PINOCCHIO_DLLAPI std::ostream & hpp::setpyformat (std::ostream &o)
 
HPP_PINOCCHIO_DLLAPI std::ostream & hpp::unsetpyformat (std::ostream &o)
 
template<typename T >
PrettyPrint< T, PrettyOutput > hpp::pretty_print (const T &t)
 Pretty printing. More...
 
template<typename T >
PrettyPrint< T, CondensedOutput > hpp::condensed (const T &t)
 Condensed printing. More...
 
template<typename T >
PrettyPrint< T, OneLineOutput > hpp::one_line (const T &t)
 Print on one line. More...
 

Detailed Description

Enumeration Type Documentation

anonymous enum

The printing options, currently only contains the output format.

Enumerator
OutputFormatBits 
OneLineOutput 
CondensedOutput 
PrettyOutput 

Function Documentation

template<typename T >
PrettyPrint<T, CondensedOutput > hpp::condensed ( const T &  t)
inline

Condensed printing.

template<typename T >
PrettyPrint<T, OneLineOutput > hpp::one_line ( const T &  t)
inline

Print on one line.

template<typename T >
PrettyPrint<T, PrettyOutput > hpp::pretty_print ( const T &  t)
inline

Pretty printing.

HPP_PINOCCHIO_DLLAPI std::ostream& hpp::setpyformat ( std::ostream &  o)
HPP_PINOCCHIO_DLLAPI std::ostream& hpp::unsetpyformat ( std::ostream &  o)