ddc
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CGraLine Class Reference

#include <graline.h>

Public Member Functions

 CGraLine ()
 
BYTE GetTokenLength () const
 
const char * GetToken () const
 
BYTE GetScreenLength () const
 
DWORD GetInputOffset () const
 
QWORD GetDescriptors () const
 
bool IsNotPrint () const
 
bool IsSpace () const
 
bool IsEOLN () const
 
bool IsSoft () const
 
bool IsPunct () const
 
bool IsIdent () const
 
bool IsEnglishName () const
 
bool IsGrouped () const
 
bool IsAbbreviation () const
 
bool IsParagraphChar () const
 
bool IsPageBreak () const
 
bool IsTextAreaEnd () const
 
bool IsElectronicAddress () const
 
bool IsParagraphTag () const
 
bool IsKeyModifier () const
 
bool IsChar (int c) const
 
bool IsAsterisk () const
 
bool HasSingleSpaceAfter () const
 
bool HasMacroSyntaxDelimiter () const
 
bool IsWordOrNumberOrAbbr () const
 
void SetSpace ()
 
void SetPunct ()
 
void SetEOLN ()
 
void SetNotPrint ()
 
void SetParagraphChar ()
 
void SetParagraphTag ()
 
void SetKeyModifier ()
 
void SetSingleSpaceAfter ()
 
void SetIdent ()
 
void SetElectronicAddress ()
 
void SetPageBreak ()
 
void SetTextAreaEnd ()
 
void SetEnglishName ()
 
void DelDes (Descriptors d)
 
void SetDes (Descriptors d)
 
void AddStatus (WORD add_state)
 
void SetToken (const char *)
 
size_t ReadWord (size_t Offset, const CGraphmatFile *G, DWORD &PageNumber)
 
bool IsSingleSpaceToDelete () const
 

Private Member Functions

size_t LengthUntilDelimiters (const char *s, const CGraphmatFile *G)
 

Private Attributes

const char * unit
 
BYTE slen
 
BYTE ulen
 
QWORD m_Descriptors
 
WORD m_Status
 
DWORD m_InputOffset
 

Constructor & Destructor Documentation

◆ CGraLine()

CGraLine::CGraLine ( )

Member Function Documentation

◆ LengthUntilDelimiters()

size_t CGraLine::LengthUntilDelimiters ( const char *  s,
const CGraphmatFile G 
)
private

◆ GetTokenLength()

BYTE CGraLine::GetTokenLength ( ) const
inline

◆ GetToken()

const char* CGraLine::GetToken ( ) const
inline

Referenced by CGraphmatFile::GetGraphematicalLine(), CGraphmatFile::InitNonContextDescriptors(), and IsSingleSpaceToDelete().

Here is the caller graph for this function:

◆ GetScreenLength()

BYTE CGraLine::GetScreenLength ( ) const
inline

◆ GetInputOffset()

DWORD CGraLine::GetInputOffset ( ) const
inline

Referenced by CGraphmatFile::GetGraphematicalLine(), and CGraphmatFile::InitContextDescriptors().

Here is the caller graph for this function:

◆ GetDescriptors()

QWORD CGraLine::GetDescriptors ( ) const
inline

Referenced by CGraphmatFile::GetGraphematicalLine(), and CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsNotPrint()

bool CGraLine::IsNotPrint ( ) const

References m_Status, and stNotPrint.

Referenced by CGraphmatFile::GetGraphematicalLine(), and CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsSpace()

bool CGraLine::IsSpace ( ) const
inline

References stSpace.

Referenced by CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsEOLN()

bool CGraLine::IsEOLN ( ) const
inline

References stEOLN.

Referenced by CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsSoft()

bool CGraLine::IsSoft ( ) const
inline

Referenced by CGraphmatFile::GetGraphematicalLine().

Here is the caller graph for this function:

◆ IsPunct()

bool CGraLine::IsPunct ( ) const
inline

References stPunct.

Referenced by CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsIdent()

bool CGraLine::IsIdent ( ) const

References m_Status, and stIdent.

Referenced by CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsEnglishName()

bool CGraLine::IsEnglishName ( ) const

References m_Status, and stEnglishName.

◆ IsGrouped()

bool CGraLine::IsGrouped ( ) const

References m_Status, and stGrouped.

◆ IsAbbreviation()

bool CGraLine::IsAbbreviation ( ) const

References m_Status, and stAbbreviation.

◆ IsParagraphChar()

bool CGraLine::IsParagraphChar ( ) const

References m_Status, and stParagraphChar.

Referenced by CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsPageBreak()

bool CGraLine::IsPageBreak ( ) const

References m_Status, and stPageBreak.

Referenced by CGraphmatFile::GetGraphematicalLine(), and CGraphmatFile::GraphmatMain().

Here is the caller graph for this function:

◆ IsTextAreaEnd()

bool CGraLine::IsTextAreaEnd ( ) const

