OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfAimidbTag.h>
Public Types | |
enum | { CEL_SIZE = 89, ACQUISITION_DATE_SIZE = 14, MISSION_NO_SIZE = 4, MISSION_IDENTIFICATION_SIZE = 10, FLIGHT_NO_SIZE = 2, OP_NUM_SIZE = 3, CURRENT_SEGMENT_SIZE = 2, REPRO_NUM_SIZE = 2, REPLAY_SIZE = 3, RESERVED_1_SIZE = 1, START_TILE_COLUMN_SIZE = 3, START_TILE_ROW_SIZE = 5, END_SEGMENT_SIZE = 2, END_TILE_COLUMN_SIZE = 3, END_TILE_ROW_SIZE = 5, COUNTRY_SIZE = 2, RESERVED_2_SIZE = 4, LOCATION_SIZE = 11, RESERVED_3_SIZE = 13 } |
Public Member Functions | |
ossimNitfAimidbTag () | |
default constructor More... | |
virtual | ~ossimNitfAimidbTag () |
destructor More... | |
virtual void | parseStream (ossim::istream &in) |
Method to parse data from stream. More... | |
virtual void | writeStream (ossim::ostream &out) |
Method to write data to stream. More... | |
virtual void | clearFields () |
Method to clear all fields including null terminating. More... | |
virtual 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. More... | |
![]() | |
ossimNitfRegisteredTag () | |
default constructor More... | |
ossimNitfRegisteredTag (const std::string &tagName, ossim_uint32 tagLength) | |
Constructor that takes name and size. More... | |
virtual | ~ossimNitfRegisteredTag () |
destructor More... | |
virtual std::string | getRegisterTagName () const |
This will return the name of the registered tag for this user defined header. More... | |
virtual const std::string & | getTagName () const |
This will return the name of the registered tag for this user defined header. More... | |
virtual void | setTagName (const std::string &tagName) |
virtual ossim_uint32 | getSizeInBytes () const |
Returns the length in bytes of the tag from the CEL or REL field. More... | |
virtual ossim_uint32 | getTagLength () const |
Returns the length in bytes of the tag from the CEL or REL field. More... | |
virtual void | setTagLength (ossim_uint32 length) |
Set the tag length. More... | |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
virtual void | getMetadata (ossimKeywordlist &kwl, const char *prefix=0) const |
Default interface to populate keyword list with metadata. More... | |
virtual bool | saveState (ossimKeywordlist &kwl, const ossimString &prefix) const |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
![]() | |
ossimPropertyInterface () | |
virtual | ~ossimPropertyInterface () |
virtual void | setProperty (const ossimString &name, const ossimString &value) |
virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 22 of file ossimNitfAimidbTag.h.
anonymous enum |
Definition at line 26 of file ossimNitfAimidbTag.h.
ossimNitfAimidbTag::ossimNitfAimidbTag | ( | ) |
default constructor
Definition at line 27 of file ossimNitfAimidbTag.cpp.
References clearFields().
|
virtual |
|
virtual |
Method to clear all fields including null terminating.
Definition at line 83 of file ossimNitfAimidbTag.cpp.
References ACQUISITION_DATE_SIZE, COUNTRY_SIZE, CURRENT_SEGMENT_SIZE, END_SEGMENT_SIZE, END_TILE_COLUMN_SIZE, END_TILE_ROW_SIZE, FLIGHT_NO_SIZE, LOCATION_SIZE, MISSION_IDENTIFICATION_SIZE, MISSION_NO_SIZE, OP_NUM_SIZE, REPLAY_SIZE, REPRO_NUM_SIZE, RESERVED_1_SIZE, RESERVED_2_SIZE, RESERVED_3_SIZE, START_TILE_COLUMN_SIZE, START_TILE_ROW_SIZE, theAcquisitionDate, theCountry, theCurrentSegment, theEndSegment, theFlightNo, theLocation, theMissionIdentification, theMissionNumber, theOpNum, theReplay, theReproNum, theReserved1, theReserved2, theReserved3, theStartTileColumn, theStartTileRow, theTileColumn, and theTileRow.
Referenced by ossimNitfAimidbTag(), and parseStream().
|
virtual |
Method to parse data from stream.
Implements ossimNitfRegisteredTag.
Definition at line 37 of file ossimNitfAimidbTag.cpp.
References ACQUISITION_DATE_SIZE, clearFields(), COUNTRY_SIZE, CURRENT_SEGMENT_SIZE, END_SEGMENT_SIZE, END_TILE_COLUMN_SIZE, END_TILE_ROW_SIZE, FLIGHT_NO_SIZE, LOCATION_SIZE, MISSION_IDENTIFICATION_SIZE, MISSION_NO_SIZE, OP_NUM_SIZE, REPLAY_SIZE, REPRO_NUM_SIZE, RESERVED_1_SIZE, RESERVED_2_SIZE, RESERVED_3_SIZE, START_TILE_COLUMN_SIZE, START_TILE_ROW_SIZE, theAcquisitionDate, theCountry, theCurrentSegment, theEndSegment, theFlightNo, theLocation, theMissionIdentification, theMissionNumber, theOpNum, theReplay, theReproNum, theReserved1, theReserved2, theReserved3, theStartTileColumn, theStartTileRow, theTileColumn, and theTileRow.
|
virtual |
Print method that outputs a key/value type format adding prefix to keys.
out | Stream to output to. |
prefix | Prefix added to key like "image0."; |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 128 of file ossimNitfAimidbTag.cpp.
References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), theAcquisitionDate, theCountry, theCurrentSegment, theEndSegment, theFlightNo, theLocation, theMissionIdentification, theMissionNumber, theOpNum, theReplay, theReproNum, theStartTileColumn, theStartTileRow, theTileColumn, and theTileRow.
|
virtual |
Method to write data to stream.
Implements ossimNitfRegisteredTag.
Definition at line 61 of file ossimNitfAimidbTag.cpp.
References ACQUISITION_DATE_SIZE, COUNTRY_SIZE, CURRENT_SEGMENT_SIZE, END_SEGMENT_SIZE, END_TILE_COLUMN_SIZE, END_TILE_ROW_SIZE, FLIGHT_NO_SIZE, LOCATION_SIZE, MISSION_IDENTIFICATION_SIZE, MISSION_NO_SIZE, OP_NUM_SIZE, REPLAY_SIZE, REPRO_NUM_SIZE, RESERVED_1_SIZE, RESERVED_2_SIZE, RESERVED_3_SIZE, START_TILE_COLUMN_SIZE, START_TILE_ROW_SIZE, theAcquisitionDate, theCountry, theCurrentSegment, theEndSegment, theFlightNo, theLocation, theMissionIdentification, theMissionNumber, theOpNum, theReplay, theReproNum, theReserved1, theReserved2, theReserved3, theStartTileColumn, theStartTileRow, theTileColumn, and theTileRow.
|
protected |
Type R = Required Type <R> = BCS spaces allowed for entire field.
FIELD: ACQUISITION_DATE
TYPE: R
14 byte field
CCYYMMDDhhmmss
Definition at line 86 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: COUNTRY.
TYPE: <R>
2 byte field
Country Code, AA to ZZ
Definition at line 240 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: CURRENT_SEGMENT.
TYPE: R
2 byte field
Current Segment ID, AA to ZZ
Definition at line 141 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: END_SEGMENT.
TYPE: R
2 byte field
Ending Segment, 00, AA to ZZ
Definition at line 207 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: FLIGHT_NO.
TYPE: R
2 byte field
Flight Number
Definition at line 119 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: LOCATION.
TYPE: <R>
11 byte field
Location, ddmmXdddmmY, spaces
Definition at line 262 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: MISSION_IDENTIFICATION.
TYPE: R
10 byte field
Name of the Mission.
Definition at line 108 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: MISSION_NO.
TYPE: R
4 byte field
Mission Number
Definition at line 97 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: OP_NUM.
TYPE: R
3 byte field
Image Operation Number 000 to 999
Definition at line 130 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: REPLAY.
TYPE: <R>
3 byte field
Replay
Definition at line 163 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: REPRO_NUM.
TYPE: R
2 byte field
Reprocess Number, 00 to 99
Definition at line 152 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: RESERVED_1.
TYPE: R
1 byte field
1 space
Definition at line 174 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: RESERVED_2.
TYPE: R
4 byte field
4 spaces
Definition at line 251 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: RESERVED_3.
TYPE: R
13 byte field
13 spaces
Definition at line 273 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: START_TILE_COLUMN.
TYPE: R
3 byte field
Starting Tile Column Number, 001 to 099
Definition at line 185 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: START_TILE_ROW.
TYPE: R
5 byte field
Starting Tile Row Number, 00001 to 99999
Definition at line 196 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: END_TILE_COLUMN.
TYPE: R
3 byte field
Ending Tile Column Number, 001 to 099
Definition at line 218 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: END_TILE_ROW.
TYPE: R
5 byte field
Ending Tile Row Number, 00001 to 99999
Definition at line 229 of file ossimNitfAimidbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().