ATLAS Offline Software
Static Public Member Functions | List of all members
TRTCond::DeadStrawTrait Class Reference

trait class to deal with StrawStatus in NestedContainers More...

#include <StrawStatusContainer.h>

Collaboration diagram for TRTCond::DeadStrawTrait:

Static Public Member Functions

static void erase (StrawStatus &x)
 
static void copy (StrawStatus &out, const StrawStatus &in)
 
static StrawStatus initialvalue ()
 
static bool isvalid (const StrawStatus &x)
 
static size_t footprint (const StrawStatus &x)
 
static void print (const StrawStatus &x)
 
static bool isequal (const StrawStatus &x, const StrawStatus &y)
 

Detailed Description

trait class to deal with StrawStatus in NestedContainers

Definition at line 28 of file StrawStatusContainer.h.

Member Function Documentation

◆ copy()

static void TRTCond::DeadStrawTrait::copy ( StrawStatus out,
const StrawStatus in 
)
inlinestatic

Definition at line 32 of file StrawStatusContainer.h.

32 { out = in ; }

◆ erase()

static void TRTCond::DeadStrawTrait::erase ( StrawStatus x)
inlinestatic

Definition at line 31 of file StrawStatusContainer.h.

31 { x.setstatus(StrawStatus::Undefined) ; }

◆ footprint()

static size_t TRTCond::DeadStrawTrait::footprint ( const StrawStatus x)
inlinestatic

Definition at line 36 of file StrawStatusContainer.h.

36 { return sizeof(x) ; }

◆ initialvalue()

static StrawStatus TRTCond::DeadStrawTrait::initialvalue ( )
inlinestatic

Definition at line 33 of file StrawStatusContainer.h.

33 { return StrawStatus() ; }

◆ isequal()

static bool TRTCond::DeadStrawTrait::isequal ( const StrawStatus x,
const StrawStatus y 
)
inlinestatic

Definition at line 38 of file StrawStatusContainer.h.

38 { return x==y ; }

◆ isvalid()

static bool TRTCond::DeadStrawTrait::isvalid ( const StrawStatus x)
inlinestatic

Definition at line 35 of file StrawStatusContainer.h.

35 { return x.getstatus()!=StrawStatus::Undefined ;}

◆ print()

static void TRTCond::DeadStrawTrait::print ( const StrawStatus x)
inlinestatic

Definition at line 37 of file StrawStatusContainer.h.

37 { x.print() ; }

The documentation for this class was generated from the following file:
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
x
#define x
TRTCond::StrawStatus::Undefined
@ Undefined
Definition: StrawStatus.h:18
y
#define y