![]() |
Diana Software
|
File list handler. More...
Public Member Functions | |
| QFileList () | |
| ~QFileList () | |
| void | Add (const std::string &file) |
| void | Add (const std::list< std::string > &list) |
| void | SetFilesPath (const std::string &path) |
| std::string | GetFilesPath () |
| std::list< std::string > | GetList (const std::string &option="") |
| std::vector< std::string > | GetListVec (const std::string &option="") |
| void | Write (const std::string &fileListPath) const |
| void | Read (const std::string &fileListPath) |
Static Public Member Functions | |
| static void | Write (const std::string &fileListFile, const std::list< std::string > &fileList, const std::string &filesPath) |
| static std::list< std::string > | Read (const std::string &fileListFile, const std::string &option) |
Private Attributes | |
| std::list< std::string > | fFileList |
| std::string | fFilesPath |
File list handler.
Definition at line 13 of file QFileList.hh.
| QFileList::QFileList | ( | ) |
Definition at line 5 of file QFileList.cc.
References fFileList, and fFilesPath.
| QFileList::~QFileList | ( | ) |
Definition at line 11 of file QFileList.cc.
| void QFileList::Add | ( | const std::list< std::string > & | list | ) |
Definition at line 15 of file QFileList.cc.
References Add().
|
inline |
|
inline |
Definition at line 24 of file QFileList.hh.
References fFilesPath.
| std::list< std::string > QFileList::GetList | ( | const std::string & | option = "" | ) |
Definition at line 24 of file QFileList.cc.
References fFileList.
Referenced by GetListVec(), and Read().
| std::vector< std::string > QFileList::GetListVec | ( | const std::string & | option = "" | ) |
Definition at line 40 of file QFileList.cc.
References GetList().
|
static |
Definition at line 110 of file QFileList.cc.
| void QFileList::Read | ( | const std::string & | fileListPath | ) |
Definition at line 67 of file QFileList.cc.
References fFileList, and fFilesPath.
Referenced by QChain::Add(), QFileReader::Init(), main(), and Read().
|
inline |
|
static |
Definition at line 59 of file QFileList.cc.
References Add(), SetFilesPath(), and Write().
| void QFileList::Write | ( | const std::string & | fileListPath | ) | const |
Definition at line 45 of file QFileList.cc.
References fFileList, fFilesPath, and of.
Referenced by Write(), and QFileWriter::WriteFilesList().
|
private |
Definition at line 36 of file QFileList.hh.
Referenced by Add(), GetList(), QFileList(), Read(), and Write().
|
private |
Definition at line 37 of file QFileList.hh.
Referenced by GetFilesPath(), QFileList(), Read(), SetFilesPath(), and Write().