OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfCsdidaTag.h>
Public Member Functions | |
ossimNitfCsdidaTag () | |
default constructor More... | |
virtual | ~ossimNitfCsdidaTag () |
destructor More... | |
virtual void | parseStream (std::istream &in) |
Method to parse data from stream. More... | |
virtual void | writeStream (std::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) 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 | parseStream (ossim::istream &in)=0 |
This will allow the user defined data to parse the stream. More... | |
virtual void | writeStream (ossim::ostream &out)=0 |
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) |
Protected Attributes | |
char | theDay [3] |
FIELD: DAY. More... | |
char | theMonth [4] |
FIELD: MONTH. More... | |
char | theYear [5] |
FIELD: YEAR. More... | |
char | thePlatformCode [3] |
FIELD: PLATFORM CODE. More... | |
char | theVehicleId [3] |
FIELD: VEHICLE ID. More... | |
char | thePass [3] |
FIELD: PASS. More... | |
char | theOperation [4] |
FIELD: OPERATION. More... | |
char | theSensorId [3] |
FIELD: SENSOR_ID. More... | |
char | theProductId [3] |
FIELD: PRODUCT_ID. More... | |
char | theReservedField1 [5] |
FIELD: Reserved. More... | |
char | theTime [15] |
FIELD: TIME. More... | |
char | theProcessTime [15] |
FIELD: PROCESS_TIME. More... | |
char | theReservedField2 [3] |
FIELD: Reserved. More... | |
char | theReservedField3 [3] |
FIELD: Reserved. More... | |
char | theReservedField4 [1] |
FIELD: Reserved. More... | |
char | theReservedField5 [1] |
FIELD: Reserved. More... | |
char | theSoftwareVersionNumber [11] |
FIELD: SOFTWARE_VERSION_NUMBER. More... | |
![]() | |
std::string | m_tagName |
ossim_uint32 | m_tagLength |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 22 of file ossimNitfCsdidaTag.h.
ossimNitfCsdidaTag::ossimNitfCsdidaTag | ( | ) |
default constructor
Definition at line 28 of file ossimNitfCsdidaTag.cpp.
References clearFields().
|
virtual |
|
virtual |
Method to clear all fields including null terminating.
Definition at line 82 of file ossimNitfCsdidaTag.cpp.
References theDay, theMonth, theOperation, thePass, thePlatformCode, theProcessTime, theProductId, theReservedField1, theReservedField2, theReservedField3, theReservedField4, theReservedField5, theSensorId, theSoftwareVersionNumber, theTime, theVehicleId, and theYear.
Referenced by ossimNitfCsdidaTag(), and parseStream().
|
virtual |
Method to parse data from stream.
Definition at line 38 of file ossimNitfCsdidaTag.cpp.
References clearFields(), theDay, theMonth, theOperation, thePass, thePlatformCode, theProcessTime, theProductId, theReservedField1, theReservedField2, theReservedField3, theReservedField4, theReservedField5, theSensorId, theSoftwareVersionNumber, theTime, theVehicleId, and theYear.
|
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 123 of file ossimNitfCsdidaTag.cpp.
References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), theDay, theMonth, theOperation, thePass, thePlatformCode, theProcessTime, theProductId, theSensorId, theSoftwareVersionNumber, theTime, theVehicleId, and theYear.
|
virtual |
Method to write data to stream.
Definition at line 61 of file ossimNitfCsdidaTag.cpp.
References theDay, theMonth, theOperation, thePass, thePlatformCode, theProcessTime, theProductId, theReservedField1, theReservedField2, theReservedField3, theReservedField4, theReservedField5, theSensorId, theSoftwareVersionNumber, theTime, theVehicleId, and theYear.
|
protected |
FIELD: DAY.
2 byte field BCS-N
01 TO 31 (UTC)
Definition at line 58 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: MONTH.
3 byte field BCS-A
JAN to DEC (UTC)
Definition at line 67 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: OPERATION.
3 byte field BCS-N
001 to 999
Definition at line 113 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PASS.
2 byte field BCS-N
01 to 99
Definition at line 104 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PLATFORM CODE.
2 byte field BCS-A
QB, IK, OV, WV ...
Definition at line 86 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PROCESS_TIME.
14 byte field BCS-N
Image start time (UTC) YYYYMMDDhhmmss
Definition at line 160 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PRODUCT_ID.
2 byte field BCS-A
See table 2.1-7
Definition at line 132 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: Reserved.
4 bytes BCS-A
fill "00 "
Definition at line 141 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: Reserved.
2 bytes BCS-N
Fill "00"
Definition at line 168 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: Reserved.
2 bytes BCS-N
Fill "01"
Definition at line 177 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: Reserved.
1 byte BCS-A
Fill "N"
Definition at line 186 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: Reserved.
1 byte BCS-A
BCS-A "N"
Definition at line 195 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
FIELD: SENSOR_ID.
2 byte field BCS-A
AA = pan only, GA = multispectral and pan sharpened only, NA = panchroomatic & multispectral together.
Definition at line 123 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SOFTWARE_VERSION_NUMBER.
10 byte field BCS-A
Software version used.
Definition at line 204 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: TIME.
14 byte field BCS-N
Image start time (UTC) YYYYMMDDhhmmss Corresponds to ACQUISITION_DATE in STDI-0002
Definition at line 151 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: VEHICLE ID.
2 byte field BCS-N
00 TO 99
Definition at line 95 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: YEAR.
4 byte field BCS-N
0000 to 9999 (UTC)
Definition at line 77 of file ossimNitfCsdidaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().