![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
#include <cstdio>#include <cstdlib>#include <cstdarg>#include <map>#include <string>#include <iostream>Go to the source code of this file.
Classes | |
| class | DD4hep::Handle< T > |
| Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects. More... | |
| class | DD4hep::Printer< T > |
| Helper class template to implement ASCII object dumps. More... | |
| class | DD4hep::PrintMap< T > |
| Helper class template to implement ASCII dumps of named objects maps. More... | |
Namespaces | |
| DD4hep | |
| Namespace for the AIDA detector description toolkit. | |
| DD4hep::Geometry | |
| Namespace for the geometry part of the AIDA detector description toolkit. | |
Typedefs | |
| typedef size_t(* | DD4hep::output_function1_t )(void *, PrintLevel severity, const char *, const char *) |
| typedef size_t(* | DD4hep::output_function2_t )(void *, PrintLevel severity, const char *, const char *, va_list &args) |
Enumerations | |
| enum | DD4hep::PrintLevel { DD4hep::NOLOG = 0, DD4hep::VERBOSE = 1, DD4hep::DEBUG = 2, DD4hep::INFO = 3, DD4hep::WARNING = 4, DD4hep::ERROR = 5, DD4hep::FATAL = 6, DD4hep::ALWAYS = 7 } |
Functions | |
| std::string | DD4hep::arguments (int argc, char **argv) |
| Helper function to serialize argument list to a single string. More... | |
| int | DD4hep::printout (PrintLevel severity, const char *src, const char *fmt,...) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::printout (PrintLevel severity, const std::string &src, const char *fmt,...) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::printout (PrintLevel severity, const std::string &src, const std::string &fmt,...) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::printout (PrintLevel severity, const char *src, const std::string &fmt,...) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::printout (PrintLevel severity, const char *src, const char *fmt, va_list &args) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::printout (PrintLevel severity, const std::string &src, const char *fmt, va_list &args) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::printout (PrintLevel severity, const std::string &src, const std::string &fmt, va_list &args) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::printout (PrintLevel severity, const char *src, const std::string &fmt, va_list &args) |
| Calls the display action with a given severity level. More... | |
| int | DD4hep::except (const std::string &src, const std::string &fmt,...) |
| Calls the display action with ERROR and throws an std::runtime_error exception. More... | |
| int | DD4hep::except (const char *src, const char *fmt,...) |
| Calls the display action with ERROR and throws an std::runtime_error exception. More... | |
| int | DD4hep::except (const std::string &src, const std::string &fmt, va_list &args) |
| Calls the display action with ERROR and throws an std::runtime_error exception. More... | |
| int | DD4hep::except (const char *src, const char *fmt, va_list &args) |
| Calls the display action with ERROR and throws an std::runtime_error exception. More... | |
| std::string | DD4hep::format (const std::string &src, const std::string &fmt,...) |
| Build formatted string. More... | |
| std::string | DD4hep::format (const char *src, const char *fmt,...) |
| Build exception string. More... | |
| std::string | DD4hep::format (const std::string &src, const std::string &fmt, va_list &args) |
| Build formatted string. More... | |
| std::string | DD4hep::format (const char *src, const char *fmt, va_list &args) |
| Build formatted string. More... | |
| void | DD4hep::setPrinter (void *print_arg, output_function1_t fcn) |
| Customize printer function. More... | |
| void | DD4hep::setPrinter2 (void *print_arg, output_function2_t fcn) |
| Customize printer function. More... | |
| std::string | DD4hep::setPrintFormat (const std::string &new_format) |
| Set new printout format for the 3 fields: source-level-message. All 3 are strings. More... | |
| PrintLevel | DD4hep::setPrintLevel (PrintLevel new_level) |
| Set new print level. Returns the old print level. More... | |
| PrintLevel | DD4hep::printLevel () |
| Access the current printer level. More... | |
| PrintLevel | DD4hep::printLevel (const char *value) |
| Translate the printer level from string to value. More... | |
| PrintLevel | DD4hep::printLevel (const std::string &value) |
| Translate the printer level from string to value. More... | |
| template<typename T > | |
| std::ostream & | DD4hep::print (const T &object, std::ostream &os=std::cout, const std::string &indent="") |
| const char * | DD4hep::yes_no (bool value) |
| Helper function to print booleans in format YES/NO. More... | |
| const char * | DD4hep::true_false (bool value) |
| Helper function to print booleans in format true/false. More... | |
1.8.6