CBreakCollectionDescr is a structure that holds properties of a collection of breaks of one type.
CHitBorders::CBreakCollection::CBreakCollection | ( | const string & | ShortName, | |
const string & | LongName | |||
) |
References m_FileForIndexing, m_LongName, and m_ShortName.
string CHitBorders::CBreakCollection::GetBreakFileName | ( | string | Path | ) | const |
returns the file name for a break collection
References Format(), m_ShortName, and MakeFName().
Referenced by ClearAll(), ReadFromDisk(), CHitBorders::StartIndexing(), and CHitBorders::UniteBorders().
void CHitBorders::CBreakCollection::ReadFromDisk | ( | string | Path | ) |
References GetBreakFileName(), m_BreakOffsets, and ReadVector().
bool CHitBorders::CBreakCollection::ClearAll | ( | string | Path | ) |
References FileExists(), GetBreakFileName(), and m_BreakOffsets.
void CHitBorders::CBreakCollection::CloseFileForIndexing | ( | ) |
References m_FileForIndexing.
short name of this break collection
Referenced by CBreakCollection(), CHitBorders::GetBorderIndicesString(), GetBreakFileName(), CHitBorders::RegisterBreak(), and CHitBorders::UniteBorders().
long name of this break collection
Referenced by CBreakCollection(), CHitBorders::GetBorderIndicesString(), CHitBorders::GetBorderIndicesStringVector(), and CHitBorders::RegisterBreak().
FILE* CHitBorders::CBreakCollection::m_FileForIndexing [mutable] |
a file for temporally storing breaks during indexing
Referenced by CHitBorders::AddBreakByIndex(), CBreakCollection(), CloseFileForIndexing(), and CHitBorders::StartIndexing().
the breaks themselves
Referenced by ClearAll(), ReadFromDisk(), and CHitBorders::UniteBorders().