1#ifndef LOGGING_PROPERTYBASE_H
2#define LOGGING_PROPERTYBASE_H
16 std::string m_instanceName;
17 std::string m_className;
18 std::string m_processName;
19 std::string m_identifier;
20 const bool m_runtimeChange;
21 const std::string m_description;
32 std::string instanceName,
33 std::string className,
34 std::string processName,
37 : m_name(std::
move(name)), m_instanceName(std::
move(instanceName)), m_className(std::
move(className)),
38 m_processName(std::
move(processName)),
39 m_identifier(m_name +
"_" + m_instanceName +
"_" + m_className +
"_" + m_processName),
87 <<
"name:" <<
base.m_name <<
", value:" <<
base.toString() <<
", processName:" <<
base.m_processName
88 <<
", className:" <<
base.m_className <<
", instanceName:" <<
base.m_instanceName
89 <<
", runtimeChange:" <<
base.m_runtimeChange <<
", description:" <<
base.m_description
90 <<
", dataStorage:" <<
base.m_dataStorage <<
"}";
94 operator std::string()
96 std::ostringstream
out;
Definition DataStorage.h:13
Definition PropertyBase.h:13
const std::string & getProcessName() const
Definition PropertyBase.h:70
friend std::ostream & operator<<(std::ostream &os, PropertyBase &base)
Definition PropertyBase.h:84
bool isRuntimeChange() const
Definition PropertyBase.h:73
virtual ~PropertyBase()=default
PropertyBase(std::string name, std::string instanceName, std::string className, std::string processName, std::string description, bool runtimeChange)
Definition PropertyBase.h:31
const std::string & getIdentifier() const
Definition PropertyBase.h:79
virtual std::string getType() const =0
virtual void setValueString(const std::string &value)=0
const DataStorage & getDataStorage() const
Definition PropertyBase.h:61
virtual std::string toString()=0
bool operator<(const PropertyBase &rhs) const
Definition PropertyBase.h:101
const std::string & getInstanceName() const
Definition PropertyBase.h:58
const std::string & getDescription() const
Definition PropertyBase.h:76
void setDataStorage(const DataStorage &newDataStorage)
Definition PropertyBase.h:64
const std::string & getClassName() const
Definition PropertyBase.h:67
const std::string & getName() const
Definition PropertyBase.h:55
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9