| 328 | } |
| 329 | |
| 330 | void PropertyVectorList::SaveDocFile(Base::Writer& writer) const |
| 331 | { |
| 332 | Base::OutputStream str(writer.Stream()); |
| 333 | uint32_t uCt = (uint32_t)getSize(); |
| 334 | str << uCt; |
| 335 | if (!isSinglePrecision()) { |
| 336 | for (const auto& it : _lValueList) { |
| 337 | str << it.x << it.y << it.z; |
| 338 | } |
| 339 | } |
| 340 | else { |
| 341 | for (const auto& it : _lValueList) { |
| 342 | float x = (float)it.x; |
| 343 | float y = (float)it.y; |
| 344 | float z = (float)it.z; |
| 345 | str << x << y << z; |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | void PropertyVectorList::RestoreDocFile(Base::Reader& reader) |
| 351 | { |
nothing calls this directly
no test coverage detected