9 #include <nap/resource.h>
33 mRepresentedType(type) { }
44 mRepresentedType(type) { }
79 APIValue(
const std::string& name, T&& value);
86 APIValue(
const std::string& name,
const T& value);
134 mValue(std::move(value)) { }
155 mValue(std::move(other.mValue))
157 this->
mName = std::move(other.mName);
158 this->
mID = std::move(other.mID);
167 mValue = std::move(other.mValue);
168 mID = std::move(other.mID);
169 mName = std::move(other.mName);
std::string mID
Property: 'mID' unique name of the object. Used as an identifier by the system.
Definition: object.h:82
Definition: apivalue.h:56
std::string mName
Property: 'Name' name associated with the value.
Definition: apivalue.h:40
const rtti::TypeInfo & getRepresentedType() const
Definition: apivalue.h:38
APIBaseValue(const rtti::TypeInfo &type, const std::string &name)
Definition: apivalue.h:31
T mValue
managed value
Definition: apivalue.h:100
APIBaseValue(const rtti::TypeInfo &type)
Definition: apivalue.h:43
Definition: templateapp.h:17
Definition: apiargument.h:22
Definition: apivalue.h:21
Definition: resource.h:19
rttr::type TypeInfo
Definition: typeinfo.h:139
APIValue< T > & operator=(APIValue< T > &&other)
Definition: apivalue.h:163