1 #ifndef LS_CUSTOM_FIELD_H
2 #define LS_CUSTOM_FIELD_H
6 #pragma warning( push )
7 #pragma warning( disable : 4251 )
13 namespace LicenseSpring
26 CustomField(
const std::string& name,
const std::string& value )
33 const std::string&
fieldName()
const {
return m_name; };
41 const std::string&
fieldValue()
const {
return m_value; };
54 #pragma warning( pop )
57 #endif // LS_CUSTOM_FIELD_H
const std::string & fieldName() const
Getter method for data field name.
Class for storing key-value data field.
const std::string & fieldValue() const
Getter method for data field value.
CustomField(const std::string &name, const std::string &value)
Constructs data field with given name (key) and value.
void setFieldName(const std::string &name)
Setter method for data field name.
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
void setFieldValue(const std::string &value)
Setter method for data field value.