fire v0.19.0
Framework for sImulation and Reconstruction of Events
ConditionsObject.h
1#ifndef FIRE_CONDITIONSOBJECT_H
2#define FIRE_CONDITIONSOBJECT_H
3
4#include <string>
5
6namespace fire {
7
12 public:
16 ConditionsObject(const std::string& name) noexcept : name_(name) {}
17
23 virtual ~ConditionsObject() = default;
24
29 inline std::string getName() const { return name_; }
30
31 private:
36};
37
38} // namespace fire
39
40#endif
Base class for all conditions objects, very simple.
Definition: ConditionsObject.h:11
ConditionsObject(const std::string &name) noexcept
Define the name of the condition.
Definition: ConditionsObject.h:16
virtual ~ConditionsObject()=default
Default destructor.
std::string name_
Name of the object.
Definition: ConditionsObject.h:35
std::string getName() const
Get the name of this object.
Definition: ConditionsObject.h:29