Public Member Functions | Public Attributes

TItemContainer Class Reference

#include <ItemsContainer.h>

Inheritance diagram for TItemContainer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

TItemContainer::TItemContainer (  ) 

Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void TItemContainer::ErrorMessage ( string  s  )  const
bool TItemContainer::InitDomensConsts (  ) 

References AbbrDomNo, ActantsDomNo, CollocDomNo, EmptyDomNo, ErrUChar, FieldDomNo, GetDomenNoByDomStr(), IntegerDomNo, LexDomNo, LexPlusDomNo, and TitleDomNo.

Referenced by BuildDomens().

Here is the call graph for this function:

Here is the caller graph for this function:

int TItemContainer::GetItemNoByItemStr ( const char *  ItemStr,
BYTE  DomNo 
) const
int TItemContainer::GetItemNoByItemStr ( const char *  ItemStr,
const char *  DomStr 
) const [inline]

References ErrUChar, GetDomenNoByDomStr(), and GetItemNoByItemStr().

Here is the call graph for this function:

BYTE TItemContainer::GetDomenNoByDomStr ( const char *  DomStr  )  const

References ErrUChar, and m_Domens.

Referenced by BuildOneFieldFormat(), GetItemNoByItemStr(), InitDomensConsts(), TRoss::ReadFromStrWithOneSignatura(), and UpdateConstDomens().

Here is the caller graph for this function:

bool TItemContainer::AreEqualDomItems ( const TDomItem Item1,
const TDomNoItemStr Item2 
) const

References TDomNoItemStr::DomNo, GetDomItemStr(), TDomItem::GetDomNo(), and TDomNoItemStr::ItemStr.

Referenced by GetItemNoByItemStr().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TItemContainer::BuildDomens ( char *  LastReadLine  ) 

References DomensFile, dsExpres, ErrUChar, Format(), InitDomensConsts(), m_Domens, rtrim(), and StringTokenizer::val().

Referenced by TRoss::LoadOnlyConstants().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

BYTE TItemContainer::GetDomNoForLePlus ( const char *  s  )  const

References AbbrDomNo, CanBeRusAbbr(), CanBeRusColloc(), CollocDomNo, ErrUChar, IntegerDomNo, IsStandardRusLexeme(), LexDomNo, and LexPlusDomNo.

Referenced by GetItemNoByItemStr(), and TRoss::InsertDomItem().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TItemContainer::IsStandardRusLexeme ( const char *  s  )  const

References is_russian_alpha().

Referenced by GetDomNoForLePlus(), and TRoss::InsertDomItem().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TItemContainer::CanBeRusAbbr ( const char *  s  )  const [inline]

References is_lower_alpha(), is_russian_alpha(), is_russian_upper(), and m_Language.

Referenced by GetDomNoForLePlus().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TItemContainer::CanBeRusColloc ( const char *  s  )  const [inline]

References is_russian_alpha().

Referenced by GetDomNoForLePlus().

Here is the call graph for this function:

Here is the caller graph for this function:

BYTE TItemContainer::GetFieldNoByFieldStrInner ( const char *  FieldStr  )  const

References ErrUChar, and Fields.

Referenced by CDictionary::GetFieldNoByFieldStr(), and CTempArticle::MarkUp().

Here is the caller graph for this function:

bool TItemContainer::ClearFields (  ) 

References Fields.

Referenced by BuildFields(), and TRoss::~TRoss().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TItemContainer::WriteFields (  )  const

References Fields, and FieldsFile.

Referenced by TRoss::Save().

Here is the caller graph for this function:

bool TItemContainer::BuildFormats ( BYTE  MaxNumDom  ) 

References BuildOneFieldFormat(), Fields, m_LastError, and UpdateSignatsOfTheFieldInCorteges().

Referenced by BuildFields().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool TItemContainer::UpdateSignatsOfTheFieldInCorteges ( BYTE  FieldNo,
vector< CSignat > &  Signats 
) [pure virtual]

Implemented in TRoss.

Referenced by BuildFormats().

Here is the caller graph for this function:

bool TItemContainer::WriteDomens (  )  const

References DomensFile, Format(), and m_Domens.

Referenced by TRoss::Save().

Here is the call graph for this function:

Here is the caller graph for this function:

size_t TItemContainer::GetDomItemsSize (  )  const [inline]

References m_DomItems.

Referenced by CDictionary::ImportFromText().

Here is the caller graph for this function:

bool TItemContainer::WriteDomItems (  )  const

References DomItemsTextFile, ItemsFile, m_Domens, and m_DomItems.

Referenced by TRoss::Save().

Here is the caller graph for this function:


Member Data Documentation

Referenced by CanBeRusAbbr(), and TItemContainer().

Referenced by BuildDomItems(), and TRoss::TRoss().

Referenced by TItemContainer().

Referenced by InitDomensConsts().


The documentation for this class was generated from the following files: