![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
Utility namespace to support boost::spirit. More...
Functions | |
std::ostream & | toStream (const Property &result, std::ostream &os) |
template<class TYPE > | |
std::ostream & | toStream (const TYPE &obj, std::ostream &s) |
template<class ITERATOR > | |
std::ostream & | toStream (ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim) |
the helper function to print the sequence More... | |
std::ostream & | toStream (const std::string &obj, std::ostream &s) |
the printtout of the strings. More... | |
std::ostream & | toStream (const bool obj, std::ostream &s) |
the printout of boolean values "a'la Python" More... | |
std::ostream & | toStream (const float obj, std::ostream &s, const int prec=6) |
the printout of float values with the reasonable precision More... | |
std::ostream & | toStream (const double obj, std::ostream &s, const int prec=8) |
the printout of double values with the reasonable precision More... | |
std::ostream & | toStream (const long double obj, std::ostream &s, const int prec=10) |
the printout of long double values with the reasonable precision More... | |
template<class KTYPE , class VTYPE > | |
std::ostream & | toStream (const std::pair< KTYPE, VTYPE > &obj, std::ostream &s) |
template<class TYPE , class ALLOCATOR > | |
std::ostream & | toStream (const std::vector< TYPE, ALLOCATOR > &obj, std::ostream &s) |
template<class TYPE , class ALLOCATOR > | |
std::ostream & | toStream (const std::list< TYPE, ALLOCATOR > &obj, std::ostream &s) |
template<class TYPE , class ALLOCATOR > | |
std::ostream & | toStream (const std::deque< TYPE, ALLOCATOR > &obj, std::ostream &s) |
template<class TYPE , class CMP , class ALLOCATOR > | |
std::ostream & | toStream (const std::set< TYPE, CMP, ALLOCATOR > &obj, std::ostream &s) |
template<class KTYPE , class VTYPE , class CMP , class ALLOCATOR > | |
std::ostream & | toStream (const std::map< KTYPE, VTYPE, CMP, ALLOCATOR > &obj, std::ostream &s) |
template<class TYPE , unsigned int N> | |
std::ostream & | toStream (TYPE(&obj)[N], std::ostream &s) |
template<class TYPE , unsigned int N> | |
std::ostream & | toStream (const TYPE(&obj)[N], std::ostream &s) |
template<unsigned int N> | |
std::ostream & | toStream (char(&obj)[N], std::ostream &s) |
template<unsigned int N> | |
std::ostream & | toStream (const char(&obj)[N], std::ostream &s) |
std::ostream & | toStream (const char *obj, std::ostream &s) |
template<class TYPE > | |
std::string | toString (const TYPE &obj) |
std::ostream & | toStream (const ROOT::Math::XYZPoint &obj, std::ostream &s) |
print XYZ point More... | |
std::ostream & | toStream (const ROOT::Math::XYZVector &obj, std::ostream &s) |
std::ostream & | toStream (const ROOT::Math::PxPyPzEVector &obj, std::ostream &s) |
print Lorentz vector More... | |
Utility namespace to support boost::spirit.
|
inline |
the generic implementation of the printout to the std::ostream
Definition at line 254 of file ToStream.h.
|
inline |
the helper function to print the sequence
first | (INPUT) begin-iterator for the sequence |
last | (INPUT) end-iterator for the sequence |
s | (UPDATE) the stream itself |
open | (INPUT) "open"-symbol |
close | (INPUT) "close"-symbol |
delim | (INPUT) "delimiter"-symbol |
the helper function to print the sequence
first | (INPUT) begin-iterator for the sequence |
last | (INPUT) end-iterator for the sequence |
s | (UPDATE) the stream itself |
open | (INPUT) "open"-symbol |
close | (INPUT) "close"-symbol |
delim | (INPUT) "delimiter"-symbol |
Definition at line 270 of file ToStream.h.
References s, and toStream().
|
inline |
the printtout of the strings.
the string is printed a'la Python using the quotes
Definition at line 81 of file ToStream.h.
References s.
|
inline |
the printout of boolean values "a'la Python"
Definition at line 94 of file ToStream.h.
|
inline |
the printout of float values with the reasonable precision
Definition at line 101 of file ToStream.h.
|
inline |
the printout of double values with the reasonable precision
Definition at line 109 of file ToStream.h.
|
inline |
the printout of long double values with the reasonable precision
Definition at line 117 of file ToStream.h.
|
inline |
the partial template specialization of std::pair<KTYPE,VTYPE>
printout the pair is printed a'la Python tuple: " ( a , b )"
Definition at line 130 of file ToStream.h.
References toStream().
|
inline |
the partial template specialization of std::vector<TYPE,ALLOCATOR>
printout. The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 145 of file ToStream.h.
References s, and toStream().
|
inline |
the partial template specialization of std::list<TYPE,ALLOCATOR>
printout. The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 156 of file ToStream.h.
References s, and toStream().
|
inline |
the partial template specialization of std::deque<TYPE,ALLOCATOR>
printout. The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 167 of file ToStream.h.
References s, and toStream().
|
inline |
the partial template specialization of std::set<TYPE,CMP,ALLOCATOR>
printout. The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 178 of file ToStream.h.
References s, and toStream().
|
inline |
the partial template specialization of std::map<KTYPE,VTYPE,CMP,ALLOCATOR>
printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )"
Definition at line 190 of file ToStream.h.
References toStream().
std::ostream& DD4hep::Utils::toStream | ( | TYPE(&) | obj[N], |
std::ostream & | s | ||
) |
the specialization for C-arrays, a'la python tuple
Definition at line 209 of file ToStream.h.
References toStream().
std::ostream& DD4hep::Utils::toStream | ( | const TYPE(&) | obj[N], |
std::ostream & | s | ||
) |
the specialization for C-arrays, a'la python tuple
Definition at line 218 of file ToStream.h.
References toStream().
std::ostream& DD4hep::Utils::toStream | ( | const Property & | result, |
std::ostream & | os | ||
) |
Definition at line 226 of file ComponentProperties.cpp.
References DD4hep::Property::str().
Referenced by printAlignmentEx(), DD4hep::Grammar< TYPE >::str(), toStream(), and toString().
std::ostream& DD4hep::Utils::toStream | ( | char(&) | obj[N], |
std::ostream & | s | ||
) |
the specialization for C-string, a'la python tuple
Definition at line 227 of file ToStream.h.
References toStream().
std::ostream& DD4hep::Utils::toStream | ( | const char(&) | obj[N], |
std::ostream & | s | ||
) |
the specialization for C-string, a'la python tuple
Definition at line 236 of file ToStream.h.
References toStream().
|
inline |
the specialization for C-string, a'la python tuple
Definition at line 244 of file ToStream.h.
References toStream().
std::ostream & DD4hep::Utils::toStream | ( | const ROOT::Math::XYZPoint & | obj, |
std::ostream & | s | ||
) |
std::ostream & DD4hep::Utils::toStream | ( | const ROOT::Math::XYZVector & | obj, |
std::ostream & | s | ||
) |
Definition at line 45 of file ToStream.cpp.
References s, and toStream().
std::ostream & DD4hep::Utils::toStream | ( | const ROOT::Math::PxPyPzEVector & | obj, |
std::ostream & | s | ||
) |
|
inline |
the generic implementation of the type conversion to the string
Definition at line 297 of file ToStream.h.
References s, and toStream().