Change-Id: I5477271a66685267348a255b539fd82e53d76241
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
return __d_func()->getName();
}
+void DSObject::setName(std::string name)
+{
+ __d_func()->setName(name);
+}
+
DSObject::DSObject(std::unique_ptr<DSObjectPrivate> ptr)
{
_d_ptr = std::move(ptr);
void setProperty(std::string key, const DSPropertyVariant &data, DSPropertyType type);
const DSPropertyVariant &getProperty(std::string key);
std::string getName(void);
+ void setName(std::string name);
protected:
DSObject(std::unique_ptr<DSObjectPrivate> ptr);
return __type_info.name;
}
+ void DSObjectPrivate::setName(std::string name)
+ {
+ __type_info.name = name;
+ }
+
DSObjectPrivate& DSObjectPrivate::operator=(DSObjectPrivate &&p)
{
if (__p_ptr)
void setProperty(std::string key, const DSPropertyVariant &data, DSPropertyType type);
const DSPropertyVariant &getProperty(std::string key);
std::string getName(void);
+ void setName(std::string name);
DSObjectPrivate &operator=(DSObjectPrivate &&p); //move assignment
{
return __p_ptr;
}
+
private:
struct
{