|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class is able to read a record header. More...
#include <ErsSarRecordHeader.h>
Public Member Functions | |
| ErsSarRecordHeader () | |
| Constructor. More... | |
| virtual | ~ErsSarRecordHeader () |
| Destructor. More... | |
| ErsSarRecordHeader (const ErsSarRecordHeader &rhs) | |
| Copy constructor. More... | |
| ErsSarRecordHeader & | operator= (const ErsSarRecordHeader &rhs) |
| Copy operator. More... | |
| unsigned int | get_rec_seq () |
| Record sequence number. More... | |
| unsigned char | get_rec_sub1 () |
| First record sub-type code. More... | |
| unsigned char | get_rec_type () |
| Record type code. More... | |
| unsigned char | get_rec_sub2 () |
| Second record sub-type code. More... | |
| unsigned char | get_rec_sub3 () |
| Third record sub-type code. More... | |
| unsigned int | get_length () |
| Length of this record (in bytes) More... | |
Protected Member Functions | |
| void | SwitchEndian (unsigned int &value) |
| This function switch the LSB value and the MSB value of the parameter. More... | |
Protected Attributes | |
| unsigned int | _rec_seq |
| Record sequence number. More... | |
| unsigned char | _rec_sub1 |
| First record sub-type code. More... | |
| unsigned char | _rec_type |
| Record type code. More... | |
| unsigned char | _rec_sub2 |
| Second record sub-type code. More... | |
| unsigned char | _rec_sub3 |
| Third record sub-type code. More... | |
| unsigned int | _length |
| Length of this record (in bytes) More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const ErsSarRecordHeader &data) |
| This function write the RecordHeader in a stream. More... | |
| std::istream & | operator>> (std::istream &is, ErsSarRecordHeader &data) |
| This function read a RecordHeader from a stream. More... | |
This class is able to read a record header.
Definition at line 26 of file ErsSarRecordHeader.h.
| ossimplugins::ErsSarRecordHeader::ErsSarRecordHeader | ( | ) |
|
virtual |
| ossimplugins::ErsSarRecordHeader::ErsSarRecordHeader | ( | const ErsSarRecordHeader & | rhs | ) |
Copy constructor.
Definition at line 50 of file ErsSarRecordHeader.cpp.
|
inline |
Length of this record (in bytes)
Definition at line 101 of file ErsSarRecordHeader.h.
References _length.
|
inline |
Record sequence number.
Definition at line 61 of file ErsSarRecordHeader.h.
References _rec_seq.
|
inline |
First record sub-type code.
Definition at line 69 of file ErsSarRecordHeader.h.
References _rec_sub1.
|
inline |
Second record sub-type code.
Definition at line 85 of file ErsSarRecordHeader.h.
References _rec_sub2.
|
inline |
Third record sub-type code.
Definition at line 93 of file ErsSarRecordHeader.h.
References _rec_sub3.
|
inline |
Record type code.
Definition at line 77 of file ErsSarRecordHeader.h.
References _rec_type.
| ErsSarRecordHeader & ossimplugins::ErsSarRecordHeader::operator= | ( | const ErsSarRecordHeader & | rhs | ) |
Copy operator.
Definition at line 59 of file ErsSarRecordHeader.cpp.
References _rec_seq, _rec_sub1, _rec_sub2, _rec_sub3, and _rec_type.
|
protected |
This function switch the LSB value and the MSB value of the parameter.
Definition at line 69 of file ErsSarRecordHeader.cpp.
Referenced by ossimplugins::operator>>().
|
friend |
This function write the RecordHeader in a stream.
Definition at line 26 of file ErsSarRecordHeader.cpp.
|
friend |
This function read a RecordHeader from a stream.
Definition at line 37 of file ErsSarRecordHeader.cpp.
|
protected |
Length of this record (in bytes)
Definition at line 135 of file ErsSarRecordHeader.h.
Referenced by get_length(), ossimplugins::operator<<(), and ossimplugins::operator>>().
|
protected |
Record sequence number.
Definition at line 115 of file ErsSarRecordHeader.h.
Referenced by get_rec_seq(), ossimplugins::operator<<(), operator=(), and ossimplugins::operator>>().
|
protected |
First record sub-type code.
Definition at line 119 of file ErsSarRecordHeader.h.
Referenced by get_rec_sub1(), ossimplugins::operator<<(), operator=(), and ossimplugins::operator>>().
|
protected |
Second record sub-type code.
Definition at line 127 of file ErsSarRecordHeader.h.
Referenced by get_rec_sub2(), ossimplugins::operator<<(), operator=(), and ossimplugins::operator>>().
|
protected |
Third record sub-type code.
Definition at line 131 of file ErsSarRecordHeader.h.
Referenced by get_rec_sub3(), ossimplugins::operator<<(), operator=(), and ossimplugins::operator>>().
|
protected |
Record type code.
Definition at line 123 of file ErsSarRecordHeader.h.
Referenced by get_rec_type(), ossimplugins::operator<<(), operator=(), and ossimplugins::operator>>().
1.8.14