#include <ConcIndexator.h>
CSourceFileHolder holds the list of source files
CSourceFileHolder::CSourceFileHolder | ( | void | ) |
References m_bModifiedListOfFiles.
bool CSourceFileHolder::SaveSourceFileList | ( | string | FileName | ) |
Saves the list of source files to file *.con.
References m_bModifiedListOfFiles, and m_SourceFiles.
Referenced by CConcIndexator::CreateAsUnion(), and CConcordance::SaveProject().
void CSourceFileHolder::DeleteSourceFile | ( | long | ItemNo | ) |
Deletes a source file.
References m_bModifiedListOfFiles, and m_SourceFiles.
void CSourceFileHolder::AddSourceFile | ( | const char * | FileName | ) |
Adds a source file.
References m_bModifiedListOfFiles, and m_SourceFiles.
void CSourceFileHolder::DeleteAllSourceFiles | ( | ) |
deletes all Source File Definition source files
References m_bModifiedListOfFiles, and m_SourceFiles.
Referenced by CConcIndexator::CreateAsUnion().
size_t CSourceFileHolder::GetSourceFilesCount | ( | ) | const |
get the number of source files
References m_SourceFiles.
Referenced by CConcIndexatorInvoker::BuildIndex().
string CSourceFileHolder::GetSourceFile | ( | size_t | FileNo | ) | const |
get the source file by the index
References m_SourceFiles.
Referenced by CConcIndexatorInvoker::BuildIndex().
void CSourceFileHolder::AddSourceFilesFrom | ( | const CSourceFileHolder & | X | ) |
References m_bModifiedListOfFiles, and m_SourceFiles.
Referenced by CConcIndexator::CreateAsUnion().
bool CSourceFileHolder::ReadSourceFileList | ( | string | FileName | ) |
References m_SourceFiles, and Trim().
Referenced by CConcIndexator::LoadSourceFilesAndOptions().
int CSourceFileHolder::FoundNotExistedFile | ( | ) | const |
finds a source file which does not exist, if there is no such file, returns -1
References m_SourceFiles.
Referenced by CConcIndexatorInvoker::BuildIndex().
bool CSourceFileHolder::IsModified | ( | ) | const |
References m_bModifiedListOfFiles.
vector<string> CSourceFileHolder::m_SourceFiles [private] |
bool CSourceFileHolder::m_bModifiedListOfFiles [private] |