#include <EvtModelAlias.hh>
Definition at line 28 of file EvtModelAlias.hh.
◆ EvtModelAlias() [1/3]
EvtModelAlias::EvtModelAlias |
( |
| ) |
|
|
inline |
◆ EvtModelAlias() [2/3]
EvtModelAlias::EvtModelAlias |
( |
std::string | alias, |
|
|
std::string | model, |
|
|
std::vector< std::string > | args ) |
Definition at line 25 of file EvtModelAlias.cc.
25 :
26
27 _aliasName(alias)
28 ,_model(model)
29
30{
31
32 if ( args.size() > 0 ) {
33 int i;
34 for ( i=0; i<args.size(); i++) {
35 std::string tempStr=args[i];
36 _modelArgs.push_back(tempStr);
37 }
38 }
39}
◆ ~EvtModelAlias()
EvtModelAlias::~EvtModelAlias |
( |
| ) |
|
|
inline |
◆ EvtModelAlias() [3/3]
Definition at line 41 of file EvtModelAlias.cc.
41 :
42
43 _aliasName(copyMe._aliasName)
44 ,_model(copyMe._model)
45{
46 if ( copyMe._modelArgs.size() > 0 ) {
47 int i;
48 for ( i=0; i<copyMe._modelArgs.size(); i++) _modelArgs.push_back(copyMe._modelArgs[i]);
49 }
50}
◆ getArgList()
std::vector< std::string > EvtModelAlias::getArgList |
( |
| ) |
|
◆ getName()
std::string EvtModelAlias::getName |
( |
| ) |
|
|
inline |
◆ matchAlias()
bool EvtModelAlias::matchAlias |
( |
const std::string & | cand | ) |
|
|
inline |
Definition at line 37 of file EvtModelAlias.hh.
37 {if (cand==_aliasName) return true;
38 return false;}
◆ operator=()
Definition at line 52 of file EvtModelAlias.cc.
52 {
53
54 _aliasName=copyMe._aliasName;
55 _model=copyMe._model;
56
57 if ( copyMe._modelArgs.size() > 0 ) {
58 int i;
59 for ( i=0; i<copyMe._modelArgs.size(); i++) _modelArgs.push_back(copyMe._modelArgs[i]);
60 }
61 return *this;
62}
The documentation for this class was generated from the following files: