29 os <<
"record_sequence_number:" << data.
_rec_seq << std::endl;
30 os <<
"first_record_sub-type:" << (int)data.
_rec_sub1 << std::endl;
31 os <<
"record_type_code:" << (
int)data.
_rec_type << std::endl;
32 os <<
"second_record_sub-type:" << (int)data.
_rec_sub2 << std::endl;
33 os <<
"third_record_sub-type:" << (
int)data.
_rec_sub3 << std::endl;
34 os <<
"length:" << data.
_length << std::endl;
46 is.read((
char*)&(data.
_length), 4);
52 _rec_seq(rhs._rec_seq),
53 _rec_sub1(rhs._rec_sub1),
54 _rec_type(rhs._rec_type),
55 _rec_sub2(rhs._rec_sub2),
56 _rec_sub3(rhs._rec_sub3)
75 memcpy(buffer, &value, 4);
81 memcpy(&value, res, 4);
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
std::basic_istream< char > istream
Base class for char input streams.
std::basic_ostream< char > ostream
Base class for char output streams.