@cond
| 171 | |
| 172 | /// @cond |
| 173 | ComponentData::ComponentData(const Model& model) : ResourceObject(iddObjectType(), model) { |
| 174 | OS_ASSERT(getImpl<detail::ComponentData_Impl>()); |
| 175 | setString(OS_ComponentDataFields::UUID, toString(createUUID())); |
| 176 | setInt(OS_ComponentDataFields::CreationTimestamp, (int)time(nullptr)); |
| 177 | createVersionUUID(); |
| 178 | } |
| 179 | |
| 180 | ComponentData::ComponentData(std::shared_ptr<detail::ComponentData_Impl> impl) : ResourceObject(std::move(impl)) {} |
| 181 | /// @endcond |
nothing calls this directly
no test coverage detected