59 set(
"interface", ifName);
81 void set(
const std::string& name,
const std::string& value);
91 int64_t
getInt(
const std::string& name);
103 void set(
const std::string& name, uint64_t value);
#define ONIXS_FIXENGINE_API
void set(const std::string &name, const std::string &value)
Sets an attribute to a string value.
int64_t getInt(const std::string &name)
Gets the attribute value.
Attributes()
Allocate an attribute object.
Attributes(const Attributes &other)
std::string getString(const std::string &name)
Gets the attribute value.
void networkInterface(const std::string &ifName)
Sets the network interface name.
Attributes & operator=(const Attributes &other)
void set(const std::string &name, uint64_t value)
Sets an attribute to an integer value.