Classes | Functions

Cs_hiera.cpp File Reference

#include "StdGraph.h"
#include "GraphmatFile.h"
#include "Consent.h"
Include dependency graph for Cs_hiera.cpp:

Classes

Functions


Function Documentation

bool ParagraphTagBeforeGraph ( const CGraphmatFile C,
size_t  i,
size_t  HB 
)

References CUnitHolder::GetUnits().

Referenced by RubiconText().

Here is the call graph for this function:

Here is the caller graph for this function:

RubiconEnum RubiconText ( const CGraphmatFile G,
size_t  i 
)

References CUnitHolder::EmptyLineBeforeGraph(), CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), CGraphmatFile::m_bEmptyLineIsSentenceDelim, OPar, ParagraphTagBeforeGraph(), and rPar.

Referenced by RecognizeSimpleCS().

Here is the call graph for this function:

Here is the caller graph for this function:

void RecognizeSimpleCS ( const CGraphmatFile G,
vector< CConSent > &  CSL,
size_t  LB,
size_t  HB,
RubiconEnum  LB_Rubicon,
RubiconEnum  HB_Rubicon 
)

References CConSent::m_EndNo, CConSent::m_LowerRubiconType, CConSent::m_StartNo, CConSent::m_UpperRubiconType, CUnitHolder::PSoft(), and RubiconText().

Referenced by RecognizeCS().

Here is the call graph for this function:

Here is the caller graph for this function:

void AdjustRubiconsInSpaceCompact ( const CGraphmatFile C,
size_t &  StartNo,
size_t &  EndNo 
) [inline]

References CUnitHolder::BSpace(), and CUnitHolder::PassSpace().

Referenced by RecognizeCS().

Here is the call graph for this function:

Here is the caller graph for this function:

void RecognizeCS ( const CGraphmatFile G,
vector< CConSent > &  CSL,
size_t  LB,
size_t  HB 
)

Второй этап слегка изменяет.

References AdjustRubiconsInSpaceCompact(), rBeg, RecognizeSimpleCS(), and rEnd.

Referenced by CGraphmatFile::MacSynHierarchy().

Here is the call graph for this function:

Here is the caller graph for this function:

CConSent InitDoc ( const CGraphmatFile GraFile  ) 
void LinkParat ( CSList List,
long  SentNo,
long  m_ParatTail 
)

References CS_Undef.

Referenced by SetMacroSyntDependcies().

Here is the caller graph for this function:

void SubdueSimilarField ( CSList List,
int  FieldNo,
long  m_HostNo 
)

Referenced by MakeObey().

Here is the caller graph for this function:

void SetDepthOfBullet ( CConSent C  ) 
bool HaveEquCase ( const CConSent CS1,
const CConSent CS2 
)

References CConSent::FirstChar(), is_german_lower(), is_german_upper(), is_russian_lower(), and is_russian_upper().

Referenced by SimilarBullets().

Here is the call graph for this function:

Here is the caller graph for this function:

bool SimilarBullets ( const CConSent CS1,
const CConSent CS2 
)
bool CanBeBrothers ( CConSent CS1,
CConSent CS2 
) [inline]

References CS_Heading, CConSent::IsBullet(), CConSent::m_Type, CConSent::m_UsualLawDocumentDivision, CConSent::None, and SimilarBullets().

Referenced by SetMacroSyntDependcies().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CanBeParataxed ( const CConSent CS  )  [inline]

References CS_Heading, CConSent::IsBullet(), CConSent::m_Type, and CConSent::m_UsualLawDocumentDivision.

Referenced by SetMacroSyntDependcies().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CanHaveBrotherAfterItself ( const CSList List,
long  SentNo 
) [inline]

References CS_Heading, CS_Parent, and CConSent::None.

Referenced by SetMacroSyntDependcies().

Here is the caller graph for this function:

bool CanBeHost ( const CConSent CS  )  [inline]

References CS_Heading, CS_Parent, CConSent::m_bConnected, and CConSent::m_Type.

Referenced by SetMacroSyntDependcies().

Here is the caller graph for this function:

void DelCS ( CSList List,
long  SentNo 
)

Referenced by GobbleNextCS().

Here is the caller graph for this function:

void GobbleNextCS ( CSList List,
long  SentNo 
)
void MakeObey ( CSList List,
long  SentNo,
long  m_HostNo 
) [inline]

References SubdueSimilarField().

Referenced by SetMacroSyntDependcies().

Here is the call graph for this function:

Here is the caller graph for this function:

void FindParents ( CSList List  ) 

References CS_Parent.

Referenced by CGraphmatFile::MacSynHierarchy().

Here is the caller graph for this function:

bool TestHeadingNumberOfLines ( int  x  )  [inline]
bool TestHeadinfLeftMargin ( int  x  )  [inline]
bool TestHeadingLastLetter ( int  ch  )  [inline]
bool TestHeadingFirstLetter ( int  ch,
const CGraphmatFile GraFile 
) [inline]

References CUnitHolder::is_lowercase().

Referenced by FindHeadings().

Here is the call graph for this function:

Here is the caller graph for this function:

void FindHeadings ( CSList List  ) 

References CS_Undef, CUnitHolder::HasDescr(), CConSent::None, OPar, rELine, and TestHeadingFirstLetter().

Referenced by CGraphmatFile::MacSynHierarchy().

Here is the call graph for this function:

Here is the caller graph for this function:

void FindExplanatory ( CSList List  ) 

References CS_Explan, CS_Heading, CS_Undef, OCls, OOpn, and OPun.

Referenced by CGraphmatFile::MacSynHierarchy().

Here is the caller graph for this function:

bool IsUpperRomanOne ( const CGraLine L  )  [inline]

References CGraLine::IsString().

Referenced by FindSimilarHeadings().

Here is the call graph for this function:

Here is the caller graph for this function:

void FindSimilarHeadings ( CSList List  ) 

References CS_Heading, IsUpperRomanOne(), SimilarBullets(), and strscmp().

Referenced by CGraphmatFile::MacSynHierarchy().

Here is the call graph for this function:

Here is the caller graph for this function:

void AssertValid ( CSList List  ) 
bool SetMacroSyntDependcies ( const CGraphmatFile G,
CSList List 
)

References CanBeBrothers(), CanBeHost(), CanBeParataxed(), CanHaveBrotherAfterItself(), LinkParat(), CGraphmatFile::m_bSubdueWrongMacroSynUnitToMainRoot, and MakeObey().

Referenced by CGraphmatFile::MacSynHierarchy().

Here is the call graph for this function:

Here is the caller graph for this function:

const char* GetEnglishTag ( Descriptors  D  ) 

References CS_Doc, CS_Explan, CS_Heading, and CS_Parent.

Referenced by PrintXmlSubtree().

Here is the caller graph for this function:

void PrintXmlSubtree ( const vector< CConSent > &  CSL,
FILE *  fp,
int  SentNo 
)

References GetEnglishTag().

Referenced by WriteXmlMacSyn().

Here is the call graph for this function:

Here is the caller graph for this function:

void WriteXmlMacSyn ( const vector< CConSent > &  CSL,
const char *  Filename 
)

References PrintXmlSubtree().

Referenced by CGraphmatFile::MacSynHierarchy().

Here is the call graph for this function:

Here is the caller graph for this function: