 |
LicenseSpring C++ SDK
7.31.0
Easily add Software Licensing to your application
|
Go to the documentation of this file. 1 #ifndef LS_CUSTOM_FIELD_H
2 #define LS_CUSTOM_FIELD_H
6 #pragma warning( push )
7 #pragma warning( disable : 4251 )
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
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.
const std::string & fieldName() const
Getter method for data field name.
const std::string & fieldValue() const
Getter method for data field value.
void setFieldValue(const std::string &value)
Setter method for data field value.
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
Class for storing key-value data field.