ATLAS Offline Software
Classes | Public Member Functions | List of all members
ExpressionParsing::PlainValueHelper< T_src > Class Template Reference

#include <PlainAccessor.h>

Collaboration diagram for ExpressionParsing::PlainValueHelper< T_src >:

Classes

class  Kit
 Auxiliary class to create the corresponding auxiliary helper object. More...
 

Public Member Functions

std::size_t size (const T_src &cont) const
 
T_src get (const T_src &cont) const
 Get the scalar provided by the container. More...
 
T_src get (const T_src &cont, std::size_t idx) const
 Get the specified element of the vector provided by the container. More...
 

Detailed Description

template<typename T_src>
class ExpressionParsing::PlainValueHelper< T_src >

Definition at line 58 of file PlainAccessor.h.

Member Function Documentation

◆ get() [1/2]

template<typename T_src >
T_src ExpressionParsing::PlainValueHelper< T_src >::get ( const T_src &  cont) const
inline

Get the scalar provided by the container.

Definition at line 66 of file PlainAccessor.h.

66  {
67  (void) cont;
68  return cont;
69  }

◆ get() [2/2]

template<typename T_src >
T_src ExpressionParsing::PlainValueHelper< T_src >::get ( const T_src &  cont,
std::size_t  idx 
) const
inline

Get the specified element of the vector provided by the container.

Definition at line 72 of file PlainAccessor.h.

72  {
73  (void) cont;
74  (void) idx;
75  assert( idx == 0);
76  return cont;
77  }

◆ size()

template<typename T_src >
std::size_t ExpressionParsing::PlainValueHelper< T_src >::size ( const T_src &  cont) const
inline

Definition at line 60 of file PlainAccessor.h.

60  {
61  (void) cont;
62  return 1; //@TODO correct ? or 1 ?
63  }

The documentation for this class was generated from the following file:
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69