#include <ExpNameFromConfig.h>
Inheritance diagram for psana::ExpNameFromConfig:
Public Member Functions | |
ExpNameFromConfig (const std::string &instr, const std::string &exp) | |
virtual | ~ExpNameFromConfig () |
virtual const std::string & | instrument () const |
Returns instrument name. | |
virtual const std::string & | experiment () const |
Returns experiment name. | |
virtual unsigned | expNum () const |
Returns experiment number or 0. |
Definition at line 49 of file ExpNameFromConfig.h.
psana::ExpNameFromConfig::ExpNameFromConfig | ( | const std::string & | instr, | |
const std::string & | exp | |||
) |
Create provider instance
[in] | instr | Instrument name |
[in] | exp | Experiemnt name |
Definition at line 50 of file ExpNameFromConfig.cpp.
psana::ExpNameFromConfig::~ExpNameFromConfig | ( | ) | [virtual] |
Definition at line 75 of file ExpNameFromConfig.cpp.
virtual const std::string& psana::ExpNameFromConfig::experiment | ( | ) | const [inline, virtual] |
Returns experiment name.
Implements PSEnv::IExpNameProvider.
Definition at line 67 of file ExpNameFromConfig.h.
virtual unsigned psana::ExpNameFromConfig::expNum | ( | ) | const [inline, virtual] |
Returns experiment number or 0.
Implements PSEnv::IExpNameProvider.
Definition at line 70 of file ExpNameFromConfig.h.
virtual const std::string& psana::ExpNameFromConfig::instrument | ( | ) | const [inline, virtual] |
Returns instrument name.
Implements PSEnv::IExpNameProvider.
Definition at line 64 of file ExpNameFromConfig.h.