References m_Status, and stTextAreaEnd.

◆ IsElectronicAddress()

bool CGraLine::IsElectronicAddress ( ) const

References m_Status, and stElectronicAddress.

Referenced by CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ IsParagraphTag()

bool CGraLine::IsParagraphTag ( ) const

References m_Status, and stParagraphTag.

Referenced by CGraphmatFile::GetGraphematicalLine(), and ReadWord().

Here is the caller graph for this function:

◆ IsKeyModifier()

bool CGraLine::IsKeyModifier ( ) const

References m_Status, and stKeyModifier.

◆ IsChar()

bool CGraLine::IsChar ( int  c) const

References ulen, and unit.

Referenced by IsAsterisk().

Here is the caller graph for this function:

◆ IsAsterisk()

bool CGraLine::IsAsterisk ( ) const

References IsChar().

Here is the call graph for this function:

◆ HasSingleSpaceAfter()

bool CGraLine::HasSingleSpaceAfter ( ) const

References m_Status, and stSingleSpaceAfter.

◆ HasMacroSyntaxDelimiter()

bool CGraLine::HasMacroSyntaxDelimiter ( ) const

◆ IsWordOrNumberOrAbbr()

bool CGraLine::IsWordOrNumberOrAbbr ( ) const

References _QM, m_Descriptors, OAbbr1, ODigits, OLLE, ONumChar, and ORLE.

◆ SetSpace()

void CGraLine::SetSpace ( )

References m_Status, and stSpace.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetPunct()

void CGraLine::SetPunct ( )

References m_Status, and stPunct.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetEOLN()

void CGraLine::SetEOLN ( )

References m_Status, and stEOLN.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetNotPrint()

void CGraLine::SetNotPrint ( )

References m_Status, and stNotPrint.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetParagraphChar()

void CGraLine::SetParagraphChar ( )

References m_Status, and stParagraphChar.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetParagraphTag()

void CGraLine::SetParagraphTag ( )

References m_Status, and stParagraphTag.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetKeyModifier()

void CGraLine::SetKeyModifier ( )

References m_Status, and stKeyModifier.

Referenced by LengthUntilDelimiters().

Here is the caller graph for this function:

◆ SetSingleSpaceAfter()

void CGraLine::SetSingleSpaceAfter ( )

References m_Status, and stSingleSpaceAfter.

Referenced by CGraphmatFile::GraphmatMain().

Here is the caller graph for this function:

◆ SetIdent()

void CGraLine::SetIdent ( )

References m_Status, and stIdent.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetElectronicAddress()

void CGraLine::SetElectronicAddress ( )

References m_Status, and stElectronicAddress.

Referenced by LengthUntilDelimiters().

Here is the caller graph for this function:

◆ SetPageBreak()

void CGraLine::SetPageBreak ( )

References m_Status, and stPageBreak.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetTextAreaEnd()

void CGraLine::SetTextAreaEnd ( )

References m_Status, and stTextAreaEnd.

Referenced by ReadWord().

Here is the caller graph for this function:

◆ SetEnglishName()

void CGraLine::SetEnglishName ( )

References m_Status, and stEnglishName.

Referenced by InitEnglishNameSlot().

Here is the caller graph for this function:

◆ DelDes()

void CGraLine::DelDes ( Descriptors  d)

References _QM, and m_Descriptors.

◆ SetDes()

void CGraLine::SetDes ( Descriptors  d)

References _QM, and m_Descriptors.

Referenced by CGraphmatFile::InitNonContextDescriptors().

Here is the caller graph for this function:

◆ AddStatus()

void CGraLine::AddStatus ( WORD  add_state)

References m_Status.

◆ SetToken()

void CGraLine::SetToken ( const char *  s)

References unit.

Referenced by CGraphmatFile::GraphmatMain().

Here is the caller graph for this function:

◆ ReadWord()

size_t CGraLine::ReadWord ( size_t  Offset,
const CGraphmatFile G,
DWORD PageNumber 
)

◆ IsSingleSpaceToDelete()

bool CGraLine::IsSingleSpaceToDelete ( ) const

References GetToken(), GetTokenLength(), m_Status, and stSpace.

Referenced by CGraphmatFile::GraphmatMain().

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

Member Data Documentation

◆ unit

const char* CGraLine::unit
private

Referenced by CGraLine(), IsChar(), ReadWord(), and SetToken().

◆ slen

BYTE CGraLine::slen
private

Referenced by CGraLine(), and ReadWord().

◆ ulen

BYTE CGraLine::ulen
private

Referenced by CGraLine(), IsChar(), and ReadWord().

◆ m_Descriptors

QWORD CGraLine::m_Descriptors
private

◆ m_Status

WORD CGraLine::m_Status
private

◆ m_InputOffset

DWORD CGraLine::m_InputOffset
private

Referenced by CGraLine(), and ReadWord().


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