ATLAS Offline Software
Static Public Member Functions | List of all members
ExpressionParsing::SizeHelper< SG::AuxElement > Class Reference

#include <Utils.h>

Collaboration diagram for ExpressionParsing::SizeHelper< SG::AuxElement >:

Static Public Member Functions

static std::size_t getSize (const SG::AuxElement &cont)
 

Detailed Description

Definition at line 67 of file PhysicsAnalysis/CommonTools/ExpressionEvaluation/src/Utils.h.

Member Function Documentation

◆ getSize()

static std::size_t ExpressionParsing::SizeHelper< SG::AuxElement >::getSize ( const SG::AuxElement cont)
inlinestatic

Definition at line 69 of file PhysicsAnalysis/CommonTools/ExpressionEvaluation/src/Utils.h.

69 { return cont.container() ? cont.container()->size_v() : 0; }

The documentation for this class was generated from the following file:
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
SG::AuxVectorData::size_v
virtual size_t size_v() const =0
Return the size of the container.