46 const std::string& prefix)
const 48 std::string pfx = prefix;
51 out << setiosflags(ios::left)
52 << pfx << std::setw(24) <<
"CETAG:" <<
getTagName() <<
"\n" 53 << pfx << std::setw(24) <<
"CEL:" <<
getTagLength() <<
"\n" 54 << pfx << std::setw(24) <<
"CCG_SOURCE:" <<
m_ccgSource <<
"\n" 55 << pfx << std::setw(24) <<
"CCG_SOURCE:" <<
m_regSensor <<
"\n" 56 << pfx << std::setw(24) <<
"ORIGIN_LINE:" <<
m_originLine <<
"\n" 57 << pfx << std::setw(24) <<
"ORIGIN_SAMPLE:" <<
m_originSample <<
"\n" 58 << pfx << std::setw(24) <<
"AS_CELL_SIZE:" <<
m_asCellSize <<
"\n" 59 << pfx << std::setw(24) <<
"CS_CELL_SIZE:" <<
m_csCellSize <<
"\n" 60 << pfx << std::setw(24) <<
"CCG_MAX_LINE:" <<
m_ccgMaxLine <<
"\n" 61 << pfx << std::setw(24) <<
"CCG_MAX_SAMPLE:" <<
m_ccgMaxSample <<
"\n";
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
char m_originLine[ORIGIN_LINE_SIZE+1]
Field: ORIGIN_LINE.
char m_ccgMaxSample[CCG_MAX_SAMPLE_SIZE+1]
Field: CCG_MAX_SAMPLE.
char m_regSensor[REG_SENSOR_SIZE+1]
Field: REG_SENSOR
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
virtual void clearFields()
virtual std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
Pure virtual print method that outputs a key/value type format adding prefix to keys.
std::basic_istream< char > istream
Base class for char input streams.
virtual void writeStream(ossim::ostream &out)
char m_asCellSize[AS_CELL_SIZE_SIZE+1]
Field: AS_CELL_SIZE.
char m_originSample[ORIGIN_SAMPLE_SIZE+1]
Field: ORIGIN_SAMPLE.
char m_csCellSize[CS_CELL_SIZE_SIZE+1]
Field: CS_CELL_SIZE.
virtual void parseStream(ossim::istream &in)
This will allow the user defined data to parse the stream.
char m_ccgMaxLine[CCG_MAX_LINE_SIZE+1]
Field: CCG_MAX_LINE.
std::basic_ostream< char > ostream
Base class for char output streams.
char m_ccgSource[CCG_SOURCE_SIZE+1]
Field: CCG_SOURCE.