SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
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.
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(), f, IAssertR, and putBackCh.
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, and putBackCh.
Referenced by ReadNextLine().
|
inlineprotected |
Definition at line 1663 of file unicode.h.
References buf, TChA::Clr(), comment, GetCh(), and PutBack().
Referenced by GetNextLine().
|
protected |
Definition at line 1652 of file unicode.h.
Referenced by GetNextLine(), and ReadNextLine().
TChA TUniChDb::TUcdFileReader::comment |
Definition at line 1654 of file unicode.h.
Referenced by TUniChDb::TSubcatHelper::ProcessComment(), and ReadNextLine().
|
protected |
|
protected |