The payload class for GDL algorithm.
More...
#include <TRGGDLDBAlgs.h>
|
| TRGGDLDBAlgs () |
| Default constructor.
|
|
| TRGGDLDBAlgs (const TRGGDLDBAlgs &)=default |
| copy constructor
|
|
TRGGDLDBAlgs & | operator= (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.
|
|
|
| ClassDef (TRGGDLDBAlgs, 1) |
| ClassDef, must be the last term before the closing {}.
|
|
|
std::vector< std::string > | m_algs |
| Algorithm strings of GDL logic.
|
|
The payload class for GDL algorithm.
The payload class stores strings of GDL logic algorithm.
Definition at line 25 of file TRGGDLDBAlgs.h.
◆ TRGGDLDBAlgs()
◆ clear()
clear vector
Definition at line 44 of file TRGGDLDBAlgs.h.
45 {
46 m_algs.clear();
47 }
◆ 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()
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 }
◆ m_algs
std::vector<std::string> m_algs |
|
private |
The documentation for this class was generated from the following file: