26 return data.
print(out);
38 m_updateStatus(obj.m_updateStatus)
83 const std::string& prefix,
86 std::string pfx = prefix;
87 pfx +=
"replace_update_record";
90 out << pfx <<
"new_file: " <<
m_newFile <<
"\n" 91 << pfx <<
"old_file: " <<
m_oldFile <<
"\n" ossim_int32 ossimErrorCode
void getNewFilename(std::string &file) const
Gets new file field.
std::ostream & print(std::ostream &out, const std::string &prefix=std::string(), ossim_uint32 recordNumber=0) const
print method that outputs a key/value type format adding prefix to keys.
static const ossimErrorCode OSSIM_OK
void setNewFilename(const std::string &file)
Sets old file name 12 byte field.
static ossimString toString(bool aValue)
Numeric to string methods.
static const ossimErrorCode OSSIM_ERROR
ossim_uint8 m_updateStatus
This is a 1 byte unsigned integer.
void setOldFilename(const std::string &file)
Sets new file name 12 byte field.
const ossimRpfReplaceUpdateRecord & operator=(const ossimRpfReplaceUpdateRecord &rhs)
assignment operator
char m_oldFile[13]
This is a 12 byte asci field.
void getOldFilename(std::string &file) const
Gets old file field.
unsigned int ossim_uint32
void clearFields()
Clears fields.
void setUpdateStatus(ossim_uint8 status)
char m_newFile[13]
This is a 12 byte asci field.
std::basic_istream< char > istream
Base class for char input streams.
std::ostream & operator<<(std::ostream &out, const ossimRpfReplaceUpdateRecord &data)
ossim_uint8 getUpdateStatus() const
ossimErrorCode parseStream(std::istream &in)
Method to parse the record.
static void setField(void *fieldDestination, const ossimString &src, std::streamsize width, std::ios_base::fmtflags ioflags=std::ios::left, char fill=' ')
Sets a field with a given string, width, and IOS flags.
ossimRpfReplaceUpdateRecord()
default constructor
void writeStream(std::ostream &out)
Write method.
unsigned char ossim_uint8
std::basic_ostream< char > ostream
Base class for char output streams.
RPF replace/update section subheader record.
const std::string & string() const