149{
150 bool is_array = false;
151 if(name == "cvParam")
152 {
153 qDebug();
154 std::map<QString, pappso::cbor::mzcbor::CvParam> cvparam_map =
156 for(auto &cvparam_pair : cvparam_map)
157 {
159 }
160 }
161 else if(name == "binaryDataArray")
162 {
163
164 mp_writer->writeStartElement(
"binaryDataArrayList");
165
169 {
170 BinaryDataArray binary_data_array;
173 }
174
176
178 }
179 else
180 {
182 {
183 is_array = true;
184 }
186 {
187 }
188 else
189 {
190
191 qWarning() << "not a map, not an array";
192 }
193 if(is_array)
194 {
197 {
199 }
200
202 }
203 else
204 {
207
209 {
213 {
214 qDebug() << current_attribute;
216 }
218 {
219 qDebug() << current_attribute;
220 mp_writer->writeAttribute(current_attribute,
223 }
225 {
226 qDebug() << current_attribute;
227 mp_writer->writeAttribute(current_attribute,
229 }
231 {
233 qDebug() << current_attribute;
235 }
236 else
237 {
238 qDebug() << current_attribute;
240 }
241 }
242
244
246 }
247 }
248}
static std::map< QString, pappso::cbor::mzcbor::CvParam > getCvParamsMapFromCbor(CborStreamReader &reader)