Public Member Functions | Public Attributes | Private Attributes

TRoss Class Reference

#include <Ross.h>

Inheritance diagram for TRoss:
Inheritance graph
[legend]
Collaboration diagram for TRoss:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Public Attributes

Private Attributes


Constructor & Destructor Documentation

TRoss::TRoss ( BYTE  MaxNumDom  ) 
TRoss::~TRoss (  ) 

References TCortegeContainer::ClearCorteges(), TItemContainer::ClearFields(), ClearUnits(), and TItemContainer::m_Domens.

Here is the call graph for this function:


Member Function Documentation

bool TRoss::FullLoad ( const char *  _RossPath  ) 

References BuildCorteges(), BuildUnits(), CortegeFile, LoadOnlyConstants(), TItemContainer::m_LastError, MakePath(), TItemContainer::RossPath, and UnitsFile.

Referenced by CDictionary::Load().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TRoss::LoadOnlyConstants ( const char *  _RossPath  ) 
bool TRoss::Save (  ) 
void TRoss::BuildUnits (  ) 

References ClearUnits(), IsBinFile(), m_Units, and UnitsFile.

Referenced by FullLoad().

Here is the call graph for this function:

Here is the caller graph for this function:

WORD TRoss::GetUnitsSize (  )  const [inline]

References m_Units.

Referenced by CGraphanDicts::BuildOborottos().

Here is the caller graph for this function:

bool TRoss::ClearUnits (  ) 

References m_Units.

Referenced by BuildUnits(), and ~TRoss().

Here is the caller graph for this function:

void TRoss::ClearUnit ( WORD  UnitNo  ) 

References DelCorteges(), InitialEndPos, InitialStartPos, and m_Units.

Referenced by CDictionary::ProcessOneArticle().

Here is the call graph for this function:

Here is the caller graph for this function:

void TRoss::DelUnit ( vector< CStructEntry >::iterator  It  ) 

References DelCorteges(), m_UnitComments, and m_Units.

Here is the call graph for this function:

WORD TRoss::LocateUnit ( const char *  EntryStr,
int  MeanNum 
) const

References ErrUnitNo, and m_Units.

Referenced by CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

WORD TRoss::GetSelectedUnitNo ( WORD  i  )  const

References m_Units.

WORD TRoss::GetSelectedUnitsSize (  )  const

References m_Units.

WORD TRoss::InsertUnit ( CStructEntry T  ) 

References InsertUnitComment(), CStructEntry::m_EntryId, m_UnitComments, and m_Units.

Referenced by InsertUnit(), and CDictionary::ProcessOneArticle().

Here is the call graph for this function:

Here is the caller graph for this function:

WORD TRoss::InsertUnit ( const char *  EntryStr,
BYTE  MeanNum 
)

References InsertUnit(), CStructEntry::m_AuthorStr, CStructEntry::m_EntryStr, and CStructEntry::m_MeanNum.

Here is the call graph for this function:

WORD TRoss::UnitsLowerBound ( const char *  EntryStr  )  const [inline]

References m_Units.

bool TRoss::ReadUnitComments (  ) 
WORD TRoss::InsertUnitComment ( WORD  m_EntryId  ) 

References TItemContainer::ErrorMessage(), TUnitComment::m_EntryId, and m_UnitComments.

Referenced by EstablishOneToOneCorrespondenceBetweenEntriesAndComments(), and InsertUnit().

Here is the call graph for this function:

Here is the caller graph for this function:

TUnitComment * TRoss::GetCommentsByUnitId ( WORD  m_EntryId  ) 
const TUnitComment * TRoss::GetCommentsByUnitId ( WORD  EntryId  )  const

References m_UnitComments.

bool TRoss::BuildCorteges (  ) 

References TCortegeContainer::ClearCorteges(), CortegeFile, IsBinFile(), and TCortegeContainer::ReadCorteges().

Referenced by FullLoad().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TRoss::UpdateSignatsOfTheFieldInCorteges ( BYTE  FieldNo,
vector< CSignat > &  Signats 
) [virtual]
void TRoss::DelCorteges ( size_t  start,
size_t  last 
)

References TCortegeContainer::EraseCorteges(), and m_Units.

