ddc
Public Member Functions | Public Attributes | List of all members
CGramInfo Struct Reference

CGramInfo represents one morphological pattern, for example "[SUB pl, sg]". More...

#include <GramInfo.h>

Public Member Functions

 CGramInfo ()
 
 CGramInfo (MorphLanguageEnum Language, DWORD PartOfSpeechMask, QWORD Grammems)
 
bool EqualOrLess (const CGramInfo &X) const
 
bool operator== (const CGramInfo &X) const
 
bool operator< (const CGramInfo &X) const
 
void AddGramInfo (const CGramInfo &X)
 
 CGramInfo ()
 
 CGramInfo (MorphLanguageEnum Language, DWORD PartOfSpeechMask, QWORD Grammems)
 

Public Attributes

MorphLanguageEnum m_Language
 the language of the pattern More...
 
DWORD m_PartOfSpeechMask
 the part of speech mask (SUB, ART,ADJ...) More...
 
QWORD m_Grammems
 morphological features (plu, sig, nom...) More...
 

Detailed Description

CGramInfo represents one morphological pattern, for example "[SUB pl, sg]".

Constructor & Destructor Documentation

◆ CGramInfo() [1/4]

CGramInfo::CGramInfo ( )
inline

References morphUnknown.

◆ CGramInfo() [2/4]

CGramInfo::CGramInfo ( MorphLanguageEnum  Language,
DWORD  PartOfSpeechMask,
QWORD  Grammems 
)
inline

References Grammems.

◆ CGramInfo() [3/4]

CGramInfo::CGramInfo ( )
inline

References morphUnknown.

◆ CGramInfo() [4/4]

CGramInfo::CGramInfo ( MorphLanguageEnum  Language,
DWORD  PartOfSpeechMask,
QWORD  Grammems 
)
inline

References Grammems.

Member Function Documentation

◆ EqualOrLess()

bool CGramInfo::EqualOrLess ( const CGramInfo X) const
inline

◆ operator==()

bool CGramInfo::operator== ( const CGramInfo X) const
inline

◆ operator<()

bool CGramInfo::operator< ( const CGramInfo X) const
inline

◆ AddGramInfo()

void CGramInfo::AddGramInfo ( const CGramInfo X)
inline

References m_Grammems, and m_PartOfSpeechMask.

Member Data Documentation

◆ m_Language

MorphLanguageEnum CGramInfo::m_Language

the language of the pattern

Referenced by EqualOrLess(), operator<(), operator==(), restore_from_bytes(), and save_to_bytes().

◆ m_PartOfSpeechMask

DWORD CGramInfo::m_PartOfSpeechMask

the part of speech mask (SUB, ART,ADJ...)

Referenced by AddGramInfo(), EqualOrLess(), get_size_in_bytes(), operator<(), operator==(), restore_from_bytes(), and save_to_bytes().

◆ m_Grammems

QWORD CGramInfo::m_Grammems

morphological features (plu, sig, nom...)

Referenced by AddGramInfo(), EqualOrLess(), get_size_in_bytes(), operator<(), operator==(), restore_from_bytes(), and save_to_bytes().


The documentation for this struct was generated from the following file: