Isis Developer Reference
CisscalFile.h
Go to the documentation of this file.
1 #ifndef CISSCALFILE_H
2 #define CISSCALFILE_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <vector>
13 
14 #include <QString>
15 
16 #include "TextFile.h"
17 
18 namespace Isis {
36  class CisscalFile : public TextFile {
37  public:
38  CisscalFile(const QString &filename, const char *openmode = "input",
39  const char *extension = "");
43  };
44  bool GetLine(QString &line);
45  protected:
47  bool p_GetLine(QString &line);
48  };
49 };
50 #endif
Isis::CisscalFile::p_begindataFound
bool p_begindataFound
Definition: CisscalFile.h:46
FileName.h
Isis::IException::Io
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
Isis::TextFile::Close
void Close()
Closes file. Called automatically by TextFile destructor.
Definition: TextFile.cpp:326
Isis::TextFile::OpenChk
bool OpenChk(bool bailIfNotOpen=false)
Definition: TextFile.cpp:301
Isis::TextFile
Provides access to sequential ASCII stream I/O.
Definition: TextFile.h:38
Isis::CisscalFile::CisscalFile
CisscalFile(const QString &filename, const char *openmode="input", const char *extension="")
Constructs a CisscalFile object and opens the specified file (including path).
Definition: CisscalFile.cpp:45
IString.h
Isis::CisscalFile::GetLine
bool GetLine(QString &line)
Get next line of valid data.
Definition: CisscalFile.cpp:111
Isis::CisscalFile
Extends TextFile to handle Cassini ISS calibration files.
Definition: CisscalFile.h:36
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::CisscalFile::~CisscalFile
~CisscalFile()
Destructor closes the text file.
Definition: CisscalFile.h:41
TextFile.h
Isis::CisscalFile::p_GetLine
bool p_GetLine(QString &line)
Flag variable indicates whether the tag "\begindata" has been found.
Definition: CisscalFile.cpp:63
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::TextFile::p_filename
QString p_filename
FileName of the opened file.
Definition: TextFile.h:44
IException.h
std
Namespace for the standard library.
Isis::TextFile::p_stream
std::fstream p_stream
File stream handle.
Definition: TextFile.h:41
CisscalFile.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Message.h