ddc
Classes | Typedefs | Functions | Variables
abbrev.cpp File Reference
#include "StdGraph.h"
#include "GraphmatFile.h"
#include "abbrev.h"
#include "GraphanDicts.h"
#include "../CommonLib/util_classes.h"
Include dependency graph for abbrev.cpp:

Classes

struct  CStrToCompare
 

Typedefs

typedef vector< CAbbrev >::const_iterator abbrev_t
 

Functions

bool AbbrevIsEqualToString (const CAbbrevItem &X, const CStrToCompare &Str)
 
bool AbbrevIsGreaterThanString (const CAbbrevItem &X, const CStrToCompare &Str)
 
static bool ReadAbbrevationsFromOneFile (string FileName, vector< CAbbrev > &V, MorphLanguageEnum langua)
 
abbrev_t abbrev_lower_bound (abbrev_t _First, abbrev_t _Last, const CStrToCompare &_Val)
 

Variables

const char * NumberPlace = "/:D"
 

Typedef Documentation

◆ abbrev_t

typedef vector<CAbbrev>::const_iterator abbrev_t

Function Documentation

◆ AbbrevIsEqualToString()

bool AbbrevIsEqualToString ( const CAbbrevItem X,
const CStrToCompare Str 
)
inline

References abAny, abNumber, abString, abUpperCase, is_upper_alpha(), CAbbrevItem::m_ItemStr, CStrToCompare::m_Language, CStrToCompare::m_Str, CStrToCompare::m_StrLen, and CAbbrevItem::m_Type.

Referenced by CGraphmatFile::DealAbbrev().

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

◆ AbbrevIsGreaterThanString()

bool AbbrevIsGreaterThanString ( const CAbbrevItem X,
const CStrToCompare Str 
)

References CAbbrevItem::m_ItemStr, CStrToCompare::m_Str, and CStrToCompare::m_StrLen.

Referenced by abbrev_lower_bound().

Here is the caller graph for this function:

◆ ReadAbbrevationsFromOneFile()

static bool ReadAbbrevationsFromOneFile ( string  FileName,
vector< CAbbrev > &  V,
MorphLanguageEnum  langua 
)
static

References abAny, AbbrevSize, abNumber, abString, abUpperCase, CAbbrevItem::m_ItemStr, CAbbrevItem::m_Type, NumberPlace, RmlMakeUpper(), and Trim().

Referenced by CGraphanDicts::ReadAbbrevations().

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

◆ abbrev_lower_bound()

abbrev_t abbrev_lower_bound ( abbrev_t  _First,
abbrev_t  _Last,
const CStrToCompare _Val 
)

References AbbrevIsGreaterThanString().

Referenced by CGraphmatFile::DealAbbrev().

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

Variable Documentation

◆ NumberPlace

const char* NumberPlace = "/:D"