OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimDtedAcc.h>
Public Types | |
enum | { ACC_LENGTH = 2700, ACC_ABSOLUTE_CE = 4, ACC_ABSOLUTE_LE = 8, ACC_RELATIVE_CE = 12, ACC_RELATIVE_LE = 16, ACC_RESERVED_1 = 20, ACC_RESERVED_2 = 24, ACC_RESERVED_3 = 25, ACC_MULTIPLE_FLAG = 56, ACC_RESERVED = 58, FIELD1_SIZE = 3, FIELD2_SIZE = 4, FIELD3_SIZE = 4, FIELD4_SIZE = 4, FIELD5_SIZE = 4, FIELD6_SIZE = 4, FIELD7_SIZE = 1, FIELD8_SIZE = 31, FIELD9_SIZE = 2, FIELD10_SIZE = 4, FIELD11_SIZE = 4, FIELD12_SIZE = 4, FIELD13_SIZE = 4, FIELD14_SIZE = 2, FIELD15_SIZE = 9, FIELD16_SIZE = 10, FIELD17_SIZE = 18, FIELD18_SIZE = 69 } |
Public Member Functions | |
ossimDtedAcc () | |
ossimDtedAcc (std::shared_ptr< ossim::istream > &str, ossim_int64 offset=0) | |
ossim_int32 | absCE () const |
ossim_int32 | absLE () const |
ossim_int32 | relCE () const |
ossim_int32 | relLE () const |
ossim_int32 | startOffset () const |
ossim_int32 | stopOffset () const |
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... | |
void | parse (std::istream &in) |
void | clearFields () |
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... | |
![]() | |
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 | |
ossimDtedAcc (const ossimDtedAcc &source) | |
const ossimDtedAcc & | operator= (const ossimDtedAcc &rhs) |
Private Attributes | |
char | theRecSen [FIELD1_SIZE+1] |
char | theAbsoluteCE [FIELD2_SIZE+1] |
char | theAbsoluteLE [FIELD3_SIZE+1] |
char | theRelativeCE [FIELD4_SIZE+1] |
char | theRelativeLE [FIELD5_SIZE+1] |
char | theField6 [FIELD6_SIZE+1] |
char | theField7 [FIELD7_SIZE+1] |
char | theField8 [FIELD8_SIZE+1] |
char | theField9 [FIELD9_SIZE+1] |
char | theField10 [FIELD10_SIZE+1] |
char | theField11 [FIELD11_SIZE+1] |
char | theField12 [FIELD12_SIZE+1] |
char | theField13 [FIELD13_SIZE+1] |
char | theField14 [FIELD14_SIZE+1] |
char | theField15 [FIELD15_SIZE+1] |
char | theField16 [FIELD16_SIZE+1] |
char | theField17 [FIELD17_SIZE+1] |
ossim_int32 | theStartOffset |
ossim_int32 | theStopOffset |
Friends | |
OSSIM_DLL std::ostream & | operator<< (std::ostream &os, const ossimDtedAcc &acc) |
Additional Inherited Members | |
![]() | |
ossimErrorCode | theErrorStatus |
Definition at line 28 of file ossimDtedAcc.h.
anonymous enum |
Definition at line 33 of file ossimDtedAcc.h.
ossimDtedAcc::ossimDtedAcc | ( | ) |
Definition at line 26 of file ossimDtedAcc.cpp.
ossimDtedAcc::ossimDtedAcc | ( | std::shared_ptr< ossim::istream > & | str, |
ossim_int64 | offset = 0 |
||
) |
Definition at line 31 of file ossimDtedAcc.cpp.
References ossimErrorCodes::OSSIM_ERROR, parse(), and ossimErrorStatusInterface::theErrorStatus.
|
private |
ossim_int32 ossimDtedAcc::absCE | ( | ) | const |
ossim_int32 ossimDtedAcc::absLE | ( | ) | const |
void ossimDtedAcc::clearFields | ( | ) |
Definition at line 44 of file ossimDtedAcc.cpp.
References FIELD10_SIZE, FIELD11_SIZE, FIELD12_SIZE, FIELD13_SIZE, FIELD14_SIZE, FIELD15_SIZE, FIELD16_SIZE, FIELD17_SIZE, FIELD1_SIZE, FIELD2_SIZE, FIELD3_SIZE, FIELD4_SIZE, FIELD5_SIZE, FIELD6_SIZE, FIELD7_SIZE, FIELD8_SIZE, FIELD9_SIZE, theAbsoluteCE, theAbsoluteLE, theField10, theField11, theField12, theField13, theField14, theField15, theField16, theField17, theField6, theField7, theField8, theField9, theRecSen, theRelativeCE, theRelativeLE, theStartOffset, and theStopOffset.
Referenced by ossimDtedAcc(), and parse().
ossimRefPtr< ossimProperty > ossimDtedAcc::getProperty | ( | const ossimString & | name | ) | const |
Gets a property for name.
name | Property name to get. |
Definition at line 156 of file ossimDtedAcc.cpp.
References theAbsoluteCE, theAbsoluteLE, theRecSen, theRelativeCE, and theRelativeLE.
Referenced by ossimDtedInfo::getProperty().
void ossimDtedAcc::getPropertyNames | ( | std::vector< ossimString > & | propertyNames | ) | const |
Adds this class's properties to list.
propertyNames | list to append to. |
Definition at line 184 of file ossimDtedAcc.cpp.
Referenced by ossimDtedInfo::getProperty().
|
private |
Definition at line 258 of file ossimDtedAcc.cpp.
void ossimDtedAcc::parse | ( | std::istream & | in | ) |
Definition at line 70 of file ossimDtedAcc.cpp.
References ACC_LENGTH, ossimErrorStatusInterface::clearErrorStatus(), clearFields(), FIELD10_SIZE, FIELD11_SIZE, FIELD12_SIZE, FIELD13_SIZE, FIELD14_SIZE, FIELD15_SIZE, FIELD16_SIZE, FIELD17_SIZE, FIELD18_SIZE, FIELD1_SIZE, FIELD2_SIZE, FIELD3_SIZE, FIELD4_SIZE, FIELD5_SIZE, FIELD6_SIZE, FIELD7_SIZE, FIELD8_SIZE, FIELD9_SIZE, ossimErrorCodes::OSSIM_ERROR, theAbsoluteCE, theAbsoluteLE, ossimErrorStatusInterface::theErrorStatus, theField10, theField11, theField12, theField13, theField14, theField15, theField16, theField17, theField6, theField7, theField8, theField9, theRecSen, theRelativeCE, theRelativeLE, theStartOffset, and theStopOffset.
Referenced by ossimDtedInfo::open(), and ossimDtedAcc().
std::ostream & ossimDtedAcc::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 194 of file ossimDtedAcc.cpp.
References theAbsoluteCE, theAbsoluteLE, theRecSen, theRelativeCE, theRelativeLE, theStartOffset, and theStopOffset.
Referenced by operator<<(), and ossimDtedInfo::print().
ossim_int32 ossimDtedAcc::relCE | ( | ) | const |
ossim_int32 ossimDtedAcc::relLE | ( | ) | const |
ossim_int32 ossimDtedAcc::startOffset | ( | ) | const |
ossim_int32 ossimDtedAcc::stopOffset | ( | ) | const |
|
friend |
Definition at line 247 of file ossimDtedAcc.cpp.
|
private |
Definition at line 115 of file ossimDtedAcc.h.
Referenced by absCE(), clearFields(), getProperty(), parse(), and print().
|
private |
Definition at line 116 of file ossimDtedAcc.h.
Referenced by absLE(), clearFields(), getProperty(), parse(), and print().
|
private |
Definition at line 123 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 124 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 125 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 126 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 127 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 128 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 129 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 130 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 119 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 120 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 121 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 122 of file ossimDtedAcc.h.
Referenced by clearFields(), and parse().
|
private |
Definition at line 114 of file ossimDtedAcc.h.
Referenced by clearFields(), getProperty(), parse(), and print().
|
private |
Definition at line 117 of file ossimDtedAcc.h.
Referenced by clearFields(), getProperty(), parse(), print(), and relCE().
|
private |
Definition at line 118 of file ossimDtedAcc.h.
Referenced by clearFields(), getProperty(), parse(), print(), and relLE().
|
private |
Definition at line 132 of file ossimDtedAcc.h.
Referenced by clearFields(), parse(), print(), and startOffset().
|
private |
Definition at line 133 of file ossimDtedAcc.h.
Referenced by clearFields(), parse(), print(), and stopOffset().