![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
#include <map>
#include <vector>
#include <string>
#include <limits>
#include <typeinfo>
#include <algorithm>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | DD4hep::invalid_handle_exception |
Specialized exception to be thrown if invalid handles are accessed. More... | |
struct | DD4hep::Primitive< T > |
A bit of support for printing primitives. More... | |
class | DD4hep::ComponentCast |
Class to perform dynamic casts using unknown pointers. More... | |
class | DD4hep::DestroyObject< T > |
Functor to delete objects from heap and reset the pointer. More... | |
class | DD4hep::Select2nd< T > |
Operator to select second element of a pair. More... | |
class | DD4hep::Select1st< T > |
Operator to select the first element of a pair. More... | |
class | DD4hep::DestroyObjects< M > |
map Functor to delete objects from heap More... | |
class | DD4hep::DestroyFirst< M > |
map Functor to delete objects from heap More... | |
class | DD4hep::ReleaseObject< T > |
Functor to release objects from heap and reset the pointer. More... | |
class | DD4hep::ReleaseObjects< M > |
Map Functor to release objects from heap. More... | |
class | DD4hep::ReferenceObject< T > |
Functor to delete objects from heap and reset the pointer. More... | |
class | DD4hep::ReferenceObjects< M > |
Functor to delete objects from heap and reset the pointer. More... | |
struct | DD4hep::ApplyMemFunc< R, T > |
Member function call-functor with no arguments. More... | |
struct | DD4hep::ApplyMemFunc1< R, T, A1 > |
Member function call-functor with 1 argument. More... | |
struct | DD4hep::ApplyMemFunc2< R, T, A1, A2 > |
Member function call-functor with 2 arguments. More... | |
struct | DD4hep::ApplyMemFuncConst< R, T > |
Member function call-functor with no arguments (const version) More... | |
struct | DD4hep::ApplyMemFuncConst1< R, T, A1 > |
Member function call-functor with 1 argument (const version) More... | |
struct | DD4hep::ApplyMemFuncConst2< R, T, A1, A2 > |
Member function call-functor with 2 arguments (const version) More... | |
class | DD4hep::Apply1rst< M, FCN > |
Generic map Functor to act on first element (key) More... | |
class | DD4hep::Apply2nd< M, FCN > |
Generic map Functor to act on second element (mapped type) More... | |
class | DD4hep::ReferenceBitMask< T > |
Data structure to manipulate a bitmask held by reference and represented by an integer. More... | |
Namespaces | |
DD4hep | |
Namespace for the AIDA detector description toolkit. | |
DD4hep::DDSegmentation | |
Namespace for base segmentations. | |
DD4hep::Geometry | |
Namespace for the geometry part of the AIDA detector description toolkit. | |
Typedefs | |
typedef long long int | DD4hep::DDSegmentation::CellID |
Useful typedefs to differentiate cell IDs and volume IDs. More... | |
typedef long long int | DD4hep::DDSegmentation::VolumeID |
Functions | |
unsigned int | DD4hep::hash32 (const char *key) |
We need it so often: one-at-time 32 bit hash function. More... | |
unsigned int | DD4hep::hash32 (const std::string &key) |
long int | DD4hep::makeTime (int year, int month, int day, int hour=0, int minutes=0, int seconds=0) |
Convert date into epoch time (seconds since 1970) More... | |
long int | DD4hep::makeTime (const std::string &date, const char *fmt="%d-%m-%Y %H:%M:%S") |
Convert date into epoch time (seconds since 1970) More... | |
std::string | DD4hep::typeName (const std::type_info &type) |
ABI information about type names. More... | |
void | DD4hep::typeinfoCheck (const std::type_info &typ1, const std::type_info &typ2, const std::string &text="") |
Check type infos for equivalence (dynamic casts) using ABI information. More... | |
void | DD4hep::invalidHandleError (const std::type_info &type) |
Throw exception when handles are check for validity. More... | |
void | DD4hep::invalidHandleAssignmentError (const std::type_info &from, const std::type_info &to) |
Throw exception when handles are badly assigned. More... | |
template<typename T > | |
void | DD4hep::invalidHandleError () |
Throw exception when handles are check for validity. More... | |
void | DD4hep::notImplemented (const std::string &msg) |
Throw exception when handles are check for validity. More... | |
template<typename T > | |
void | DD4hep::copyObject (void *target, const void *source) |
Helper to copy objects. More... | |
template<typename T > | |
void | DD4hep::destructObject (T *p) |
Helper to destruct objects. Note: The memory is NOT released! More... | |
template<typename T > | |
void | DD4hep::deletePtr (T *&p) |
Helper to delete objects from heap and reset the pointer. Saves many many lines of code. More... | |
template<typename T > | |
void | DD4hep::deleteObject (T *p) |
Helper to delete objects from heap and reset the pointer. Saves many many lines of code. More... | |
template<typename T > | |
void | DD4hep::destroyObject (T *&p) |
Helper to delete objects from heap and reset the pointer. More... | |
template<typename T > | |
Select2nd< typename T::value_type > | DD4hep::select2nd (const T &) |
Generator to create Operator to select value elements of a map. More... | |
template<typename T > | |
Select1st< typename T::value_type > | DD4hep::select1st (const T &) |
Generator to create Operator to select key values of a map. More... | |
template<typename M > | |
void | DD4hep::destroyObjects (M &m) |
template<typename M > | |
DestroyObjects< M > | DD4hep::destroy2nd (M &m) |
template<typename M > | |
void | DD4hep::destroyFirst (M &m) |
template<typename M > | |
void | DD4hep::destroy1st (M &m) |
template<typename T > | |
void | DD4hep::releasePtr (T &p) |
Helper to delete objects from heap and reset the pointer. Saves many many lines of code. More... | |
template<typename M > | |
ReleaseObject< typename M::value_type > | DD4hep::releaseObject (M &) |
template<typename M > | |
void | DD4hep::releaseObjects (M &m) |
template<typename M > | |
void | DD4hep::release2nd (M &m) |
template<typename M > | |
ReferenceObject< M > | DD4hep::referenceObject (M &) |
template<typename M > | |
ReferenceObjects< typename M::value_type > | DD4hep::reference2nd (M &) |
template<typename C , typename R , typename T > | |
void | DD4hep::call_member_func (C &object, R(T::*pmf)()) |
template<typename C , typename R , typename T , typename A1 > | |
void | DD4hep::call_member_func (C &object, R(T::*pmf)(A1 a1), A1 a1) |
template<typename C , typename R , typename T , typename A1 , typename A2 > | |
void | DD4hep::call_member_func (C &object, R(T::*pmf)(A1 a1, A2 a2), A1 a1, A2 a2) |
template<typename C , typename FCN > | |
Apply1rst< C, FCN > | DD4hep::apply__1rst_value (C &, const FCN &func) |
template<typename C , typename FCN > | |
void | DD4hep::apply1rst (C &object, const FCN &func) |
template<typename C , typename R , typename T > | |
void | DD4hep::apply1rst (C &object, R(T::*pmf)()) |
template<typename C , typename R , typename T , typename A1 > | |
void | DD4hep::apply1rst (C object, R(T::*pmf)(A1 a1), A1 a1) |
template<typename C , typename FCN > | |
Apply2nd< C, FCN > | DD4hep::apply__2nd_value (C &, const FCN &func) |
template<typename C , typename FCN > | |
void | DD4hep::apply2nd (C &object, const FCN &func) |
template<typename C , typename R , typename T > | |
void | DD4hep::apply2nd (C &object, R(T::*pmf)()) |
template<typename C , typename R , typename T , typename A1 > | |
void | DD4hep::apply2nd (C object, R(T::*pmf)(A1 a1), A1 a1) |