| 109 | |
| 110 | template <class T> |
| 111 | inline void vtkStateStorage::Append(const T& value, const char* name) |
| 112 | { |
| 113 | this->StorageOffsets.push_back(this->Storage.size()); |
| 114 | this->StorageNames.push_back(name); |
| 115 | const char* start = reinterpret_cast<const char*>(&value); |
| 116 | this->Storage.insert(this->Storage.end(), start, start + sizeof(T)); |
| 117 | } |
| 118 | |
| 119 | VTK_ABI_NAMESPACE_END |
| 120 | #else // normal implementation |
no test coverage detected