return m_logoURIIsSet;
}
+void ContactOrganization::clear()
+{
+ m_name = "";
+ m_department = "";
+ m_office = "";
+ m_title = "";
+ m_role = "";
+ m_logoURI = "";
+
+ m_nameIsSet = false;
+ m_departmentIsSet = false;
+ m_officeIsSet = false;
+ m_titleIsSet = false;
+ m_roleIsSet = false;
+ m_logoURIIsSet = false;
+}
+
ContactOrganizationPtr ContactOrganization::clone() const
{
- return ContactOrganizationPtr(new ContactOrganization(*this));
+ ContactOrganizationPtr result(new ContactOrganization());
+
+ result->m_name = m_name;
+ result->m_department = m_department;
+ result->m_office = m_office;
+ result->m_title = m_title;
+ result->m_role = m_role;
+ result->m_logoURI = m_logoURI;
+
+ result->m_nameIsSet = m_nameIsSet;
+ result->m_departmentIsSet = m_departmentIsSet;
+ result->m_officeIsSet = m_officeIsSet;
+ result->m_titleIsSet = m_titleIsSet;
+ result->m_roleIsSet = m_roleIsSet;
+ result->m_logoURIIsSet = m_logoURIIsSet;
+
+ return result;
}
} // Contact