Referenced by ClearUnit(), DelDomItem(), DelUnit(), and CTempArticle::WriteToDictionary().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TRoss::ReadFromStrWithOneSignatura ( const char *  s,
TCortege10 C,
BYTE  SignatNo 
)
bool TRoss::ReadFromStr ( const char *  s,
TCortege10 C 
)

References TItemContainer::Fields, TBasicCortege< MaxNumDom >::m_FieldNo, ReadFromStrWithOneSignatura(), and TBasicCortege< MaxNumDom >::SetSignatNo().

Referenced by CTempArticle::AddCortegeToVector().

Here is the call graph for this function:

Here is the caller graph for this function:

void TRoss::WriteToStr ( const int *  Items,
const char *  Frmt,
char *  OutBuffer 
) const

References TItemContainer::GetDomItemStr(), and TItemContainer::m_DomItems.

Referenced by CortegeToStr().

Here is the call graph for this function:

Here is the caller graph for this function:

void TRoss::CortegeToStr ( const TCortege10 C,
char *  OutBuffer 
) const
bool TRoss::InsertDomItem ( const char *  ItemStr,
BYTE  DomNo,
int &  ItemNo 
)
void TRoss::DelDomItem ( int  ItemNo  ) 
const char * TRoss::GetTitleFieldName (  )  const

References TItemContainer::m_bRussianFields.

Referenced by GetUnitTextHeader(), and CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

const char * TRoss::GetSenseFieldName (  )  const

References TItemContainer::m_bRussianFields.

Referenced by GetUnitTextHeader(), and CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

const char * TRoss::GetCommFieldName (  )  const

References TItemContainer::m_bRussianFields.

Referenced by GetUnitTextHeader(), and CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

const char * TRoss::GetAuthorFieldName (  )  const

References TItemContainer::m_bRussianFields.

Referenced by GetUnitTextHeader(), and CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

const char * TRoss::GetTimeCreatFieldName (  )  const

References TItemContainer::m_bRussianFields.

Referenced by GetUnitTextHeader(), and CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

const char * TRoss::GetRedactFieldName (  )  const

References TItemContainer::m_bRussianFields.

Referenced by GetUnitTextHeader(), and CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

void TRoss::SetUnitCommentStr ( WORD  UnitNo,
const char *  Str 
)

References TUnitComment::Comments, GetCommentsByUnitId(), m_Units, and UnitCommentSize.

Referenced by CDictionary::ProcessOneArticle().

Here is the call graph for this function:

Here is the caller graph for this function:

void TRoss::SetUnitAuthor ( WORD  UnitNo,
const char *  Author 
)

References AuthorNameSize, and m_Units.

Referenced by CDictionary::ProcessOneArticle().

Here is the caller graph for this function:

void TRoss::SetUnitModifTimeStr ( WORD  UnitNo,
const char *  TimeStr 
)

References TItemContainer::ErrorMessage(), GetCommentsByUnitId(), m_Units, TUnitComment::modif_tm, and Str2Tm().

Referenced by CDictionary::ProcessOneArticle().

Here is the call graph for this function:

Here is the caller graph for this function:

void TRoss::SetUnitEditor ( WORD  UnitNo,
const char *  Editor 
)

References TUnitComment::Editor, TItemContainer::ErrorMessage(), GetCommentsByUnitId(), and m_Units.

Referenced by CDictionary::ProcessOneArticle().

Here is the call graph for this function:

Here is the caller graph for this function:

string TRoss::GetUnitModifTimeStr ( WORD  UnitNo  )  const

References TItemContainer::ErrorMessage(), GetCommentsByUnitId(), m_Units, and TUnitComment::modif_tm.

Referenced by GetUnitTextHeader().

Here is the call graph for this function:

Here is the caller graph for this function:

string TRoss::GetUnitTextHeader ( WORD  UnitNo  )  const
bool TRoss::ReadConfig (  ) 

References ConfigFile, m_DictName, m_MaxMeanNum, TCortegeContainer::m_MaxNumDom, and Trim().

Referenced by LoadOnlyConstants().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

char TRoss::UnitsFile[_MAX_PATH] [private]
char TRoss::CortegeFile[_MAX_PATH] [private]
char TRoss::ConfigFile[_MAX_PATH] [private]

Referenced by LoadOnlyConstants(), and ReadConfig().

Referenced by ReadConfig().

Referenced by ReadUnitComments(), Save(), and TRoss().


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