OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Private Attributes | Friends | List of all members
ossimRpfMaskSubsection Class Reference

#include <ossimRpfMaskSubsection.h>

Public Member Functions

 ossimRpfMaskSubsection ()
 
virtual ~ossimRpfMaskSubsection ()
 
ossimErrorCode parseStream (std::istream &in, ossimByteOrder byteOrder)
 
virtual void print (std::ostream &out) const
 

Private Attributes

ossimRpfMaskSubheadertheMaskSubheader
 

Friends

std::ostream & operator<< (std::ostream &out, const ossimRpfMaskSubsection &data)
 

Detailed Description

Definition at line 20 of file ossimRpfMaskSubsection.h.

Constructor & Destructor Documentation

◆ ossimRpfMaskSubsection()

ossimRpfMaskSubsection::ossimRpfMaskSubsection ( )

Definition at line 12 of file ossimRpfMaskSubsection.cpp.

References theMaskSubheader.

◆ ~ossimRpfMaskSubsection()

ossimRpfMaskSubsection::~ossimRpfMaskSubsection ( )
virtual

Definition at line 18 of file ossimRpfMaskSubsection.cpp.

References theMaskSubheader.

19 {
21  {
22  delete theMaskSubheader;
23  theMaskSubheader = 0;
24  }
25 }
ossimRpfMaskSubheader * theMaskSubheader

Member Function Documentation

◆ parseStream()

ossimErrorCode ossimRpfMaskSubsection::parseStream ( std::istream &  in,
ossimByteOrder  byteOrder 
)

Definition at line 27 of file ossimRpfMaskSubsection.cpp.

References ossim::byteOrder(), ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, ossimRpfMaskSubheader::parseStream(), and theMaskSubheader.

Referenced by ossimRpfHeader::getNewMaskSubsection().

29 {
31 
32  if(in&&theMaskSubheader)
33  {
34  result = theMaskSubheader->parseStream(in, byteOrder);
35  }
36  else
37  {
39  }
40 
41  return result;
42 }
ossim_int32 ossimErrorCode
static const ossimErrorCode OSSIM_OK
OSSIM_DLL ossimByteOrder byteOrder()
Definition: ossimCommon.cpp:54
static const ossimErrorCode OSSIM_ERROR
ossimErrorCode parseStream(std::istream &in, ossimByteOrder byteOrder)
ossimRpfMaskSubheader * theMaskSubheader

◆ print()

void ossimRpfMaskSubsection::print ( std::ostream &  out) const
virtual

Definition at line 44 of file ossimRpfMaskSubsection.cpp.

References theMaskSubheader.

Referenced by operator<<().

45 {
47  {
48  out << *theMaskSubheader;
49  }
50 }
ossimRpfMaskSubheader * theMaskSubheader

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const ossimRpfMaskSubsection data 
)
friend

Definition at line 5 of file ossimRpfMaskSubsection.cpp.

7 {
8  data.print(out);
9  return out;
10 }
virtual void print(std::ostream &out) const

Member Data Documentation

◆ theMaskSubheader

ossimRpfMaskSubheader* ossimRpfMaskSubsection::theMaskSubheader
private

The documentation for this class was generated from the following files: