SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <unicode.h>
Public Member Functions | |
TUcdFileReader () | |
TUcdFileReader (const TStr &fileName) | |
void | Open (const TStr &fileName) |
void | Close () |
~TUcdFileReader () | |
bool | GetNextLine (TStrV &dest) |
Static Public Member Functions | |
static int | ParseCodePoint (const TStr &s) |
static void | ParseCodePointList (const TStr &s, TIntV &dest, bool ClrDestP=true) |
static void | ParseCodePointRange (const TStr &s, int &from, int &to) |
Public Attributes | |
TChA | comment |
Protected Member Functions | |
int | GetCh () |
void | PutBack (int c) |
bool | ReadNextLine () |
Protected Attributes | |
TChA | buf |
FILE * | f |
int | putBackCh |
Private Member Functions | |
TUcdFileReader & | operator= (const TUcdFileReader &r) |
TUcdFileReader (const TUcdFileReader &r) | |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
Definition at line 1684 of file unicode.h.
Referenced by TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitLineBreaks(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), TUniChDb::InitSpecialCasing(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TUniChDb::LoadTxt(), Open(), TUniChDb::TestComposition(), TUniChDb::TestFindNextWordOrSentenceBoundary(), and ~TUcdFileReader().
|
inlineprotected |
Definition at line 1658 of file unicode.h.
References putBackCh.
Referenced by ReadNextLine().
|
inline |
Definition at line 1686 of file unicode.h.
References buf, TVec< TVal, TSizeTy >::Clr(), TStr::Len(), TVec< TVal, TSizeTy >::Len(), ReadNextLine(), TStr::SplitOnAllCh(), and TStr::ToTrunc().
Referenced by TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitLineBreaks(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), TUniChDb::InitSpecialCasing(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), TUniChDb::TestComposition(), and TUniChDb::TestFindNextWordOrSentenceBoundary().
|
inline |
Definition at line 1683 of file unicode.h.
References Close(), TStr::CStr(), and IAssertR.
Referenced by TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitLineBreaks(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), TUniChDb::InitSpecialCasing(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), TUniChDb::TestComposition(), TUniChDb::TestFindNextWordOrSentenceBoundary(), and TUcdFileReader().
|
inlineprivate |
|
inlinestatic |
Definition at line 1695 of file unicode.h.
References IAssertR, and TStr::IsHexInt().
Referenced by TUniChDb::InitSpecialCasing(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), ParseCodePointRange(), and TUniChDb::TestFindNextWordOrSentenceBoundary().
|
inlinestatic |
Definition at line 1697 of file unicode.h.
References TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Clr(), IAssertR, TVec< TVal, TSizeTy >::Len(), and TStr::SplitOnWs().
Referenced by TUniChDb::InitSpecialCasing(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt_ProcessDecomposition(), TUniChDb::TestCaseConversion(), and TUniChDb::TestComposition().
|
inlinestatic |
Definition at line 1703 of file unicode.h.
References TStr::GetSubStr(), TStr::Len(), ParseCodePoint(), and TStr::SearchStr().
Referenced by TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitLineBreaks(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), and TUniChDb::InitWordAndSentenceBoundaryFlags().
|
inlineprotected |
Definition at line 1661 of file unicode.h.
References Assert.
Referenced by ReadNextLine().
|
inlineprotected |
Definition at line 1663 of file unicode.h.
References TChA::Clr(), GetCh(), and PutBack().
Referenced by GetNextLine().
|
protected |
Definition at line 1652 of file unicode.h.
Referenced by GetNextLine().
TChA TUniChDb::TUcdFileReader::comment |
Definition at line 1654 of file unicode.h.
Referenced by TUniChDb::TSubcatHelper::ProcessComment().
|
protected |