ATLAS Offline Software
Public Types | Static Public Member Functions | List of all members
DataModel_detail::DVLCast< DVL, false > Struct Template Reference

casting operations for DataVector/List, static_cast version. More...

#include <DVLCast.h>

Collaboration diagram for DataModel_detail::DVLCast< DVL, false >:

Public Types

typedef DVL::base_value_type T
 

Static Public Member Functions

template<class U >
static Tcast (U *b)
 Cast b to a T*. More...
 
template<class U >
static const Tcast (const U *b)
 Cast b to a const T*. More...
 

Detailed Description

template<class DVL>
struct DataModel_detail::DVLCast< DVL, false >

casting operations for DataVector/List, static_cast version.

Definition at line 56 of file DVLCast.h.

Member Typedef Documentation

◆ T

template<class DVL >
typedef DVL::base_value_type DataModel_detail::DVLCast< DVL, false >::T

Definition at line 58 of file DVLCast.h.

Member Function Documentation

◆ cast() [1/2]

template<class DVL >
template<class U >
static const T* DataModel_detail::DVLCast< DVL, false >::cast ( const U *  b)
inlinestatic

Cast b to a const T*.

Parameters
bPointer to cast.

Definition at line 77 of file DVLCast.h.

78  {
79  return static_cast<const T*> (b);
80  }

◆ cast() [2/2]

template<class DVL >
template<class U >
static T* DataModel_detail::DVLCast< DVL, false >::cast ( U *  b)
inlinestatic

Cast b to a T*.

Parameters
bPointer to cast.

Definition at line 66 of file DVLCast.h.

67  {
68  return static_cast<T*> (b);
69  }

The documentation for this struct was generated from the following file:
DataModel_detail::DVLCast< DVL, false >::T
DVL::base_value_type T
Definition: DVLCast.h:58
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77