SNAP Library 4.1, Developer Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <fl.h>
Public Member Functions | |
TSIn () | |
TSIn (const TStr &Str) | |
virtual | ~TSIn () |
virtual bool | Eof ()=0 |
virtual int | Len () const =0 |
virtual char | GetCh ()=0 |
virtual char | PeekCh ()=0 |
virtual int | GetBf (const void *Bf, const TSize &BfL)=0 |
virtual bool | GetNextLnBf (TChA &LnChA)=0 |
virtual void | Reset () |
bool | IsFastMode () const |
void | SetFastMode (const bool &_FastMode) |
virtual void | LoadCs () |
void | LoadBf (const void *Bf, const TSize &BfL) |
void * | LoadNewBf (const int &BfL) |
void | Load (bool &Bool) |
void | Load (uchar &UCh) |
void | Load (char &Ch) |
void | Load (short &Short) |
void | Load (ushort &UShort) |
void | Load (int &Int) |
void | Load (uint &UInt) |
void | Load (int64 &Int) |
void | Load (uint64 &UInt) |
void | Load (double &Flt) |
void | Load (sdouble &SFlt) |
void | Load (ldouble &LFlt) |
void | Load (char *&CStr, const int &MxCStrLen, const int &CStrLen) |
void | Load (char *&CStr) |
TSIn & | operator>> (bool &Bool) |
TSIn & | operator>> (uchar &UCh) |
TSIn & | operator>> (char &Ch) |
TSIn & | operator>> (short &Sh) |
TSIn & | operator>> (ushort &USh) |
TSIn & | operator>> (int &Int) |
TSIn & | operator>> (uint &UInt) |
TSIn & | operator>> (int64 &Int) |
TSIn & | operator>> (uint64 &UInt) |
TSIn & | operator>> (float &Flt) |
TSIn & | operator>> (double &Double) |
TSIn & | operator>> (long double &LDouble) |
bool | GetNextLn (TStr &LnStr) |
bool | GetNextLn (TChA &LnChA) |
Public Member Functions inherited from TSBase | |
TSBase (const TSStr &Nm) | |
virtual | ~TSBase () |
virtual TStr | GetSNm () const |
Static Public Attributes | |
static const TPt< TSIn > | StdIn =PSIn(new TStdIn()) |
Private Member Functions | |
TSIn (const TSIn &) | |
TSIn & | operator= (const TSIn &) |
Private Attributes | |
bool | FastMode |
Friends | |
class | TPt< TSIn > |
Additional Inherited Members | |
Protected Attributes inherited from TSBase | |
TCRef | CRef |
TSStr | SNm |
TCs | Cs |
|
private |
|
pure virtual |
Implemented in TStrIn, TMIn, TShMIn, TFInOut, TChAIn, TFIn, TStdIn, TMemIn, and TZipIn.
Referenced by THtmlLx::GetCh(), TXmlLx::GetCh(), TILx::GetCh(), THttpLx::GetCh(), TPreproc::GetCh(), TXmlParser::GetCh(), TChRet::GetCh(), THttpLx::GetFirstCh(), GetNextLn(), THttpLx::GetRest(), TXmlParser::GetSym(), TNetInfBs::LoadCascadesTxt(), TNIBs::LoadCascadesTxt(), TNIBs::LoadGroundTruthNodesTxt(), TNetInfBs::LoadGroundTruthTxt(), TNIBs::LoadGroundTruthTxt(), TNIBs::LoadInferredNodesTxt(), TNIBs::LoadInferredTxt(), TSs::LoadTxt(), TWChA::LoadTxt(), TSs::LoadTxtFldV(), TLnRet::NextLn(), TSOut::operator<<(), and TSOut::Save().
|
pure virtual |
Implemented in TStrIn, TMIn, TShMIn, TFInOut, TChAIn, TFIn, TStdIn, TMemIn, and TZipIn.
Referenced by TMd5::Add(), Load(), LoadBf(), LoadCs(), TInt::LoadFrugalIntV(), TMem::LoadMem(), LoadNewBf(), TChA::LoadTxt(), TMem::operator+=(), operator>>(), TFRnd::PutSIn(), and TStr::TStr().
|
pure virtual |
Implemented in TStrIn, TMIn, TShMIn, TFInOut, TChAIn, TFIn, TStdIn, TMemIn, and TZipIn.
Referenced by THtmlLx::GetCh(), TXmlLx::GetCh(), TILx::GetCh(), THttpLx::GetCh(), TPreproc::GetCh(), TXmlParser::GetCh(), THttpChRet::GetCh(), TChRet::GetCh(), THttpLx::GetFirstCh(), GetNextLn(), TInt::LoadFrugalIntV(), TWCh::LoadTxt(), TSs::LoadTxt(), TSs::LoadTxtFldV(), TLnRet::NextLn(), TSOut::operator<<(), TSOut::Save(), TMIn::TMIn(), and TStrPool64::TStrPool64().
bool TSIn::GetNextLn | ( | TStr & | LnStr | ) |
Definition at line 43 of file fl.cpp.
Referenced by TNetInfBs::LoadCascadesTxt(), TNIBs::LoadCascadesTxt(), TNIBs::LoadGroundTruthNodesTxt(), TNetInfBs::LoadGroundTruthTxt(), TNIBs::LoadGroundTruthTxt(), TNIBs::LoadInferredNodesTxt(), TNIBs::LoadInferredTxt(), and TSsParser::NextSlow().
bool TSIn::GetNextLn | ( | TChA & | LnChA | ) |
Definition at line 50 of file fl.cpp.
References TChA::AddCh(), TChA::Clr(), TChA::Empty(), Eof(), GetCh(), and PeekCh().
|
pure virtual |
|
inline |
|
pure virtual |
Implemented in TStrIn, TMIn, TShMIn, TFInOut, TChAIn, TFIn, TStdIn, TMemIn, and TZipIn.
Referenced by TMd5::Add(), THttpLx::Len(), TMem::LoadMem(), TChA::LoadTxt(), TMem::operator+=(), TGBlobBs::PutBlob(), TFRnd::PutSIn(), THttpResp::THttpResp(), TMIn::TMIn(), and TStr::TStr().
|
inline |
Definition at line 84 of file fl.h.
References TSBase::Cs, and GetBf().
Referenced by TPackVec< TVal >::AddV(), TSparseGroup< TVal, GroupSize >::Load(), TSparseColMatrix::Load(), Load(), TSparseRowMatrix::Load(), TChA::Load(), TVec< TVal, TSizeTy >::Load(), TNum< Base >::Load(), TNum< int64 >::Load(), TBool::Load(), TCh::Load(), TUniChInfo::Load(), TSInt::Load(), TInt::Load(), TUInt::Load(), TUInt64::Load(), TFlt::Load(), TPackVec< TVal >::Load(), TBigNet< TNodeData, IsDir >::LoadNodeDatH(), TBigStrPool::LoadPoolShM(), TVec< TVal, TSizeTy >::LoadShM(), TVec< TFlt, TSizeTy >::LoadShM(), operator>>(), TBigStrPool::TBigStrPool(), TBlobPt::TBlobPt(), TBool::TBool(), TBSet::TBSet(), TCh::TCh(), TChA::TChA(), TFlt::TFlt(), TInt::TInt(), TLFlt::TLFlt(), TLst< TVal >::TLst(), TMem::TMem(), TNum< Base >::TNum(), TNum< int64 >::TNum(), TRnd::TRnd(), TRStr::TRStr(), TSFlt::TSFlt(), TSInt::TSInt(), TStrPool::TStrPool(), TStrPool64::TStrPool64(), TUCh::TUCh(), TUInt::TUInt(), TUInt64::TUInt64(), TVecPool< TVal, TSizeTy >::TVecPool(), TGLib_OLD::TVecPool< TVal >::TVecPool(), and TWCh::TWCh().
|
inline |
Definition at line 85 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 86 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 87 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 88 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 89 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 90 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 91 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 92 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 93 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 94 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 95 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 96 of file fl.h.
References TSBase::Cs, and GetBf().
void TSIn::Load | ( | char *& | CStr | ) |
Definition at line 34 of file fl.cpp.
References TSBase::Cs, EAssertR, GetBf(), TSBase::GetSNm(), Load(), and TCh::NullCh.
|
inline |
Definition at line 81 of file fl.h.
References TSBase::Cs, and GetBf().
Referenced by TPackVec< TVal >::AddV(), TSparseGroup< TVal, GroupSize >::Load(), TPackVec< TVal >::Load(), TBigStrPool::LoadPoolShM(), TUniChInfo::LoadSChar(), TUniChInfo::LoadUShort(), TB32Set::TB32Set(), TB8Set::TB8Set(), TBigStrPool::TBigStrPool(), TBSet::TBSet(), TMd5Sig::TMd5Sig(), TMem::TMem(), and TStrPool::TStrPool().
|
virtual |
Reimplemented in TShMIn.
Definition at line 28 of file fl.cpp.
References TSBase::Cs, EAssertR, GetBf(), and TSBase::GetSNm().
Referenced by THashMP< TInt, TEdge >::Load(), THash< TPair, THash >::Load(), TUniCaseFolding::Load(), TStrHash< TInt, TBigStrPool >::Load(), THashSet< TInt >::Load(), TUniChDb::Load(), TBigStrPool::TBigStrPool(), THash< TPair, THash >::THash(), THashMP< TInt, TEdge >::THashMP(), THashSet< TInt >::THashSet(), TStrHash< TInt, TBigStrPool >::TStrHash(), TStrPool::TStrPool(), TStrPool64::TStrPool64(), and TUniCaseFolding::TUniCaseFolding().
|
inline |
Definition at line 82 of file fl.h.
References TSBase::Cs, and GetBf().
Referenced by TBSet::TBSet().
|
inline |
Definition at line 100 of file fl.h.
References TSBase::Cs, and GetBf().
Definition at line 101 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 102 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 103 of file fl.h.
References TSBase::Cs, and GetBf().
Definition at line 104 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 105 of file fl.h.
References TSBase::Cs, and GetBf().
Definition at line 106 of file fl.h.
References TSBase::Cs, and GetBf().
Definition at line 107 of file fl.h.
References TSBase::Cs, and GetBf().
Definition at line 108 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 109 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 110 of file fl.h.
References TSBase::Cs, and GetBf().
|
inline |
Definition at line 111 of file fl.h.
References TSBase::Cs, and GetBf().
|
pure virtual |
|
inlinevirtual |
|
inline |
|
private |
Definition at line 60 of file fl.h.
Referenced by IsFastMode(), and SetFastMode().