ddc
Classes | Public Member Functions | Public Attributes | List of all members
CGraphanDicts Class Reference

#include <GraphanDicts.h>

Collaboration diagram for CGraphanDicts:
Collaboration graph
[legend]

Classes

struct  CSpacedWord
 

Public Member Functions

 CGraphanDicts (MorphLanguageEnum Language)
 
 ~CGraphanDicts ()
 
bool ReadSpaces (string FileName)
 
const char * SearchSpace (const char *In, int *len) const
 
bool FindInIdents (const char *s, BYTE &ResultLen) const
 
bool ReadIdents (string FileName)
 
bool ReadENames (string FileName)
 
const CDictionaryGetOborDic () const
 
void BuildOborot (const string &s, int OborotNo)
 
void BuildOborottos ()
 
bool ReadAbbrevations ()
 
bool IsRegisteredKeyModifier (const char *Str, size_t Len) const
 
bool ReadKeyboard (string FileName)
 
bool IsExtension (const char *UpperStr, BYTE Len) const
 
bool ReadExtensions (string FileName)
 

Public Attributes

MorphLanguageEnum m_Language
 
vector< CSpacedWordm_Spaces
 
StringVector m_Idents [256]
 
vector< CEnglishNamem_EnglishNames
 
PtrHolder< CDictionarym_pOborDic
 
map< WORD, vector< WORD > > m_OborottosFirstWordIndex
 
vector< CGraphemOborotm_Oborottos
 
StringVector m_OborotTokens
 
vector< CAbbrevm_Abbrevs
 
StringVector m_KeyModifiers
 
StringVector m_Keys
 
StringVector m_Extensions
 

Constructor & Destructor Documentation

◆ CGraphanDicts()

CGraphanDicts::CGraphanDicts ( MorphLanguageEnum  Language)

References m_Language.

◆ ~CGraphanDicts()

CGraphanDicts::~CGraphanDicts ( )

Member Function Documentation

◆ ReadSpaces()

bool CGraphanDicts::ReadSpaces ( string  FileName)

References m_Language, CGraphanDicts::CSpacedWord::m_SpacedWord, CGraphanDicts::CSpacedWord::m_SpacedWordLen, m_Spaces, MOpen(), morphUnknown, RD_MODE, and rtrim().

Referenced by CGraphmatFile::LoadDicts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SearchSpace()

const char * CGraphanDicts::SearchSpace ( const char *  In,
int *  len 
) const

References m_Language, m_Spaces, and StrSpacingCompare().

Referenced by CGraLine::ReadWord().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindInIdents()

bool CGraphanDicts::FindInIdents ( const char *  s,
BYTE ResultLen 
) const

References CompareWithoutRegister(), m_Idents, and morphEnglish.

Referenced by CGraLine::ReadWord().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadIdents()

bool CGraphanDicts::ReadIdents ( string  FileName)

References m_Idents, m_Language, MaxNameSize, MOpen(), morphUnknown, RD_MODE, ReverseChar(), and Trim().

Referenced by CGraphmatFile::LoadDicts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadENames()

bool CGraphanDicts::ReadENames ( string  FileName)

References m_EnglishNames, m_Language, MaxNameSize, MOpen(), morphUnknown, CEnglishName::name, RD_MODE, and RmlMakeUpper().

Referenced by CGraphmatFile::LoadDicts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOborDic()

const CDictionary* CGraphanDicts::GetOborDic ( ) const
inline

References PtrHolder< T >::Get().

Here is the call graph for this function:

◆ BuildOborot()

void CGraphanDicts::BuildOborot ( const string &  s,
int  OborotNo 
)

References ErrorMessage(), CGraphemOborot::m_UnitNo, CGraphemOborot::m_UnitStr, and NormalizeOborotStr().

Here is the call graph for this function:

◆ BuildOborottos()

void CGraphanDicts::BuildOborottos ( )

References BuildOborottosIndex(), ErrorMessage(), and Format().

Referenced by CGraphmatFile::LoadDicts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadAbbrevations()

bool CGraphanDicts::ReadAbbrevations ( )

References GetRegistryString(), CStrToCompare::m_Language, MakeFName(), morphGerman, and ReadAbbrevationsFromOneFile().

Referenced by CGraphmatFile::LoadDicts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsRegisteredKeyModifier()

bool CGraphanDicts::IsRegisteredKeyModifier ( const char *  Str,
size_t  Len 
) const

References m_KeyModifiers.

Referenced by CGraLine::LengthUntilDelimiters().

Here is the caller graph for this function:

◆ ReadKeyboard()

bool CGraphanDicts::ReadKeyboard ( string  FileName)

References CStrToCompare::m_Language, RmlMakeUpper(), and rtrim().

Referenced by CGraphmatFile::LoadDicts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsExtension()

bool CGraphanDicts::IsExtension ( const char *  UpperStr,
BYTE  Len 
) const

References m_Extensions.

Referenced by CGraphmatFile::DealExtensionsAndLocalFileNames().

Here is the caller graph for this function:

◆ ReadExtensions()

bool CGraphanDicts::ReadExtensions ( string  FileName)

References EngRusMakeUpper(), and rtrim().

Referenced by CGraphmatFile::LoadDicts().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_Language

MorphLanguageEnum CGraphanDicts::m_Language

◆ m_Spaces

vector<CSpacedWord> CGraphanDicts::m_Spaces

Referenced by ReadSpaces(), and SearchSpace().

◆ m_Idents

StringVector CGraphanDicts::m_Idents[256]

Referenced by FindInIdents(), and ReadIdents().

◆ m_EnglishNames

vector<CEnglishName> CGraphanDicts::m_EnglishNames

Referenced by InitEnglishNameSlot(), and ReadENames().

◆ m_pOborDic

PtrHolder<CDictionary> CGraphanDicts::m_pOborDic

◆ m_OborottosFirstWordIndex

map<WORD, vector<WORD> > CGraphanDicts::m_OborottosFirstWordIndex

◆ m_Oborottos

vector<CGraphemOborot> CGraphanDicts::m_Oborottos

◆ m_OborotTokens

StringVector CGraphanDicts::m_OborotTokens

◆ m_Abbrevs

vector<CAbbrev> CGraphanDicts::m_Abbrevs

◆ m_KeyModifiers

StringVector CGraphanDicts::m_KeyModifiers

Referenced by IsRegisteredKeyModifier().

◆ m_Keys

StringVector CGraphanDicts::m_Keys

Referenced by CGraphmatFile::IsKey().

◆ m_Extensions

StringVector CGraphanDicts::m_Extensions

Referenced by IsExtension().


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