Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
art::TypeID Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_09_01/source/canvas/Utilities/TypeID.h"

Public Member Functions

 ~TypeID () noexcept
 
 TypeID () noexcept
 
 TypeID (std::type_info const &) noexcept
 
 TypeID (std::type_info const *) noexcept
 
template<typename T >
 TypeID (T const &val) noexcept
 
 TypeID (TypeID const &) noexcept
 
 TypeID (TypeID &) noexcept
 
TypeIDoperator= (TypeID const &) noexcept
 
TypeIDoperator= (TypeID &) noexcept
 
std::type_info const & typeInfo () const
 
char const * name () const
 
std::string className () const
 
std::string friendlyClassName () const
 
bool operator< (TypeID const &) const
 
bool operator== (TypeID const &) const
 
 operator bool () const
 
void swap (TypeID &)
 
void print (std::ostream &) const
 

Static Public Member Functions

static void startup ()
 
static void shutdown ()
 

Private Attributes

std::type_info const * ti_ {nullptr}
 

Static Private Attributes

static hep::concurrency::RecursiveMutex * s_mutex
 
static std::map< size_t, std::string > * s_nameMap
 

Detailed Description

Definition at line 25 of file TypeID.h.

Constructor & Destructor Documentation

art::TypeID::~TypeID ( )
noexcept
art::TypeID::TypeID ( )
noexcept
art::TypeID::TypeID ( std::type_info const &  )
explicitnoexcept
art::TypeID::TypeID ( std::type_info const *  )
explicitnoexcept
template<typename T >
art::TypeID::TypeID ( T const &  val)
explicitnoexcept

Definition at line 68 of file TypeID.h.

References febshutoff_auto::val.

68  : ti_{&typeid(val)}
69  {}
std::type_info const * ti_
Definition: TypeID.h:64
art::TypeID::TypeID ( TypeID const &  )
noexcept
art::TypeID::TypeID ( TypeID )
noexcept

Member Function Documentation

std::string art::TypeID::className ( ) const
std::string art::TypeID::friendlyClassName ( ) const
char const* art::TypeID::name ( ) const
art::TypeID::operator bool ( ) const
explicit
bool art::TypeID::operator< ( TypeID const &  ) const
TypeID& art::TypeID::operator= ( TypeID const &  )
noexcept
TypeID& art::TypeID::operator= ( TypeID )
noexcept
bool art::TypeID::operator== ( TypeID const &  ) const
void art::TypeID::print ( std::ostream &  ) const
static void art::TypeID::shutdown ( )
static
static void art::TypeID::startup ( )
static
void art::TypeID::swap ( TypeID )

Referenced by art::is_assns().

std::type_info const& art::TypeID::typeInfo ( ) const

Member Data Documentation

hep::concurrency::RecursiveMutex* art::TypeID::s_mutex
staticprivate

Definition at line 34 of file TypeID.h.

std::map<size_t, std::string>* art::TypeID::s_nameMap
staticprivate

Definition at line 35 of file TypeID.h.

std::type_info const* art::TypeID::ti_ {nullptr}
private

Definition at line 64 of file TypeID.h.


The documentation for this class was generated from the following file: