Class ParameterProperty_t

Class Documentation

class ParameterProperty_t

Public Functions

inline ParameterProperty_t()

Constructor without parameters.

inline explicit ParameterProperty_t(void *ptr)

Constructor using a pointer.

Parameters

ptr – Pointer to be set as data

inline std::string first() const

Getter for the first element in data.

Returns

string with the data

inline std::string second() const

Getter for the second element in data.

Returns

string with the data

inline bool modify(const std::pair<std::string, std::string> &new_value)

Setter using a pair of strings.

Parameters

new_value – Pair of strings with the new values

Returns

true if the modification is done correctly and false if the size of the new_value is not valid

inline std::pair<const std::string, const std::string> pair() const

Getter that returns a pair of the first and second elements in data.

Returns

Pair of strings with the first and second elements data

inline uint32_t size() const

Getter for data size.

Returns

uint32_t with the size

inline bool operator==(const ParameterProperty_t &b) const
inline bool operator!=(const ParameterProperty_t &b) const