| 1140 | } |
| 1141 | |
| 1142 | bool SerializerService::deserializeContentFromFile(ClusteredDataDescription& content, std::filesystem::path const& filename) |
| 1143 | { |
| 1144 | try { |
| 1145 | if (!deserializeDataDescription(content, filename)) { |
| 1146 | return false; |
| 1147 | } |
| 1148 | return true; |
| 1149 | } catch (...) { |
| 1150 | return false; |
| 1151 | } |
| 1152 | } |
| 1153 | |
| 1154 | void SerializerService::serializeDataDescription(ClusteredDataDescription const& data, std::ostream& stream) |
| 1155 | { |