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 <fl.h>
Public Member Functions | |
TFIn (const TStr &FNm) | |
TFIn (const TStr &FNm, bool &OpenedP) | |
~TFIn () | |
bool | Eof () |
int | Len () const |
char | GetCh () |
char | PeekCh () |
int | GetBf (const void *LBf, const TSize &LBfL) |
void | Reset () |
bool | GetNextLnBf (TChA &LnChA) |
Public Member Functions inherited from TSIn | |
TSIn () | |
TSIn (const TStr &Str) | |
virtual | ~TSIn () |
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 Member Functions | |
static PSIn | New (const TStr &FNm) |
static PSIn | New (const TStr &FNm, bool &OpenedP) |
Private Member Functions | |
void | SetFPos (const int &FPos) const |
int | GetFPos () const |
int | GetFLen () const |
void | FillBf () |
int | FindEol (int &BfN, bool &CrEnd) |
TFIn () | |
TFIn (const TFIn &) | |
TFIn & | operator= (const TFIn &) |
Private Attributes | |
TFileId | FileId |
char * | Bf |
int | BfC |
int | BfL |
Static Private Attributes | |
static const int | MxBfL =16*1024 |
Additional Inherited Members | |
Static Public Attributes inherited from TSIn | |
static const TPt< TSIn > | StdIn =PSIn(new TStdIn()) |
Protected Attributes inherited from TSBase | |
TCRef | CRef |
TSStr | SNm |
TCs | Cs |
|
private |
|
private |
TFIn::TFIn | ( | const TStr & | FNm | ) |
TFIn::TFIn | ( | const TStr & | FNm, |
bool & | OpenedP | ||
) |
TFIn::~TFIn | ( | ) |
|
inlinevirtual |
Implements TSIn.
Definition at line 298 of file fl.h.
References FillBf(), and MxBfL.
Referenced by FindEol(), GetCh(), TILx::GetLnV(), TKeyDatFl< TKey, TDat, THashFunc >::Next(), and PeekCh().
|
private |
|
private |
|
virtual |
|
inlinevirtual |
Implements TSIn.
Definition at line 302 of file fl.h.
References Eof().
Referenced by TILx::GetLnV().
|
private |
|
private |
|
virtual |
Implements TSIn.
Definition at line 328 of file fl.cpp.
References TChA::AddBf(), Bf, BfC, BfL, TChA::Clr(), TChA::Empty(), and FindEol().
|
inlinevirtual |
Definition at line 290 of file fl.cpp.
References EFailR, and TFIn().
Referenced by TUniChDb::LoadBin(), TSnap::LoadDyNet(), TSnap::LoadDyNetGraphV(), TMBlobBs::LoadMain(), TLAMisc::LoadMatlabTFltVV(), TSs::LoadTxt(), THtmlDoc::LoadTxt(), TXmlDoc::LoadTxt(), TStr::LoadTxt(), TBigStrPool::New(), TStrPool::New(), TZipIn::NewIfZip(), TUniChDb::Test(), TPreproc::TPreproc(), and TSsParser::TSsParser().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from TSIn.
Definition at line 309 of file fl.h.
References TSBase::Cs, and FillBf().
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |