OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRpfPathnameRecord.h>
Public Member Functions | |
ossimRpfPathnameRecord () | |
default constructor More... | |
ossimRpfPathnameRecord (const ossimRpfPathnameRecord &obj) | |
copy constructor More... | |
const ossimRpfPathnameRecord & | operator= (const ossimRpfPathnameRecord &rhs) |
assignment operator More... | |
void | clearFields () |
ossimErrorCode | parseStream (std::istream &in, ossimByteOrder byteOrder) |
void | writeStream (std::ostream &out) |
Write method. More... | |
std::ostream & | print (std::ostream &out) const |
ossimString | getPathname () const |
void | setPathName (const ossimString &path) |
Set the pathname and length from string size. More... | |
Private Attributes | |
ossim_uint16 | m_length |
ossimString | m_pathname |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ossimRpfPathnameRecord &data) |
Definition at line 19 of file ossimRpfPathnameRecord.h.
ossimRpfPathnameRecord::ossimRpfPathnameRecord | ( | ) |
ossimRpfPathnameRecord::ossimRpfPathnameRecord | ( | const ossimRpfPathnameRecord & | obj | ) |
void ossimRpfPathnameRecord::clearFields | ( | ) |
Definition at line 46 of file ossimRpfPathnameRecord.cpp.
References m_length, and m_pathname.
Referenced by parseStream().
ossimString ossimRpfPathnameRecord::getPathname | ( | ) | const |
const ossimRpfPathnameRecord & ossimRpfPathnameRecord::operator= | ( | const ossimRpfPathnameRecord & | rhs | ) |
assignment operator
Definition at line 36 of file ossimRpfPathnameRecord.cpp.
References m_length, and m_pathname.
ossimErrorCode ossimRpfPathnameRecord::parseStream | ( | std::istream & | in, |
ossimByteOrder | byteOrder | ||
) |
Definition at line 52 of file ossimRpfPathnameRecord.cpp.
References ossim::byteOrder(), clearFields(), ossimEndian::getSystemEndianType(), m_length, m_pathname, ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, and ossimEndian::swap().
std::ostream & ossimRpfPathnameRecord::print | ( | std::ostream & | out | ) | const |
Definition at line 104 of file ossimRpfPathnameRecord.cpp.
References m_length, and m_pathname.
Referenced by operator<<().
void ossimRpfPathnameRecord::setPathName | ( | const ossimString & | path | ) |
Set the pathname and length from string size.
path | Path like: ./N03E030 |
Definition at line 116 of file ossimRpfPathnameRecord.cpp.
References m_length, m_pathname, and ossimString::size().
void ossimRpfPathnameRecord::writeStream | ( | std::ostream & | out | ) |
Write method.
out | Stream to write to. |
Definition at line 81 of file ossimRpfPathnameRecord.cpp.
References ossimString::c_str(), ossimEndian::getSystemEndianType(), m_length, m_pathname, OSSIM_BIG_ENDIAN, ossimString::size(), and ossimEndian::swap().
|
friend |
Definition at line 17 of file ossimRpfPathnameRecord.cpp.
|
private |
Definition at line 56 of file ossimRpfPathnameRecord.h.
Referenced by clearFields(), operator=(), parseStream(), print(), setPathName(), and writeStream().
|
private |
Definition at line 57 of file ossimRpfPathnameRecord.h.
Referenced by clearFields(), getPathname(), operator=(), parseStream(), print(), setPathName(), and writeStream().