Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ClassID_traits< T > Struct Reference

#include <ClassID_traits.h>

Collaboration diagram for ClassID_traits< T >:

Public Types

using has_version_tag = std::false_type
 
using has_classID_tag = std::false_type
 

Static Public Member Functions

static const CLIDID ()
 the CLID of T More...
 
static const std::string & typeName ()
 the demangled type name of T More...
 
static const std::type_info & typeInfo ()
 the type id of T More...
 

Static Public Attributes

static const bool s_isDataObject = true
 
static const int s_version = 0
 
static const bool s_isConst = false
 

Detailed Description

Definition at line 71 of file Control/AthenaKernel/AthenaKernel/ClassID_traits.h.

Member Typedef Documentation

◆ has_classID_tag

using ClassID_traits< T >::has_classID_tag = std::false_type

◆ has_version_tag

using ClassID_traits< T >::has_version_tag = std::false_type

Member Function Documentation

◆ ID()

static const CLID& ClassID_traits< T >::ID ( )
inlinestatic

the CLID of T

Definition at line 75 of file Control/AthenaKernel/AthenaKernel/ClassID_traits.h.

75  {
76  return T::classID();
77  }

◆ typeInfo()

static const std::type_info& ClassID_traits< T >::typeInfo ( )
inlinestatic

the type id of T

Definition at line 86 of file Control/AthenaKernel/AthenaKernel/ClassID_traits.h.

86  {
87  return typeid(T);
88  }

◆ typeName()

static const std::string& ClassID_traits< T >::typeName ( )
inlinestatic

the demangled type name of T

Definition at line 80 of file Control/AthenaKernel/AthenaKernel/ClassID_traits.h.

80  {
81  static const std::string tname = Athena::typeinfoName(typeid(T));
82  return tname;
83  }

Member Data Documentation

◆ s_isConst

const bool ClassID_traits< T >::s_isConst = false
static

◆ s_isDataObject

const bool ClassID_traits< T >::s_isDataObject = true
static

◆ s_version

const int ClassID_traits< T >::s_version = 0
static

The documentation for this struct was generated from the following file:
Athena::typeinfoName
std::string typeinfoName(const std::type_info &ti)
Convert a type_info to a demangled string.
Definition: AthenaKernel/src/ClassName.cxx:23
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35