|
WSF
|
A collection of functions to assist in performing binary I/O for tables. More...
Enumerations | |
| enum | { cSO_IDENT = 0x51 , cIV_IDENT = 0x53 , cDV_IDENT = 0x57 , cEOF_IDENT = 0x77 } |
Functions | |
| void | ReadHeader (std::istream &aInput, std::string aUserIdent[3]) |
| void | WriteHeader (std::ostream &aOutput, const std::string aUserIdent[3]) |
| void | ReadSpectralObject (std::istream &aInput, SOSM_SpectralObject &aObject) |
| void | WriteSpectralObject (std::ostream &aOutput, const SOSM_SpectralObject &aObject) |
| void | ReadDV (std::istream &aInput, std::vector< float > &aDV) |
| void | WriteDV (std::ostream &aOutput, const std::vector< float > &aDV) |
| void | ReadIV (std::istream &aInput, TblIndVarU< float > &aIV) |
| void | WriteIV (std::ostream &aOutput, const TblIndVarU< float > &aIV) |
| void | ReadTrailer (std::istream &aInput) |
| void | WriteTrailer (std::ostream &aOutput) |
| void | ReadString (std::istream &aInput, std::string &aString) |
| void | WriteString (std::ostream &aOutput, const std::string &aString) |
A collection of functions to assist in performing binary I/O for tables.
| void SOSM_BinaryIO::ReadDV | ( | std::istream & | aInput, |
| std::vector< float > & | aDV ) |
| void SOSM_BinaryIO::ReadHeader | ( | std::istream & | aInput, |
| std::string | aUserIdent[3] ) |
References ok, and ReadString().
Referenced by SOSM_ScalarTable2D::LoadBinaryFile(), SOSM_ScalarTable3D::LoadBinaryFile(), SOSM_SpectralTable2D::LoadBinaryFile(), and SOSM_SpectralTable3D::LoadBinaryFile().
| void SOSM_BinaryIO::ReadIV | ( | std::istream & | aInput, |
| TblIndVarU< float > & | aIV ) |
| void SOSM_BinaryIO::ReadSpectralObject | ( | std::istream & | aInput, |
| SOSM_SpectralObject & | aObject ) |
References cSO_IDENT, and SOSM_SpectralObject::DefineSpectralLimits().
Referenced by SOSM_SpectralTable2D::LoadBinaryFile(), and SOSM_SpectralTable3D::LoadBinaryFile().
| void SOSM_BinaryIO::ReadString | ( | std::istream & | aInput, |
| std::string & | aString ) |
Referenced by ReadHeader().
| void SOSM_BinaryIO::ReadTrailer | ( | std::istream & | aInput | ) |
| void SOSM_BinaryIO::WriteDV | ( | std::ostream & | aOutput, |
| const std::vector< float > & | aDV ) |
| void SOSM_BinaryIO::WriteHeader | ( | std::ostream & | aOutput, |
| const std::string | aUserIdent[3] ) |
| void SOSM_BinaryIO::WriteIV | ( | std::ostream & | aOutput, |
| const TblIndVarU< float > & | aIV ) |
| void SOSM_BinaryIO::WriteSpectralObject | ( | std::ostream & | aOutput, |
| const SOSM_SpectralObject & | aObject ) |
References SOSM_SpectralObject::Count(), cSO_IDENT, SOSM_SpectralObject::Increment(), and SOSM_SpectralObject::Origin().
Referenced by SOSM_SpectralTable2D::SaveBinaryFile(), and SOSM_SpectralTable3D::SaveBinaryFile().
| void SOSM_BinaryIO::WriteString | ( | std::ostream & | aOutput, |
| const std::string & | aString ) |
Referenced by WriteHeader().
| void SOSM_BinaryIO::WriteTrailer | ( | std::ostream & | aOutput | ) |