#include <ItemsContainer.h>
TItemContainer::TItemContainer | ( | ) |
References m_Language, and m_Russian2EnglishFields.
const char* TItemContainer::GetDomItemStr | ( | const TDomItem & | Item | ) | const [inline] |
References TDomItem::GetDomNo(), TDomItem::GetItemStrNo(), and m_Domens.
Referenced by AreEqualDomItems(), IsLessByNotStableItemStrNew::operator()(), IsLessByItemStrNew::operator()(), UpdateConstDomens(), and TRoss::WriteToStr().
void TItemContainer::ErrorMessage | ( | string | s | ) | const |
References RossPath.
Referenced by CDictionary::AddField(), CDictionary::GetUnitEditor(), TRoss::GetUnitModifTimeStr(), TRoss::InsertUnitComment(), CDictionary::Load(), TRoss::ReadUnitComments(), TRoss::SetUnitEditor(), and TRoss::SetUnitModifTimeStr().
bool TItemContainer::InitDomensConsts | ( | ) |
References AbbrDomNo, ActantsDomNo, CollocDomNo, EmptyDomNo, ErrUChar, FieldDomNo, GetDomenNoByDomStr(), IntegerDomNo, LexDomNo, LexPlusDomNo, and TitleDomNo.
Referenced by BuildDomens().
int TItemContainer::GetItemNoByItemStr | ( | const char * | ItemStr, | |
BYTE | DomNo | |||
) | const |
References AreEqualDomItems(), TDomNoItemStr::DomNo, dsUnion, ErrUChar, GetDomNoForLePlus(), CDomen::IsDelim, TDomNoItemStr::ItemStr, LexPlusDomNo, m_Domens, m_DomItems, CDomen::m_Items, CDomen::m_ItemsLength, CDomen::Parts, CDomen::PartsSize, and CDomen::Source.
Referenced by GetItemNoByItemStr(), and TRoss::ReadFromStrWithOneSignatura().
int TItemContainer::GetItemNoByItemStr | ( | const char * | ItemStr, | |
const char * | DomStr | |||
) | const [inline] |
References ErrUChar, GetDomenNoByDomStr(), and GetItemNoByItemStr().
BYTE TItemContainer::GetDomenNoByDomStr | ( | const char * | DomStr | ) | const |
References ErrUChar, and m_Domens.
Referenced by BuildOneFieldFormat(), GetItemNoByItemStr(), InitDomensConsts(), TRoss::ReadFromStrWithOneSignatura(), and UpdateConstDomens().
bool TItemContainer::AreEqualDomItems | ( | const TDomItem & | Item1, | |
const TDomNoItemStr & | Item2 | |||
) | const |
References TDomNoItemStr::DomNo, GetDomItemStr(), TDomItem::GetDomNo(), and TDomNoItemStr::ItemStr.
Referenced by GetItemNoByItemStr().
void TItemContainer::UpdateConstDomens | ( | ) |
References dsUnion, EmptyDomNo, GetDomenNoByDomStr(), GetDomItemStr(), m_Domens, m_DomItems, CDomen::m_EndDomItem, CDomen::m_StartDomItem, MaxDomensUnionSize, CDomen::Parts, CDomen::PartsSize, CDomen::Source, and WildCardDomItemNo.
Referenced by BuildDomItems().
bool TItemContainer::BuildDomens | ( | char * | LastReadLine | ) |
References DomensFile, dsExpres, ErrUChar, Format(), InitDomensConsts(), m_Domens, rtrim(), and StringTokenizer::val().
Referenced by TRoss::LoadOnlyConstants().
bool TItemContainer::BuildDomItems | ( | ) |
References DomItemsTextFile, ItemsFile, m_bDontLoadExamples, TDomItem::m_Data, m_Domens, m_DomItems, TDomItem::m_DomNo, CDomen::m_EndDomItem, CDomen::m_StartDomItem, UpdateConstDomens(), and StringTokenizer::val().
Referenced by TRoss::LoadOnlyConstants().
BYTE TItemContainer::GetDomNoForLePlus | ( | const char * | s | ) | const |
References AbbrDomNo, CanBeRusAbbr(), CanBeRusColloc(), CollocDomNo, ErrUChar, IntegerDomNo, IsStandardRusLexeme(), LexDomNo, and LexPlusDomNo.
Referenced by GetItemNoByItemStr(), and TRoss::InsertDomItem().
bool TItemContainer::IsStandardRusLexeme | ( | const char * | s | ) | const |
References is_russian_alpha().
Referenced by GetDomNoForLePlus(), and TRoss::InsertDomItem().
bool TItemContainer::CanBeRusAbbr | ( | const char * | s | ) | const [inline] |
References is_lower_alpha(), is_russian_alpha(), is_russian_upper(), and m_Language.
Referenced by GetDomNoForLePlus().
bool TItemContainer::CanBeRusColloc | ( | const char * | s | ) | const [inline] |
References is_russian_alpha().
Referenced by GetDomNoForLePlus().
BYTE TItemContainer::GetFieldNoByFieldStrInner | ( | const char * | FieldStr | ) | const |
References ErrUChar, and Fields.
Referenced by CDictionary::GetFieldNoByFieldStr(), and CTempArticle::MarkUp().
bool TItemContainer::ClearFields | ( | ) |
References Fields.
Referenced by BuildFields(), and TRoss::~TRoss().
bool TItemContainer::BuildFields | ( | BYTE | MaxNumDom | ) |
References BuildFormats(), ClearFields(), ErrUChar, Fields, FieldsFile, CSignat::FormatName, CSignat::FormatStr, m_LastError, CSignat::OrderNo, rtrim(), CSignat::SignatId, and StringTokenizer::val().
Referenced by TRoss::LoadOnlyConstants().
bool TItemContainer::WriteFields | ( | ) | const |
References Fields, and FieldsFile.
Referenced by TRoss::Save().
bool TItemContainer::BuildFormats | ( | BYTE | MaxNumDom | ) |
References BuildOneFieldFormat(), Fields, m_LastError, and UpdateSignatsOfTheFieldInCorteges().
Referenced by BuildFields().
bool TItemContainer::BuildOneFieldFormat | ( | CSignat & | Sgn, | |
char * | Frmt, | |||
char * | Name, | |||
BYTE | MaxNumDom | |||
) |
References CSignat::Doms, DomStrSize, CSignat::DomsWithDelims, dsSystem, ErrUChar, Format(), GetDomenNoByDomStr(), m_Domens, m_LastError, CSignat::sFrmt, CSignat::sFrmtWithotSpaces, and StringTokenizer::val().
Referenced by BuildFormats().
bool TItemContainer::WriteDomens | ( | ) | const |
References DomensFile, Format(), and m_Domens.
Referenced by TRoss::Save().
size_t TItemContainer::GetDomItemsSize | ( | ) | const [inline] |
References m_DomItems.
Referenced by CDictionary::ImportFromText().
bool TItemContainer::WriteDomItems | ( | ) | const |
References DomItemsTextFile, ItemsFile, m_Domens, and m_DomItems.
Referenced by TRoss::Save().
Referenced by CanBeRusAbbr(), and TItemContainer().
Referenced by ErrorMessage(), TRoss::FullLoad(), TRoss::LoadOnlyConstants(), and TRoss::ReadUnitComments().
vector<TDomItem> TItemContainer::m_DomItems |
Referenced by BuildDomItems(), TRoss::LoadOnlyConstants(), and WriteDomItems().
Referenced by BuildDomItems(), TRoss::LoadOnlyConstants(), and WriteDomItems().
vector<CDomen> TItemContainer::m_Domens |
Referenced by BuildDomens(), TRoss::LoadOnlyConstants(), and WriteDomens().
vector<CField> TItemContainer::Fields |
Referenced by CTempArticle::AddCortegeToVector(), CDictionary::AddField(), BuildFields(), BuildFormats(), CTempArticle::CheckCortegeVector(), ClearFields(), CTempArticle::ConstructFldName(), TRoss::CortegeToStr(), GetFieldNoByFieldStrInner(), CTempArticle::PutCortegeOnTheRigthPosition(), TRoss::ReadFromStr(), TRoss::ReadFromStrWithOneSignatura(), TRoss::UpdateSignatsOfTheFieldInCorteges(), and WriteFields().
Referenced by BuildFields(), TRoss::LoadOnlyConstants(), and WriteFields().
Referenced by BuildDomItems(), and TRoss::TRoss().
map<string,string> TItemContainer::m_Russian2EnglishFields |
Referenced by TItemContainer().
Referenced by InitDomensConsts().
Referenced by GetDomNoForLePlus(), InitDomensConsts(), and TRoss::InsertDomItem().
Referenced by InitDomensConsts(), and TRoss::InsertDomItem().
Referenced by GetDomNoForLePlus(), and InitDomensConsts().
Referenced by GetDomNoForLePlus(), and InitDomensConsts().
Referenced by CDictionary::AddField(), and InitDomensConsts().
Referenced by InitDomensConsts(), and UpdateConstDomens().
Referenced by GetDomNoForLePlus(), and InitDomensConsts().
Referenced by CTempArticle::IsPartOf(), TRoss::ReadFromStrWithOneSignatura(), and UpdateConstDomens().
string TItemContainer::m_LastError |