13 #ifndef ML_OBJ_MGR_ATTRIBUTE_MESSAGE_H
14 #define ML_OBJ_MGR_ATTRIBUTE_MESSAGE_H
19 #include "MLObjMgrSystem.h"
31 typedef std::basic_string<T> inherited;
45 explicit omMessageT(
const std::basic_string<T> &str) : inherited(str) {}
49 ((inherited *)
this)->assign(msg);
68 operator const std::basic_string<T> &()
const {
95 assign(msg.
_value);
return *
this;
98 assign(value);
return *
this;
109 return _value == value;
112 return _value != value;
~omAttribute_omMessage() override=default
omAttribute_omMessage()=default
omAttribute_omMessage(const omMessage &value)
void assign(const omMessage &value) override
omData_omMessage(const omData_omMessage &msg)
std::string getStringValue() const override
Get value of data type as string.
void setStringValue(const std::string &value) override
Set data type value from string.
virtual void assign(const omMessage &value)
omData_omMessage(const omMessage &value)
omMessageT(const omMessageT &msg)
Copy Constructor.
omMessageT & operator=(const omMessageT &msg)
Assignment operator for omMessage.
omMessageT(const std::basic_string< T > &str)
Constructor from std::basic_string argument.
omMessageT(const char *str)
Constructor from char * argument.
omMessageT()
Standard constructor.
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non existing export symbol.
omMessageT< char > omMessage
Define the normally used type from template type with normal string base char type.
bool operator==(const Tmat2< DT > &a, const Tmat2< DT > &b)
a == b ? Return true if yes.
bool operator!=(const Tmat2< DT > &a, const Tmat2< DT > &b)
a != b ? Return true if yes.