111 std::string pfx = prefix;
115 out << setiosflags(std::ios::left)
116 << pfx << std::setw(24) <<
"CETAG:" 118 << pfx << std::setw(24) <<
"CEL:" <<
getTagLength() <<
"\n" 119 << pfx << std::setw(24) <<
"TGT_NUM:" <<
theTgtNum <<
"\n" 120 << pfx << std::setw(24) <<
"TGT_ID:" <<
theTgtId <<
"\n" 121 << pfx << std::setw(24) <<
"TGT_BE:" <<
theTgtBe <<
"\n" 122 << pfx << std::setw(24) <<
"TGT_PRI:" <<
theTgtPri <<
"\n" 123 << pfx << std::setw(24) <<
"TGT_REQ:" <<
theTgtReq <<
"\n" 124 << pfx << std::setw(24) <<
"TGT_LTIOV:" <<
theTgtLtiov <<
"\n" 125 << pfx << std::setw(24) <<
"TGT_TYPE:" <<
theTgtType <<
"\n" 126 << pfx << std::setw(24) <<
"TGT_COLL:" <<
theTgtColl <<
"\n" 127 << pfx << std::setw(24) <<
"TGT_CAT:" <<
theTgtCat <<
"\n" 128 << pfx << std::setw(24) <<
"TGT_UTC:" <<
theTgtUtc <<
"\n" 129 << pfx << std::setw(24) <<
"TGT_ELEV:" <<
theTgtElev <<
"\n" 130 << pfx << std::setw(24) <<
"TGT_ELEV_UNIT:" <<
theTgtElevUnit <<
"\n" 131 << pfx << std::setw(24) <<
"TGT_LOC:" <<
theTgtLoc <<
"\n";
char theTgtType[TGT_TYPE_SIZE+1]
FIELD: TGT_TYPE.
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
virtual void writeStream(std::ostream &out)
Method to write data to stream.
char theTgtId[TGT_ID_SIZE+1]
FIELD: TGT_ID.
char theTgtUtc[TGT_UTC_SIZE+1]
FIELD: TGT_UTC.
char theTgtLtiov[TGT_LTIOV_SIZE+1]
FIELD: TGT_LTIOV.
ossimNitfMstgtaTag()
default constructor
char theTgtBe[TGT_BE_SIZE+1]
FIELD: TGT_BE.
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.
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
char theTgtReq[TGT_REQ_SIZE+1]
FIELD: TGT_REQ.
char theTgtLoc[TGT_LOC_SIZE+1]
FIELD: TGT_LOC.
char theTgtColl[TGT_COLL_SIZE+1]
FIELD: TGT_COLL.
char theTgtElevUnit[TGT_ELEV_UNIT_SIZE+1]
FIELD: TGT_ELEV_UNIT.
virtual ~ossimNitfMstgtaTag()
destructor
RTTI_DEF1(ossimNitfMstgtaTag, "ossimNitfMstgtaTag", ossimNitfRegisteredTag)
virtual void clearFields()
Method to clear all fields including null terminating.
char theTgtElev[TGT_ELEV_SIZE+1]
FIELD: TGT_ELEV.
std::basic_istream< char > istream
Base class for char input streams.
char theTgtNum[TGT_NUM_SIZE+1]
Type R = Required Type <R> = BCS spaces allowed for entire field.
virtual void parseStream(std::istream &in)
Method to parse data from stream.
char theTgtCat[TGT_CAT_SIZE+1]
FIELD: TGT_CAT.
char theTgtPri[TGT_PRI_SIZE+1]
FIELD: TGT_PRI.
std::basic_ostream< char > ostream
Base class for char output streams.