ddc
|
#include <Concordance.h>
Public Member Functions | |
CSourceFileHolder () | |
bool | SaveSourceFileList (string FileName) |
Saves the list of source files to file *.con. More... | |
void | DeleteSourceFile (long ItemNo) |
Deletes a source file. More... | |
void | AddSourceFile (const char *FileName) |
Adds a source file. More... | |
void | DeleteAllSourceFiles () |
deletes all Source File Definition source files More... | |
size_t | GetSourceFilesCount () const |
string | GetSourceFile (size_t FileNo) const |
get the source file by the index More... | |
void | AddSourceFilesFrom (const CSourceFileHolder &X) |
void | ReadSourceFileList (string FileName) |
int | FoundNotExistedFile () const |
finds a source file which does not exist, if there is no such file, returns -1 More... | |
bool | IsModified () const |
Protected Attributes | |
vector< string > | m_SourceFiles |
Source files More... | |
bool | m_bModifiedListOfFiles |
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 CConcIndexator::SplitProject().
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 ConcIndexatorInvoker::BuildIndexStart(), and CDDCLeafServer::handle__info().
string CSourceFileHolder::GetSourceFile | ( | size_t | FileNo | ) | const |
get the source file by the index
References m_SourceFiles.
Referenced by ConcIndexatorInvoker::BuildIndexStart(), and ConcIndexatorInvoker::IndexFiles().
void CSourceFileHolder::AddSourceFilesFrom | ( | const CSourceFileHolder & | X | ) |
References m_bModifiedListOfFiles, and m_SourceFiles.
Referenced by CConcIndexator::CreateAsUnion().
void CSourceFileHolder::ReadSourceFileList | ( | string | FileName | ) |
References Format(), m_SourceFiles, RelativeFileName(), and Trim().
Referenced by CConcordance::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 ConcIndexatorInvoker::BuildIndexStart().
bool CSourceFileHolder::IsModified | ( | ) | const |
References m_bModifiedListOfFiles.
|
protected |
|
protected |