![]() |
LicenseSpring C++ SDK
7.31.0
Easily add Software Licensing to your application
|
Class for storing key-value data field. More...
#include <LicenseSpring/CustomField.h>
Public Member Functions | |
CustomField ()=default | |
Default constructor, creates empty data field. More... | |
CustomField (const std::string &name, const std::string &value) | |
Constructs data field with given name (key) and value. More... | |
const std::string & | fieldName () const |
Getter method for data field name. More... | |
void | setFieldName (const std::string &name) |
Setter method for data field name. More... | |
const std::string & | fieldValue () const |
Getter method for data field value. More... | |
void | setFieldValue (const std::string &value) |
Setter method for data field value. More... | |
Class for storing key-value data field.
Definition at line 17 of file CustomField.h.
|
default |
Default constructor, creates empty data field.
|
inline |
Constructs data field with given name (key) and value.
name | Name (key) of key-value data field |
value | Value of key-value data field |
Definition at line 26 of file CustomField.h.
|
inline |
Getter method for data field name.
Definition at line 33 of file CustomField.h.
|
inline |
Setter method for data field name.
name | CustomField name |
Definition at line 37 of file CustomField.h.
|
inline |
Getter method for data field value.
Definition at line 41 of file CustomField.h.
|
inline |
Setter method for data field value.
value | CustomField value |
Definition at line 45 of file CustomField.h.