OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
mph.cpp
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #include <EnvisatAsar/mph.h>
13 
14 namespace ossimplugins
15 {
16  mph::mph() : EnvisatAsarRecord("mph_rec")
17  {
18  }
19 
21  {
22  }
23 
25  {
26  os<<"product_name:"<<data._product_name.c_str()<<std::endl;
27 
28  os<<"product:"<<data._product.c_str()<<std::endl;
29 
30  os<<"proc_stage_title:"<<data._proc_stage_title.c_str()<<std::endl;
31 
32  os<<"proc_stage:"<<data._proc_stage.c_str()<<std::endl;
33 
34  os<<"ref_doc_title:"<<data._ref_doc_title.c_str()<<std::endl;
35 
36  os<<"ref_doc:"<<data._ref_doc.c_str()<<std::endl;
37 
38  os<<"acq_stat_id_title:"<<data._acq_stat_id_title.c_str()<<std::endl;
39 
40  os<<"acq_station:"<<data._acq_station.c_str()<<std::endl;
41 
42  os<<"proc_center_title:"<<data._proc_center_title.c_str()<<std::endl;
43 
44  os<<"proc_center:"<<data._proc_center.c_str()<<std::endl;
45 
46  os<<"proc_time_title:"<<data._proc_time_title.c_str()<<std::endl;
47 
48  os<<"proc_time:"<<data._proc_time.c_str()<<std::endl;
49 
50  os<<"soft_version_title:"<<data._soft_version_title.c_str()<<std::endl;
51 
52  os<<"soft_version:"<<data._soft_version.c_str()<<std::endl;
53 
54  os<<"sensing_start_title:"<<data._sensing_start_title.c_str()<<std::endl;
55 
56  os<<"sensing_start:"<<data._sensing_start.c_str()<<std::endl;
57 
58  os<<"sensing_stop_title:"<<data._sensing_stop_title.c_str()<<std::endl;
59 
60  os<<"sensing_stop:"<<data._sensing_stop.c_str()<<std::endl;
61 
62  os<<"phase_title:"<<data._phase_title.c_str()<<std::endl;
63 
64  os<<"phase:"<<data._phase.c_str()<<std::endl;
65 
66  os<<"cycle_title:"<<data._cycle_title.c_str()<<std::endl;
67 
68  os<<"cycle:"<<data._cycle.c_str()<<std::endl;
69 
70  os<<"relative_orbit_title:"<<data._relative_orbit_title.c_str()<<std::endl;
71 
72  os<<"rel_orbit:"<<data._rel_orbit.c_str()<<std::endl;
73 
74  os<<"absolute_orbit_title:"<<data._absolute_orbit_title.c_str()<<std::endl;
75 
76  os<<"abs_orbit:"<<data._abs_orbit.c_str()<<std::endl;
77 
78  os<<"state_vector_time_title:"<<data._state_vector_time_title.c_str()<<std::endl;
79 
80  os<<"state_vector_time:"<<data._state_vector_time.c_str()<<std::endl;
81 
82  os<<"delta_ut1_title:"<<data._delta_ut1_title.c_str()<<std::endl;
83 
84  os<<"delta_ut1:"<<data._delta_ut1.c_str()<<std::endl;
85 
86  os<<"delta_ut1_units:"<<data._delta_ut1_units.c_str()<<std::endl;
87 
88  os<<"x_position_title:"<<data._x_position_title.c_str()<<std::endl;
89 
90  os<<"x_position:"<<data._x_position.c_str()<<std::endl;
91 
92  os<<"x_position_units:"<<data._x_position_units.c_str()<<std::endl;
93 
94  os<<"y_position_title:"<<data._y_position_title.c_str()<<std::endl;
95 
96  os<<"y_position:"<<data._y_position.c_str()<<std::endl;
97 
98  os<<"y_position_units:"<<data._y_position_units.c_str()<<std::endl;
99 
100  os<<"z_position_title:"<<data._z_position_title.c_str()<<std::endl;
101 
102  os<<"z_position:"<<data._z_position.c_str()<<std::endl;
103 
104  os<<"z_position_units:"<<data._z_position_units.c_str()<<std::endl;
105 
106  os<<"x_velocity_title:"<<data._x_velocity_title.c_str()<<std::endl;
107 
108  os<<"x_velocity:"<<data._x_velocity.c_str()<<std::endl;
109 
110  os<<"x_velocity_units:"<<data._x_velocity_units.c_str()<<std::endl;
111 
112  os<<"y_velocity_title:"<<data._y_velocity_title.c_str()<<std::endl;
113 
114  os<<"y_velocity:"<<data._y_velocity.c_str()<<std::endl;
115 
116  os<<"y_velocity_units:"<<data._y_velocity_units.c_str()<<std::endl;
117 
118  os<<"z_velocity_title:"<<data._z_velocity_title.c_str()<<std::endl;
119 
120  os<<"z_velocity:"<<data._z_velocity.c_str()<<std::endl;
121 
122  os<<"z_velocity_units:"<<data._z_velocity_units.c_str()<<std::endl;
123 
124  os<<"vector_source_title:"<<data._vector_source_title.c_str()<<std::endl;
125 
126  os<<"vector_source:"<<data._vector_source.c_str()<<std::endl;
127 
128  os<<"spare_4:"<<data._spare_4.c_str()<<std::endl;
129 
130  os<<"utc_sbt_time_title:"<<data._utc_sbt_time_title.c_str()<<std::endl;
131 
132  os<<"utc_sbt_time:"<<data._utc_sbt_time.c_str()<<std::endl;
133 
134  os<<"sat_binary_time_title:"<<data._sat_binary_time_title.c_str()<<std::endl;
135 
136  os<<"sat_binary_time:"<<data._sat_binary_time.c_str()<<std::endl;
137 
138  os<<"clock_step_title:"<<data._clock_step_title.c_str()<<std::endl;
139 
140  os<<"clock_step:"<<data._clock_step.c_str()<<std::endl;
141 
142  os<<"clock_step_units:"<<data._clock_step_units.c_str()<<std::endl;
143 
144  os<<"leap_utc_title:"<<data._leap_utc_title.c_str()<<std::endl;
145 
146  os<<"leap_utc:"<<data._leap_utc.c_str()<<std::endl;
147 
148  os<<"leap_sign_title:"<<data._leap_sign_title.c_str()<<std::endl;
149 
150  os<<"leap_sign:"<<data._leap_sign.c_str()<<std::endl;
151 
152  os<<"leap_err_title:"<<data._leap_err_title.c_str()<<std::endl;
153 
154  os<<"leap_err:"<<data._leap_err.c_str()<<std::endl;
155 
156  os<<"product_err_title:"<<data._product_err_title.c_str()<<std::endl;
157 
158  os<<"product_err:"<<data._product_err.c_str()<<std::endl;
159 
160  os<<"total_size_title:"<<data._total_size_title.c_str()<<std::endl;
161 
162  os<<"tot_size:"<<data._tot_size.c_str()<<std::endl;
163 
164  os<<"total_size_units:"<<data._total_size_units.c_str()<<std::endl;
165 
166  os<<"sph_size_title:"<<data._sph_size_title.c_str()<<std::endl;
167 
168  os<<"sph_size:"<<data._sph_size.c_str()<<std::endl;
169 
170  os<<"sph_size_units:"<<data._sph_size_units.c_str()<<std::endl;
171 
172  os<<"number_of_dsd_title:"<<data._number_of_dsd_title.c_str()<<std::endl;
173 
174  os<<"num_dsd:"<<data._num_dsd<<std::endl;
175 
176  os<<"size_of_dsd_title:"<<data._size_of_dsd_title.c_str()<<std::endl;
177 
178  os<<"dsd_size:"<<data._dsd_size<<std::endl;
179 
180  os<<"size_of_dsd_units:"<<data._size_of_dsd_units.c_str()<<std::endl;
181 
182  os<<"number_of_ds_att_title:"<<data._number_of_ds_att_title.c_str()<<std::endl;
183 
184  os<<"num_data_sets:"<<data._num_data_sets<<std::endl;
185 
186  return os;
187 
188  }
189 
191  {
192  char buf64[65];
193  buf64[64] = '\0';
194  char buf32[33];
195  buf32[32] = '\0';
196  char buf27[28];
197  buf27[27]='\0';
198  char buf16[17];
199  buf16[16]='\0';
200  // char buf15[16];
201  // buf15[15] = '\0';
202  // char buf14[15];
203  // buf14[14] = '\0';
204  // char buf13[14];
205  // buf13[13] = '\0';
206  char buf12[13];
207  buf12[12] = '\0';
208  char buf11[12];
209  buf11[11] = '\0';
210  char buf10[11];
211  buf10[10] = '\0';
212  // char buf9[10];
213  // buf9[9] = '\0';
214  char buf8[9];
215  buf8[8] = '\0';
216  char buf7[8];
217  buf7[7] = '\0';
218  char buf6[7];
219  buf6[6] = '\0';
220  // char buf5[6];
221  // buf5[5] = '\0';
222  char buf4[5];
223  buf4[4] = '\0';
224  char buf3[4];
225  buf3[3] = '\0';
226  char buf2[3];
227  buf2[2] = '\0';
228  char buf1[1];
229  buf1[0] = '\0';
230 
231  is.read(buf8,8);
232  data._product_name = buf8;
233 
234  is.read(buf1,1);
235 
236  is.read(buf64,62);
237  buf64[62]='\0';
238  data._product = buf64;
239 
240  is.read(buf1,1);
241 
242  is.read(buf1,1);
243 
244  is.read(buf16,11);
245  buf16[11]='\0';
246  data._proc_stage_title = buf16;
247 
248  is.read(buf1,1);
249  data._proc_stage = buf1;
250 
251  is.read(buf1,1);
252 
253  is.read(buf8,8);
254  data._ref_doc_title = buf8;
255 
256  is.read(buf1,1);
257 
258  is.read(buf32,23);
259  buf32[23]='\0';
260  data._ref_doc = buf32;
261 
262  is.read(buf1,1);
263 
264  is.read(buf1,1);
265 
266  is.read(buf64,40);
267 
268  is.read(buf1,1);
269 
270  is.read(buf32,20);
271  buf32[20]='\0';
272  data._acq_stat_id_title = buf32;
273 
274  is.read(buf1,1);
275 
276  is.read(buf32,20);
277  buf32[20]='\0';
278  data._acq_station = buf32;
279 
280  is.read(buf1,1);
281 
282  is.read(buf1,1);
283 
284  is.read(buf16,12);
285  buf16[12]='\0';
286  data._proc_center_title = buf16;
287 
288  is.read(buf1,1);
289 
290  is.read(buf8,6);
291  buf8[6]='\0';
292  data._proc_center = buf8;
293 
294  is.read(buf1,1);
295 
296  is.read(buf1,1);
297 
298  is.read(buf16,10);
299  buf16[10]='\0';
300  data._proc_time_title = buf16;
301 
302  is.read(buf1,1);
303 
304  is.read(buf32,27);
305  buf32[27]='\0';
306  data._proc_time = buf32;
307 
308  is.read(buf1,1);
309 
310  is.read(buf1,1);
311 
312  is.read(buf16,13);
313  buf16[13]='\0';
314  data._soft_version_title = buf16;
315 
316  is.read(buf1,1);
317 
318  is.read(buf16,14);
319  buf16[14]='\0';
320  data._soft_version = buf16;
321 
322  is.read(buf1,1);
323 
324  is.read(buf1,1);
325 
326  is.read(buf64,40);
327 
328  is.read(buf1,1);
329 
330  is.read(buf16,14);
331  buf16[14]='\0';
332  data._sensing_start_title = buf16;
333 
334  is.read(buf1,1);
335 
336  is.read(buf32,27);
337  buf32[27]='\0';
338  data._sensing_start = buf32;
339 
340  is.read(buf1,1);
341 
342  is.read(buf1,1);
343 
344  is.read(buf16,13);
345  buf16[13]='\0';
346  data._sensing_stop_title = buf16;
347 
348  is.read(buf1,1);
349 
350  is.read(buf32,27);
351  buf32[27]='\0';
352  data._sensing_stop = buf32;
353 
354  is.read(buf1,1);
355 
356  is.read(buf1,1);
357 
358  is.read(buf64,40);
359 
360  is.read(buf1,1);
361 
362  is.read(buf6,6);
363  data._phase_title = buf6;
364 
365  is.read(buf1,1);
366  data._phase = buf1;
367 
368  is.read(buf1,1);
369 
370  is.read(buf6,6);
371  data._cycle_title = buf6;
372 
373  is.read(buf4,4);
374  data._cycle = buf4;
375 
376  is.read(buf1,1);
377 
378  is.read(buf10,10);
379  data._relative_orbit_title = buf10;
380 
381  is.read(buf6,6);
382  data._rel_orbit = buf6;
383 
384  is.read(buf1,1);
385 
386  is.read(buf10,10);
387  data._absolute_orbit_title = buf10;
388 
389  is.read(buf6,6);
390  data._abs_orbit = buf6;
391 
392  is.read(buf1,1);
393 
394  is.read(buf32,18);
395  buf32[18]='\0';
396  data._state_vector_time_title = buf32;
397 
398  is.read(buf1,1);
399 
400  is.read(buf27,27);
401  data._state_vector_time = buf27;
402 
403  is.read(buf1,1);
404 
405  is.read(buf1,1);
406 
407  is.read(buf10,10);
408  data._delta_ut1_title = buf10;
409 
410  is.read(buf8,8);
411  data._delta_ut1 = buf8;
412 
413  is.read(buf4,3);
414  buf4[3]='\0';
415  data._delta_ut1_units = buf4;
416 
417  is.read(buf1,1);
418 
419  is.read(buf11,11);
420  data._x_position_title = buf11;
421 
422  is.read(buf12,12);
423  data._x_position = buf12;
424 
425  is.read(buf3,3);
426  data._x_position_units = buf3;
427 
428  is.read(buf1,1);
429 
430  is.read(buf11,11);
431  data._y_position_title = buf11;
432 
433  is.read(buf12,12);
434  data._y_position = buf12;
435 
436  is.read(buf3,3);
437  data._y_position_units = buf3;
438 
439  is.read(buf1,1);
440 
441  is.read(buf11,11);
442  data._z_position_title = buf11;
443 
444  is.read(buf12,12);
445  data._z_position = buf12;
446 
447  is.read(buf3,3);
448  data._z_position_units = buf3;
449 
450  is.read(buf1,1);
451 
452  is.read(buf11,11);
453  data._x_velocity_title = buf11;
454 
455  is.read(buf12,12);
456  data._x_velocity = buf12;
457 
458  is.read(buf8,5);
459  buf8[5] = '\0';
460  data._x_velocity_units = buf8;
461 
462  is.read(buf1,1);
463 
464  is.read(buf11,11);
465  data._y_velocity_title = buf11;
466 
467  is.read(buf12,12);
468  data._y_velocity = buf12;
469 
470  is.read(buf8,5);
471  buf8[5] = '\0';
472  data._y_velocity_units = buf8;
473 
474  is.read(buf1,1);
475 
476  is.read(buf11,11);
477  data._z_velocity_title = buf11;
478 
479  is.read(buf12,12);
480  data._z_velocity = buf12;
481 
482  is.read(buf8,5);
483  buf8[5] = '\0';
484  data._z_velocity_units = buf8;
485 
486  is.read(buf1,1);
487 
488  is.read(buf16,14);
489  buf16[14] = '\0';
490  data._vector_source_title = buf16;
491 
492  is.read(buf1,1);
493 
494  is.read(buf2,2);
495  data._vector_source = buf2;
496 
497  is.read(buf1,1);
498 
499  is.read(buf1,1);
500 
501  is.read(buf64,40);
502  buf64[40] = '\0';
503  data._spare_4 = buf64;
504 
505  is.read(buf1,1);
506 
507  is.read(buf16,13);
508  buf16[13] = '\0';
509  data._utc_sbt_time_title = buf16;
510 
511  is.read(buf1,1);
512 
513  is.read(buf27,27);
514  data._utc_sbt_time = buf27;
515 
516  is.read(buf1,1);
517 
518  is.read(buf1,1);
519 
520  is.read(buf16,16);
521  data._sat_binary_time_title = buf16;
522 
523  is.read(buf11,11);
524  data._sat_binary_time = buf11;
525 
526  is.read(buf1,1);
527 
528  is.read(buf11,11);
529  data._clock_step_title = buf11;
530 
531  is.read(buf11,11);
532  data._clock_step = buf11;
533 
534  is.read(buf4,4);
535  data._clock_step_units = buf4;
536 
537  is.read(buf1,1);
538 
539  is.read(buf32,32);
540 
541  is.read(buf1,1);
542 
543  is.read(buf10,9);
544  buf10[9] = '\0';
545  data._leap_utc_title = buf10;
546 
547  is.read(buf1,1);
548 
549  is.read(buf27,27);
550  data._leap_utc = buf27;
551 
552  is.read(buf1,1);
553 
554  is.read(buf1,1);
555 
556  is.read(buf10,10);
557  data._leap_sign_title = buf10;
558 
559  is.read(buf4,4);
560  data._leap_sign = buf4;
561 
562  is.read(buf1,1);
563 
564  is.read(buf10,9);
565  buf10[9] = '\0';
566  data._leap_err_title = buf10;
567 
568  is.read(buf1,1);
569  data._leap_err = buf1;
570 
571  is.read(buf1,1);
572 
573  is.read(buf64,40);
574 
575  is.read(buf1,1);
576 
577  is.read(buf12,12);
578  data._product_err_title = buf12;
579 
580  is.read(buf1,1);
581  data._product_err = buf1;
582 
583  is.read(buf1,1);
584 
585  is.read(buf10,9);
586  buf10[9] = '\0';
587  data._total_size_title = buf10;
588 
589  is.read(buf32,21);
590  buf32[21] = '\0';
591  data._tot_size = buf32;
592 
593  is.read(buf7,7);
594  data._total_size_units = buf7;
595 
596  is.read(buf1,1);
597 
598  is.read(buf10,9);
599  buf10[9] = '\0';
600  data._sph_size_title = buf10;
601 
602  is.read(buf11,11);
603  data._sph_size = buf11;
604 
605  is.read(buf8,7);
606  buf8[7] = '\0';
607  data._sph_size_units = buf8;
608 
609  is.read(buf1,1);
610 
611  is.read(buf8,8);
612  data._number_of_dsd_title = buf8;
613 
614  is.read(buf11,11);
615  data._num_dsd = atoi(buf11);
616 
617  is.read(buf1,1);
618 
619  is.read(buf10,9);
620  buf10[9] = '\0';
621  data._size_of_dsd_title = buf10;
622 
623  is.read(buf11,11);
624  data._dsd_size = atoi(buf11);
625 
626  is.read(buf8,7);
627  buf8[7] = '\0';
628  data._size_of_dsd_units = buf8;
629 
630  is.read(buf1,1);
631 
632  is.read(buf16,14);
633  buf16[14] = '\0';
634  data._number_of_ds_att_title = buf16;
635 
636  is.read(buf11,11);
637  data._num_data_sets = atoi(buf11);
638 
639  is.read(buf1,1);
640 
641  is.read(buf64,40);
642 
643  is.read(buf1,1);
644 
645  return is;
646  }
647 
648 
649  mph::mph(const mph& rhs):
650  EnvisatAsarRecord(rhs),
651  _product_name(rhs._product_name),
652  _product(rhs._product),
653  _proc_stage_title(rhs._proc_stage_title),
654  _proc_stage(rhs._proc_stage),
655  _ref_doc_title(rhs._ref_doc_title),
656  _ref_doc(rhs._ref_doc),
657  _acq_stat_id_title(rhs._acq_stat_id_title),
658  _acq_station(rhs._acq_station),
659  _proc_center_title(rhs._proc_center_title),
660  _proc_center(rhs._proc_center),
661  _proc_time_title(rhs._proc_time_title),
662  _proc_time(rhs._proc_time),
663  _soft_version_title(rhs._soft_version_title),
664  _soft_version(rhs._soft_version),
665  _sensing_start_title(rhs._sensing_start_title),
666  _sensing_start(rhs._sensing_start),
667  _sensing_stop_title(rhs._sensing_stop_title),
668  _sensing_stop(rhs._sensing_stop),
669  _phase_title(rhs._phase_title),
670  _phase(rhs._phase),
671  _cycle_title(rhs._cycle_title),
672  _cycle(rhs._cycle),
673  _relative_orbit_title(rhs._relative_orbit_title),
674  _rel_orbit(rhs._rel_orbit),
675  _absolute_orbit_title(rhs._absolute_orbit_title),
676  _abs_orbit(rhs._abs_orbit),
677  _state_vector_time_title(rhs._state_vector_time_title),
678  _state_vector_time(rhs._state_vector_time),
679  _delta_ut1_title(rhs._delta_ut1_title),
680  _delta_ut1(rhs._delta_ut1),
681  _delta_ut1_units(rhs._delta_ut1_units),
682  _x_position_title(rhs._x_position_title),
683  _x_position(rhs._x_position),
684  _x_position_units(rhs._x_position_units),
685  _y_position_title(rhs._y_position_title),
686  _y_position(rhs._y_position),
687  _y_position_units(rhs._y_position_units),
688  _z_position_title(rhs._z_position_title),
689  _z_position(rhs._z_position),
690  _z_position_units(rhs._z_position_units),
691  _x_velocity_title(rhs._x_velocity_title),
692  _x_velocity(rhs._x_velocity),
693  _x_velocity_units(rhs._x_velocity_units),
694  _y_velocity_title(rhs._y_velocity_title),
695  _y_velocity(rhs._y_velocity),
696  _y_velocity_units(rhs._y_velocity_units),
697  _z_velocity_title(rhs._z_velocity_title),
698  _z_velocity(rhs._z_velocity),
699  _z_velocity_units(rhs._z_velocity_units),
700  _vector_source_title(rhs._vector_source_title),
701  _vector_source(rhs._vector_source),
702  _spare_4(rhs._spare_4),
703  _utc_sbt_time_title(rhs._utc_sbt_time_title),
704  _utc_sbt_time(rhs._utc_sbt_time),
705  _sat_binary_time_title(rhs._sat_binary_time_title),
706  _sat_binary_time(rhs._sat_binary_time),
707  _clock_step_title(rhs._clock_step_title),
708  _clock_step(rhs._clock_step),
709  _clock_step_units(rhs._clock_step_units),
710  _leap_utc_title(rhs._leap_utc_title),
711  _leap_utc(rhs._leap_utc),
712  _leap_sign_title(rhs._leap_sign_title),
713  _leap_sign(rhs._leap_sign),
714  _leap_err_title(rhs._leap_err_title),
715  _leap_err(rhs._leap_err),
716  _product_err_title(rhs._product_err_title),
717  _product_err(rhs._product_err),
718  _total_size_title(rhs._total_size_title),
719  _tot_size(rhs._tot_size),
720  _total_size_units(rhs._total_size_units),
721  _sph_size_title(rhs._sph_size_title),
722  _sph_size(rhs._sph_size),
723  _sph_size_units(rhs._sph_size_units),
724  _number_of_dsd_title(rhs._number_of_dsd_title),
725  _num_dsd(rhs._num_dsd),
726  _size_of_dsd_title(rhs._size_of_dsd_title),
727  _dsd_size(rhs._dsd_size),
728  _size_of_dsd_units(rhs._size_of_dsd_units),
729  _number_of_ds_att_title(rhs._number_of_ds_att_title),
730  _num_data_sets(rhs._num_data_sets)
731  {}
732 
733 
734  mph& mph::operator=(const mph& rhs)
735  {
737  _product = rhs._product;
739  _proc_stage = rhs._proc_stage;
741  _ref_doc = rhs._ref_doc;
747  _proc_time = rhs._proc_time;
755  _phase = rhs._phase;
757  _cycle = rhs._cycle;
759  _rel_orbit = rhs._rel_orbit;
761  _abs_orbit = rhs._abs_orbit;
765  _delta_ut1 = rhs._delta_ut1;
768  _x_position = rhs._x_position;
771  _y_position = rhs._y_position;
774  _z_position = rhs._z_position;
777  _x_velocity = rhs._x_velocity;
780  _y_velocity = rhs._y_velocity;
783  _z_velocity = rhs._z_velocity;
787  _spare_4 = rhs._spare_4;
793  _clock_step = rhs._clock_step;
796  _leap_utc = rhs._leap_utc;
798  _leap_sign = rhs._leap_sign;
800  _leap_err = rhs._leap_err;
804  _tot_size = rhs._tot_size;
807  _sph_size = rhs._sph_size;
810  _num_dsd = rhs._num_dsd;
812  _dsd_size = rhs._dsd_size;
816 
817  return *this;
818  }
819 }
std::string _acq_station
acq_station
Definition: mph.h:693
std::string _clock_step_title
clock_step_title
Definition: mph.h:889
std::string _x_velocity
x_velocity
Definition: mph.h:829
std::string _leap_utc_title
leap_utc_title
Definition: mph.h:901
std::string _sensing_start
sensing_start
Definition: mph.h:725
std::string _sat_binary_time_title
sat_binary_time_title
Definition: mph.h:881
std::string _sensing_stop
sensing_stop
Definition: mph.h:733
std::string _z_position_title
z_position_title
Definition: mph.h:813
std::string _absolute_orbit_title
absolute_orbit_title
Definition: mph.h:761
std::string _total_size_units
total_size_units
Definition: mph.h:941
std::string _proc_time_title
proc_time_title
Definition: mph.h:705
std::string _y_position_units
y_position_units
Definition: mph.h:809
std::string _proc_time
proc_time
Definition: mph.h:709
std::string _total_size_title
total_size_title
Definition: mph.h:933
std::string _sat_binary_time
sat_binary_time
Definition: mph.h:885
std::string _size_of_dsd_units
size_of_dsd_units
Definition: mph.h:973
std::string _product
product
Definition: mph.h:669
std::string _x_velocity_units
x_velocity_units
Definition: mph.h:833
std::string _state_vector_time
state_vector_time
Definition: mph.h:773
mph & operator=(const mph &rhs)
Copy operator.
Definition: mph.cpp:734
std::string _tot_size
tot_size
Definition: mph.h:937
mph()
Constructor.
Definition: mph.cpp:16
std::string _z_velocity_title
z_velocity_title
Definition: mph.h:849
std::string _product_err
product_err
Definition: mph.h:929
std::string _z_velocity
z_velocity
Definition: mph.h:853
std::string _number_of_dsd_title
number_of_dsd_title
Definition: mph.h:957
std::string _leap_err
leap_err
Definition: mph.h:921
std::string _sph_size
sph_size
Definition: mph.h:949
std::string _spare_4
spare_4
Definition: mph.h:869
std::string _x_position_title
x_position_title
Definition: mph.h:789
std::string _clock_step
clock_step
Definition: mph.h:893
std::string _y_velocity_title
y_velocity_title
Definition: mph.h:837
std::string _leap_err_title
leap_err_title
Definition: mph.h:917
std::string _proc_center
proc_center
Definition: mph.h:701
std::string _number_of_ds_att_title
number_of_ds_att_title
Definition: mph.h:977
std::string _y_position_title
y_position_title
Definition: mph.h:801
std::string _sph_size_units
sph_size_units
Definition: mph.h:953
std::string _phase_title
phase_title
Definition: mph.h:737
std::string _sph_size_title
sph_size_title
Definition: mph.h:945
std::string _x_position_units
x_position_units
Definition: mph.h:797
int _num_dsd
num_dsd
Definition: mph.h:961
std::string _leap_utc
leap_utc
Definition: mph.h:905
std::string _x_velocity_title
x_velocity_title
Definition: mph.h:825
std::string _sensing_start_title
sensing_start_title
Definition: mph.h:721
std::string _proc_stage_title
proc_stage_title
Definition: mph.h:673
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
std::string _relative_orbit_title
relative_orbit_title
Definition: mph.h:753
std::string _proc_center_title
proc_center_title
Definition: mph.h:697
std::string _delta_ut1_units
delta_ut1_units
Definition: mph.h:785
std::string _z_position
z_position
Definition: mph.h:817
std::string _cycle_title
cycle_title
Definition: mph.h:745
std::string _leap_sign
leap_sign
Definition: mph.h:913
int _dsd_size
dsd_size
Definition: mph.h:969
std::string _soft_version_title
soft_version_title
Definition: mph.h:713
std::string _abs_orbit
abs_orbit
Definition: mph.h:765
std::string _delta_ut1
delta_ut1
Definition: mph.h:781
std::string _state_vector_time_title
state_vector_time_title
Definition: mph.h:769
This class is able to read the ASAR mph record of the leader file.
Definition: mph.h:25
std::string _product_name
product_name
Definition: mph.h:659
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
std::string _y_velocity
y_velocity
Definition: mph.h:841
std::string _soft_version
soft_version
Definition: mph.h:717
std::string _leap_sign_title
leap_sign_title
Definition: mph.h:909
int _num_data_sets
num_data_sets
Definition: mph.h:981
std::string _cycle
cycle
Definition: mph.h:749
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
std::string _product_err_title
product_err_title
Definition: mph.h:925
std::string _z_velocity_units
z_velocity_units
Definition: mph.h:857
std::string _size_of_dsd_title
size_of_dsd_title
Definition: mph.h:965
std::string _y_velocity_units
y_velocity_units
Definition: mph.h:845
std::string _vector_source_title
vector_source_title
Definition: mph.h:861
std::string _delta_ut1_title
delta_ut1_title
Definition: mph.h:777
std::string _z_position_units
z_position_units
Definition: mph.h:821
std::string _clock_step_units
clock_step_units
Definition: mph.h:897
This class is the base class of all the Envisat ASAR record classes.
std::string _sensing_stop_title
sensing_stop_title
Definition: mph.h:729
std::string _ref_doc_title
ref_doc_title
Definition: mph.h:681
std::string _acq_stat_id_title
acq_stat_id_title
Definition: mph.h:689
virtual ~mph()
Destructor.
Definition: mph.cpp:20
std::string _x_position
x_position
Definition: mph.h:793
std::string _utc_sbt_time_title
utc_sbt_time_title
Definition: mph.h:873
std::string _y_position
y_position
Definition: mph.h:805
std::string _utc_sbt_time
utc_sbt_time
Definition: mph.h:877
std::string _proc_stage
proc_stage
Definition: mph.h:677
std::string _vector_source
vector_source
Definition: mph.h:865
std::string _phase
phase
Definition: mph.h:741
std::string _ref_doc
ref_doc
Definition: mph.h:685
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
std::string _rel_orbit
rel_orbit
Definition: mph.h:757