SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <fl.h>
Public Member Functions | |
TMIn (const void *_Bf, const int &_BfL, const bool &TakeBf=false) | |
TMIn (TSIn &SIn) | |
TMIn (const char *CStr) | |
TMIn (const TStr &Str) | |
TMIn (const TChA &ChA) | |
~TMIn () | |
bool | Eof () |
int | Len () const |
char | GetCh () |
char | PeekCh () |
int | GetBf (const void *LBf, const TSize &LBfL) |
void | Reset () |
bool | GetNextLnBf (TChA &LnChA) |
char * | GetBfAddr () |
Static Public Member Functions | |
static PSIn | New (const void *_Bf, const int &_BfL, const bool &TakeBf=false) |
static PSIn | New (const char *CStr) |
static PSIn | New (const TStr &Str) |
static PSIn | New (const TChA &ChA) |
Private Member Functions | |
TMIn () | |
TMIn (const TMIn &) | |
TMIn & | operator= (const TMIn &) |
Private Attributes | |
char * | Bf |
int | BfC |
int | BfL |
TMIn::TMIn | ( | ) | [private] |
TMIn::TMIn | ( | const TMIn & | ) | [private] |
TMIn::TMIn | ( | const void * | _Bf, |
const int & | _BfL, | ||
const bool & | TakeBf = false |
||
) |
TMIn::TMIn | ( | TSIn & | SIn | ) |
Definition at line 540 of file fl.cpp.
References Bf, BfC, BfL, TSIn::GetCh(), and TSIn::Len().
: TSBase("Input-Memory"), TSIn("Input-Memory"), Bf(NULL), BfC(0), BfL(0){ BfL=SIn.Len(); Bf=new char[BfL]; for (int BfC=0; BfC<BfL; BfC++){Bf[BfC]=SIn.GetCh();} }
TMIn::TMIn | ( | const char * | CStr | ) |
TMIn::TMIn | ( | const TStr & | Str | ) |
TMIn::TMIn | ( | const TChA & | ChA | ) |
TMIn::~TMIn | ( | ) | [inline] |
bool TMIn::Eof | ( | ) | [inline, virtual] |
int TMIn::GetBf | ( | const void * | LBf, |
const TSize & | LBfL | ||
) | [virtual] |
char* TMIn::GetBfAddr | ( | ) | [inline] |
char TMIn::GetCh | ( | ) | [virtual] |
bool TMIn::GetNextLnBf | ( | TChA & | LnChA | ) | [virtual] |
int TMIn::Len | ( | ) | const [inline, virtual] |
char TMIn::PeekCh | ( | ) | [virtual] |
void TMIn::Reset | ( | ) | [inline, virtual] |
char* TMIn::Bf [private] |
int TMIn::BfC [private] |
int TMIn::BfL [private] |