![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
A bit of support for printing primitives. More...
#include <Primitives.h>
Public Types | |
typedef T | value_t |
Type decribed by th class. More... | |
typedef std::vector< value_t > | vector_t |
Definition of the vector type. More... | |
typedef std::pair< short, value_t > | short_pair_t |
Definition of the short integer mapped type. More... | |
typedef std::pair< unsigned short, value_t > | ushort_pair_t |
Definition of the unsigned short integer mapped type. More... | |
typedef std::pair< int, value_t > | int_pair_t |
Definition of the integer mapped type. More... | |
typedef std::pair< unsigned int, value_t > | uint_pair_t |
Definition of the unsigned integer mapped type. More... | |
typedef std::pair< long, value_t > | long_pair_t |
Definition of the long integer mapped type. More... | |
typedef std::pair< unsigned long, value_t > | ulong_pair_t |
Definition of the unsigned long integer mapped type. More... | |
typedef std::pair< size_t, value_t > | size_pair_t |
Definition of the size_t mapped type. More... | |
typedef std::pair< std::string, value_t > | string_pair_t |
Definition of the string mapped type. More... | |
typedef std::map< short, value_t > | short_map_t |
Definition of the short integer mapped type. More... | |
typedef std::map< unsigned short, value_t > | ushort_map_t |
Definition of the unsigned short integer mapped type. More... | |
typedef std::map< int, value_t > | int_map_t |
Definition of the integer mapped type. More... | |
typedef std::map< unsigned int, value_t > | uint_map_t |
Definition of the unsigned integer mapped type. More... | |
typedef std::map< long, value_t > | long_map_t |
Definition of the long integer mapped type. More... | |
typedef std::map< unsigned long, value_t > | ulong_map_t |
Definition of the unsigned long integer mapped type. More... | |
typedef std::map< size_t, value_t > | size_map_t |
Definition of the size_t mapped type. More... | |
typedef std::map< std::string, value_t > | string_map_t |
Definition of the string mapped type. More... | |
typedef std::numeric_limits < value_t > | limits |
Definition of the limits. More... | |
Public Member Functions | |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
const char * | default_format () |
template<> | |
std::string | toString (const char *value) |
template<> | |
std::string | toString (char *value) |
template<> | |
std::string | toString (std::string value) |
Static Public Member Functions | |
static const char * | default_format () |
Access to default printf format. More... | |
static const char * | format () |
Access to the specific printf format. May be overloaded by users. More... | |
static const std::type_info & | type () |
Access to the RTTI data type. More... | |
static std::string | type_name () |
Access to the RTTI data type. More... | |
static std::string | toString (T value) |
Auto conversion to string using the default format. More... | |
A bit of support for printing primitives.
Definition at line 102 of file Primitives.h.
typedef std::map<int,value_t> DD4hep::Primitive< T >::int_map_t |
Definition of the integer mapped type.
Definition at line 131 of file Primitives.h.
typedef std::pair<int,value_t> DD4hep::Primitive< T >::int_pair_t |
Definition of the integer mapped type.
Definition at line 114 of file Primitives.h.
typedef std::numeric_limits<value_t> DD4hep::Primitive< T >::limits |
Definition of the limits.
Definition at line 143 of file Primitives.h.
typedef std::map<long,value_t> DD4hep::Primitive< T >::long_map_t |
Definition of the long integer mapped type.
Definition at line 135 of file Primitives.h.
typedef std::pair<long,value_t> DD4hep::Primitive< T >::long_pair_t |
Definition of the long integer mapped type.
Definition at line 118 of file Primitives.h.
typedef std::map<short,value_t> DD4hep::Primitive< T >::short_map_t |
Definition of the short integer mapped type.
Definition at line 127 of file Primitives.h.
typedef std::pair<short,value_t> DD4hep::Primitive< T >::short_pair_t |
Definition of the short integer mapped type.
Definition at line 110 of file Primitives.h.
typedef std::map<size_t,value_t> DD4hep::Primitive< T >::size_map_t |
Definition of the size_t mapped type.
Definition at line 139 of file Primitives.h.
typedef std::pair<size_t,value_t> DD4hep::Primitive< T >::size_pair_t |
Definition of the size_t mapped type.
Definition at line 122 of file Primitives.h.
typedef std::map<std::string,value_t> DD4hep::Primitive< T >::string_map_t |
Definition of the string mapped type.
Definition at line 141 of file Primitives.h.
typedef std::pair<std::string,value_t> DD4hep::Primitive< T >::string_pair_t |
Definition of the string mapped type.
Definition at line 124 of file Primitives.h.
typedef std::map<unsigned int,value_t> DD4hep::Primitive< T >::uint_map_t |
Definition of the unsigned integer mapped type.
Definition at line 133 of file Primitives.h.
typedef std::pair<unsigned int,value_t> DD4hep::Primitive< T >::uint_pair_t |
Definition of the unsigned integer mapped type.
Definition at line 116 of file Primitives.h.
typedef std::map<unsigned long,value_t> DD4hep::Primitive< T >::ulong_map_t |
Definition of the unsigned long integer mapped type.
Definition at line 137 of file Primitives.h.
typedef std::pair<unsigned long,value_t> DD4hep::Primitive< T >::ulong_pair_t |
Definition of the unsigned long integer mapped type.
Definition at line 120 of file Primitives.h.
typedef std::map<unsigned short,value_t> DD4hep::Primitive< T >::ushort_map_t |
Definition of the unsigned short integer mapped type.
Definition at line 129 of file Primitives.h.
typedef std::pair<unsigned short,value_t> DD4hep::Primitive< T >::ushort_pair_t |
Definition of the unsigned short integer mapped type.
Definition at line 112 of file Primitives.h.
typedef T DD4hep::Primitive< T >::value_t |
Type decribed by th class.
Definition at line 105 of file Primitives.h.
typedef std::vector<value_t> DD4hep::Primitive< T >::vector_t |
Definition of the vector type.
Definition at line 107 of file Primitives.h.
|
static |
Access to default printf format.
Referenced by DD4hep::Primitive< T >::format().
const char * DD4hep::Primitive< bool >::default_format | ( | ) |
Definition at line 221 of file Primitives.cpp.
const char * DD4hep::Primitive< char >::default_format | ( | ) |
Definition at line 222 of file Primitives.cpp.
const char * DD4hep::Primitive< unsigned char >::default_format | ( | ) |
Definition at line 223 of file Primitives.cpp.
const char * DD4hep::Primitive< short >::default_format | ( | ) |
Definition at line 224 of file Primitives.cpp.
const char * DD4hep::Primitive< unsigned short >::default_format | ( | ) |
Definition at line 225 of file Primitives.cpp.
const char * DD4hep::Primitive< int >::default_format | ( | ) |
Definition at line 226 of file Primitives.cpp.
const char * DD4hep::Primitive< unsigned int >::default_format | ( | ) |
Definition at line 227 of file Primitives.cpp.
const char * DD4hep::Primitive< long >::default_format | ( | ) |
Definition at line 228 of file Primitives.cpp.
const char * DD4hep::Primitive< unsigned long >::default_format | ( | ) |
Definition at line 229 of file Primitives.cpp.
const char * DD4hep::Primitive< float >::default_format | ( | ) |
Definition at line 230 of file Primitives.cpp.
const char * DD4hep::Primitive< double >::default_format | ( | ) |
Definition at line 231 of file Primitives.cpp.
const char * DD4hep::Primitive< char * >::default_format | ( | ) |
Definition at line 232 of file Primitives.cpp.
const char * DD4hep::Primitive< const char * >::default_format | ( | ) |
Definition at line 233 of file Primitives.cpp.
const char * DD4hep::Primitive< std::string >::default_format | ( | ) |
Definition at line 234 of file Primitives.cpp.
|
inlinestatic |
Access to the specific printf format. May be overloaded by users.
Definition at line 148 of file Primitives.h.
References DD4hep::Primitive< T >::default_format().
|
static |
Auto conversion to string using the default format.
Generic function to convert to string.
Definition at line 237 of file Primitives.cpp.
std::string DD4hep::Primitive< const char * >::toString | ( | const char * | value | ) |
Definition at line 244 of file Primitives.cpp.
std::string DD4hep::Primitive< char * >::toString | ( | char * | value | ) |
Definition at line 251 of file Primitives.cpp.
std::string DD4hep::Primitive< std::string >::toString | ( | std::string | value | ) |
Definition at line 258 of file Primitives.cpp.
|
inlinestatic |
Access to the RTTI data type.
Definition at line 150 of file Primitives.h.
Referenced by DD4hep::Primitive< T >::type_name().
|
inlinestatic |
Access to the RTTI data type.
Definition at line 152 of file Primitives.h.
References DD4hep::Primitive< T >::type(), and DD4hep::typeName().