Isis Developer Reference
FileList.h
Go to the documentation of this file.
1 #ifndef FileList_h
2 #define FileList_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <QList>
11 #include <iostream>
12 
13 class QString;
14 
15 namespace Isis {
16  class FileName;
54  class FileList : public QList<FileName> {
55  public:
57  FileList(FileName listFile);
63  FileList(std::istream &in);
65  FileList();
66 
68  ~FileList() {};
69 
71  void read(FileName listFile);
73  void read(std::istream &in);
75  void write(FileName outputFileList);
77  void write(std::ostream &out);
78  };
79 };
80 
81 #endif
FileName.h
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::IString::TrimTail
IString TrimTail(const std::string &chars)
Trims the input characters from the end of the object IString.
Definition: IString.cpp:587
Isis::FileList::~FileList
~FileList()
Destroys the FileList object.
Definition: FileList.h:68
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::FileList::write
void write(FileName outputFileList)
writes to a FileName obj
Definition: FileList.cpp:158
Isis::Message::FileOpen
QString FileOpen(const QString &filename)
This error should be used when a file could not be opened.
Definition: FileOpen.cpp:11
Isis::FileList::FileList
FileList()
Creates an empty FileList obj.
Definition: FileList.cpp:22
IString.h
FileList.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::FileList::read
void read(FileName listFile)
reads in a FileName obj
Definition: FileList.cpp:52
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::FileName::toString
QString toString() const
Returns a QString of the full file name including the file path, excluding the attributes with any Is...
Definition: FileName.cpp:515
IException.h
std
Namespace for the standard library.
Isis::IString::Token
IString Token(const IString &separator)
Returns the first token in the IString.
Definition: IString.cpp:897
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
Isis::IString::TrimHead
IString TrimHead(const std::string &chars)
Trims The input characters from the beginning of the object IString.
Definition: IString.cpp:558
Isis::FileList
Internalizes a list of files.
Definition: FileList.h:54
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::IString::ToQt
QString ToQt() const
Retuns the object string as a QString.
Definition: IString.cpp:869
Message.h