Belle II Software development
TRGGDLDBAlgs Class Reference

The payload class for GDL algorithm. More...

#include <TRGGDLDBAlgs.h>

Inheritance diagram for TRGGDLDBAlgs:

Public Member Functions

 TRGGDLDBAlgs ()
 Default constructor.
 
 TRGGDLDBAlgs (const TRGGDLDBAlgs &)=default
 copy constructor
 
TRGGDLDBAlgsoperator= (const TRGGDLDBAlgs &)=default
 assignment operator
 
void setalg (const std::string &s)
 Setter for a GDL logic alghrithm.
 
void clear (void)
 clear vector
 
std::string getalg (int i) const
 Getter for a GDL logic alghrithm.
 
int getnalgs () const
 Getter of the number of algorithms.
 

Private Member Functions

 ClassDef (TRGGDLDBAlgs, 1)
 ClassDef, must be the last term before the closing {}.
 

Private Attributes

std::vector< std::string > m_algs
 Algorithm strings of GDL logic.
 

Detailed Description

The payload class for GDL algorithm.

The payload class stores strings of GDL logic algorithm.

Definition at line 25 of file TRGGDLDBAlgs.h.

Constructor & Destructor Documentation

◆ TRGGDLDBAlgs()

TRGGDLDBAlgs ( )
inline

Default constructor.

Definition at line 29 of file TRGGDLDBAlgs.h.

29{}

Member Function Documentation

◆ clear()

void clear ( void  )
inline

clear vector

Definition at line 44 of file TRGGDLDBAlgs.h.

45 {
46 m_algs.clear();
47 }
std::vector< std::string > m_algs
Algorithm strings of GDL logic.
Definition: TRGGDLDBAlgs.h:64

◆ getalg()

std::string getalg ( int  i) const
inline

Getter for a GDL logic alghrithm.

Definition at line 50 of file TRGGDLDBAlgs.h.

51 {
52 return m_algs.at(i);
53 }

◆ getnalgs()

int getnalgs ( ) const
inline

Getter of the number of algorithms.

Definition at line 56 of file TRGGDLDBAlgs.h.

57 {
58 return m_algs.size();
59 }

◆ setalg()

void setalg ( const std::string &  s)
inline

Setter for a GDL logic alghrithm.

Definition at line 38 of file TRGGDLDBAlgs.h.

39 {
40 m_algs.push_back(s);
41 }

Member Data Documentation

◆ m_algs

std::vector<std::string> m_algs
private

Algorithm strings of GDL logic.

Definition at line 64 of file TRGGDLDBAlgs.h.


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