![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
Helper class template to implement ASCII object dumps. More...
#include <DD4hep/compact/Conversions.h>
Public Member Functions | |
Printer (const Geometry::LCDD *l, std::ostream &stream, const std::string &p="") | |
Initializing constructor of the functor. More... | |
void | operator() (const T &value) const |
Callback operator to be specialized depending on the element type. More... | |
template<> | |
void | operator() (const Handle< NamedObject > &val) const |
template<> | |
void | operator() (const Handle< TNamed > &val) const |
template<> | |
void | operator() (const Constant &val) const |
template<> | |
void | operator() (const Material &val) const |
template<> | |
void | operator() (const VisAttr &val) const |
template<> | |
void | operator() (const Readout &val) const |
template<> | |
void | operator() (const Region &val) const |
template<> | |
void | operator() (const RotationZYX &val) const |
template<> | |
void | operator() (const Position &val) const |
template<> | |
void | operator() (const Condition &val) const |
template<> | |
void | operator() (const LCDD *const &) const |
Public Attributes | |
const Geometry::LCDD * | lcdd |
Reference to the detector description object. More... | |
std::ostream & | os |
Reference to the output stream object, the Printer object should write. More... | |
std::string | prefix |
Optional text prefix when formatting the output. More... | |
Helper class template to implement ASCII object dumps.
Small helper class to print objects
Definition at line 245 of file Printout.h.
|
inline |
Initializing constructor of the functor.
Definition at line 253 of file Printout.h.
void DD4hep::Printer< Handle< NamedObject > >::operator() | ( | const Handle< NamedObject > & | val | ) | const |
Definition at line 42 of file ObjectPrintout.cpp.
References DD4hep::INFO, and DD4hep::printout().
void DD4hep::Printer< Handle< TNamed > >::operator() | ( | const Handle< TNamed > & | val | ) | const |
Definition at line 45 of file ObjectPrintout.cpp.
References DD4hep::INFO, and DD4hep::printout().
void DD4hep::Printer< Constant >::operator() | ( | const Constant & | val | ) | const |
Definition at line 49 of file ObjectPrintout.cpp.
References DD4hep::INFO, DD4hep::printout(), and DD4hep::Geometry::Constant::toString().
void DD4hep::Printer< Material >::operator() | ( | const Material & | val | ) | const |
Definition at line 53 of file ObjectPrintout.cpp.
References DD4hep::INFO, DD4hep::printout(), and DD4hep::Geometry::Material::toString().
void DD4hep::Printer< VisAttr >::operator() | ( | const VisAttr & | val | ) | const |
Definition at line 57 of file ObjectPrintout.cpp.
References DD4hep::INFO, DD4hep::printout(), and DD4hep::Geometry::VisAttr::toString().
void DD4hep::Printer< Readout >::operator() | ( | const Readout & | val | ) | const |
Definition at line 61 of file ObjectPrintout.cpp.
References DD4hep::INFO, and DD4hep::printout().
void DD4hep::Printer< Region >::operator() | ( | const Region & | val | ) | const |
Definition at line 65 of file ObjectPrintout.cpp.
References DD4hep::INFO, and DD4hep::printout().
void DD4hep::Printer< RotationZYX >::operator() | ( | const RotationZYX & | val | ) | const |
Definition at line 69 of file ObjectPrintout.cpp.
References DD4hep::INFO, and DD4hep::printout().
void DD4hep::Printer< Position >::operator() | ( | const Position & | val | ) | const |
Definition at line 74 of file ObjectPrintout.cpp.
References DD4hep::INFO, and DD4hep::printout().
void DD4hep::Printer< Condition >::operator() | ( | const Condition & | val | ) | const |
Definition at line 77 of file ObjectPrintout.cpp.
References DD4hep::INFO, and DD4hep::printout().
void DD4hep::Printer< const LCDD * >::operator() | ( | const LCDD *const & | ) | const |
Definition at line 133 of file ObjectPrintout.cpp.
void DD4hep::Printer< T >::operator() | ( | const T & | value | ) | const |
Callback operator to be specialized depending on the element type.
const Geometry::LCDD* DD4hep::Printer< T >::lcdd |
Reference to the detector description object.
Definition at line 247 of file Printout.h.
std::ostream& DD4hep::Printer< T >::os |
Reference to the output stream object, the Printer object should write.
Definition at line 249 of file Printout.h.
std::string DD4hep::Printer< T >::prefix |
Optional text prefix when formatting the output.
Definition at line 251 of file Printout.h.