13 #ifndef ossimRpfLocationSection_HEADER 14 #define ossimRpfLocationSection_HEADER 49 const std::string& prefix=std::string())
const;
109 const std::string& prefix=std::string())
const;
void addComponentRecord(const ossimRpfComponentLocationRecord &record)
Method to add a component location record.
ossim_int32 ossimErrorCode
const ossimRpfComponentLocationRecord & operator=(const ossimRpfComponentLocationRecord &rhs)
assignment operator
ossimRpfLocationSection()
ossim_uint16 m_locationRecordLength
void writeStream(std::ostream &out)
Write method.
ossim_uint32 m_componentLength
ossimRpfComponentLocationRecord()
default constructor
unsigned short ossim_uint16
bool getComponent(ossimRpfComponentId componentId, ossimRpfComponentLocationRecord &result) const
void setLocationSectionLength(ossim_uint16 length)
std::vector< ossimRpfComponentLocationRecord > m_componentLocationList
virtual ~ossimRpfLocationSection()
std::vector< ossimRpfComponentLocationRecord > & getLocationRecordList()
Brief Direct access to the list of records.
void setLocationRecordLength(ossim_uint16 length)
virtual ossimErrorCode parseStream(std::istream &in, ossimByteOrder endianOrder)
ossim_uint32 m_componentAggregateLength
ossim_uint32 m_componentLocation
friend std::ostream & operator<<(std::ostream &out, const ossimRpfLocationSection &data)
unsigned int ossim_uint32
void setComponentAggregateLength(ossim_uint32 length)
bool hasComponent(ossimRpfComponentId componentId) const
ossim_uint16 m_locationSectionLength
ossim_uint16 m_componentId
std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
print method that outputs a key/value type format adding prefix to keys.
std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
print method that outputs a key/value type format adding prefix to keys.
void writeStream(std::ostream &out)
Write method.
std::basic_istream< char > istream
Base class for char input streams.
ossim_uint32 m_locationTableOffset
friend std::ostream & operator<<(std::ostream &out, const ossimRpfComponentLocationRecord &data)
ossim_uint16 m_numberOfComponentLocationRecords
void setLocationTableOffset(ossim_uint32 offset)
ossimErrorCode parseStream(std::istream &in, ossimByteOrder endianOrder)
void clearFields()
Clears records and fields.
std::basic_ostream< char > ostream
Base class for char output streams.
void setNumberOfComponentLocationRecords(ossim_uint16 count)