OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimDtedVol.h>
Public Types | |
enum | { VOL_LENGTH = 80, VOL_ONE_LABEL_1 = 4, VOL_REEL_NUMBER = 5, VOL_REEL_ACCESS = 11, VOL_SPACE = 12, VOL_ACCOUNT_NUMBER = 38, VOL_BLANKS = 52, VOL_ONE_LABEL_2 = 80, FIELD1_SIZE = 3, FIELD2_SIZE = 1, FIELD3_SIZE = 6, FIELD4_SIZE = 1, FIELD5_SIZE = 26, FIELD6_SIZE = 14, FIELD7_SIZE = 28, FIELD8_SIZE = 1 } |
Public Member Functions | |
ossimDtedVol () | |
ossimDtedVol (std::shared_ptr< ossim::istream > &str, ossim_int64 offset=0) | |
ossimString | getRecognitionSentinel () const |
ossimString | getReelNumber () const |
ossimString | getAccountNumber () const |
ossim_int32 | startOffset () const |
ossim_int32 | stopOffset () const |
void | parse (std::istream &in) |
ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
Gets a property for name. More... | |
void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
Adds this class's properties to list. More... | |
std::ostream & | print (std::ostream &out, const std::string &prefix) const |
print method that outputs a key/value type format adding prefix to keys. More... | |
![]() | |
ossimErrorStatusInterface () | |
virtual | ~ossimErrorStatusInterface () |
virtual ossimErrorCode | getErrorStatus () const |
virtual ossimString | getErrorStatusString () const |
virtual void | setErrorStatus (ossimErrorCode error_status) const |
virtual void | setErrorStatus () const |
virtual void | clearErrorStatus () const |
bool | hasError () const |
virtual std::ostream & | print (std::ostream &out) const |
Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
Private Member Functions | |
ossimDtedVol (const ossimDtedVol &source) | |
const ossimDtedVol & | operator= (const ossimDtedVol &rhs) |
Private Attributes | |
char | theRecSen [FIELD1_SIZE+1] |
char | theField2 [FIELD2_SIZE+1] |
char | theReelNumber [FIELD3_SIZE+1] |
char | theField4 [FIELD4_SIZE+1] |
char | theField5 [FIELD5_SIZE+1] |
char | theAccountNumber [FIELD6_SIZE+1] |
char | theField7 [FIELD7_SIZE+1] |
char | theField8 [FIELD8_SIZE+1] |
ossim_int32 | theStartOffset |
ossim_int32 | theStopOffset |
Friends | |
OSSIM_DLL std::ostream & | operator<< (std::ostream &os, const ossimDtedVol &vol) |
Additional Inherited Members | |
![]() | |
ossimErrorCode | theErrorStatus |
Definition at line 29 of file ossimDtedVol.h.
anonymous enum |
Definition at line 35 of file ossimDtedVol.h.
ossimDtedVol::ossimDtedVol | ( | ) |
Definition at line 22 of file ossimDtedVol.cpp.
ossimDtedVol::ossimDtedVol | ( | std::shared_ptr< ossim::istream > & | str, |
ossim_int64 | offset = 0 |
||
) |
Definition at line 29 of file ossimDtedVol.cpp.
References ossimErrorCodes::OSSIM_ERROR, parse(), and ossimErrorStatusInterface::theErrorStatus.
|
private |
Definition at line 218 of file ossimDtedVol.cpp.
ossimString ossimDtedVol::getAccountNumber | ( | ) | const |
Definition at line 176 of file ossimDtedVol.cpp.
References theAccountNumber.
ossimRefPtr< ossimProperty > ossimDtedVol::getProperty | ( | const ossimString & | name | ) | const |
Gets a property for name.
name | Property name to get. |
Definition at line 153 of file ossimDtedVol.cpp.
Referenced by ossimDtedInfo::getProperty().
void ossimDtedVol::getPropertyNames | ( | std::vector< ossimString > & | propertyNames | ) | const |
Adds this class's properties to list.
propertyNames | list to append to. |
Definition at line 160 of file ossimDtedVol.cpp.
Referenced by ossimDtedInfo::getProperty().
ossimString ossimDtedVol::getRecognitionSentinel | ( | ) | const |
ossimString ossimDtedVol::getReelNumber | ( | ) | const |
Definition at line 171 of file ossimDtedVol.cpp.
References theReelNumber.
|
private |
Definition at line 222 of file ossimDtedVol.cpp.
void ossimDtedVol::parse | ( | std::istream & | in | ) |
Definition at line 105 of file ossimDtedVol.cpp.
References ossimErrorStatusInterface::clearErrorStatus(), FIELD1_SIZE, FIELD2_SIZE, FIELD3_SIZE, FIELD4_SIZE, FIELD5_SIZE, FIELD6_SIZE, FIELD7_SIZE, FIELD8_SIZE, ossimErrorCodes::OSSIM_ERROR, theAccountNumber, ossimErrorStatusInterface::theErrorStatus, theField2, theField4, theField5, theField7, theField8, theRecSen, theReelNumber, theStartOffset, theStopOffset, and VOL_LENGTH.
Referenced by ossimDtedInfo::open(), and ossimDtedVol().
std::ostream & ossimDtedVol::print | ( | std::ostream & | out, |
const std::string & | prefix | ||
) | const |
print method that outputs a key/value type format adding prefix to keys.
out | String to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "nitf." and key is "file_name" key becomes: "nitf.file_name:" |
Definition at line 191 of file ossimDtedVol.cpp.
References theAccountNumber, theField2, theField4, theField5, theField7, theField8, theRecSen, and theReelNumber.
Referenced by operator<<(), and ossimDtedInfo::print().
ossim_int32 ossimDtedVol::startOffset | ( | ) | const |
ossim_int32 ossimDtedVol::stopOffset | ( | ) | const |
|
friend |
Definition at line 212 of file ossimDtedVol.cpp.
|
private |
Definition at line 102 of file ossimDtedVol.h.
Referenced by getAccountNumber(), parse(), and print().
|
private |
Definition at line 98 of file ossimDtedVol.h.
|
private |
Definition at line 100 of file ossimDtedVol.h.
|
private |
Definition at line 101 of file ossimDtedVol.h.
|
private |
Definition at line 103 of file ossimDtedVol.h.
|
private |
Definition at line 104 of file ossimDtedVol.h.
|
private |
Definition at line 97 of file ossimDtedVol.h.
Referenced by getRecognitionSentinel(), parse(), and print().
|
private |
Definition at line 99 of file ossimDtedVol.h.
Referenced by getReelNumber(), parse(), and print().
|
private |
Definition at line 106 of file ossimDtedVol.h.
Referenced by parse(), and startOffset().
|
private |
Definition at line 107 of file ossimDtedVol.h.
Referenced by parse(), and stopOffset().