#include <fl.h>
Inherits TSBase.
Inherited by TChAIn, TFIn, TMemIn, TMIn, TSInOut, TStdIn, TStrIn, and TZipIn.
List of all members.
Detailed Description
Definition at line 58 of file fl.h.
Constructor & Destructor Documentation
Definition at line 65 of file fl.h.
Definition at line 67 of file fl.h.
Member Function Documentation
Definition at line 43 of file fl.cpp.
{
TChA LnChA;
const bool IsNext=GetNextLn(LnChA);
LnStr=LnChA;
return IsNext;
}
Definition at line 50 of file fl.cpp.
{
LnChA.Clr();
while (!Eof()){
const char Ch=GetCh();
if (Ch=='\n'){return true;}
if (Ch=='\r' && PeekCh()=='\n'){GetCh(); return true;}
LnChA.AddCh(Ch);
}
return !LnChA.Empty();
}
Definition at line 77 of file fl.h.
virtual int TSIn::Len |
( |
| ) |
const [pure virtual] |
Definition at line 84 of file fl.h.
Definition at line 85 of file fl.h.
Definition at line 86 of file fl.h.
Definition at line 87 of file fl.h.
{Cs+=GetBf(&Short, sizeof(Short));}
Definition at line 88 of file fl.h.
{Cs+=GetBf(&UShort, sizeof(UShort));}
Definition at line 89 of file fl.h.
Definition at line 90 of file fl.h.
Definition at line 91 of file fl.h.
Definition at line 92 of file fl.h.
Definition at line 93 of file fl.h.
Definition at line 94 of file fl.h.
Definition at line 95 of file fl.h.
void TSIn::Load |
( |
char *& |
CStr, |
|
|
const int & |
MxCStrLen, |
|
|
const int & |
CStrLen |
|
) |
| [inline] |
Definition at line 96 of file fl.h.
{
CStr=new char[MxCStrLen+1]; Cs+=GetBf(CStr, CStrLen+1);}
Definition at line 34 of file fl.cpp.
{
char Ch; Load(Ch);
int CStrLen=int(Ch);
EAssertR(CStrLen>=0, "Error reading stream '"+GetSNm()+"'.");
CStr=new char[CStrLen+1];
if (CStrLen>0){Cs+=GetBf(CStr, CStrLen);}
CStr[CStrLen]=TCh::NullCh;
}
Definition at line 81 of file fl.h.
Definition at line 82 of file fl.h.
{
void* Bf=(void*)new char[BfL]; Cs+=GetBf(Bf, BfL); return Bf;}
TSIn& TSIn::operator= |
( |
const TSIn & |
| ) |
[private] |
TSIn& TSIn::operator>> |
( |
bool & |
Bool | ) |
[inline] |
Definition at line 100 of file fl.h.
{Cs+=GetBf(&Bool, sizeof(Bool)); return *this;}
TSIn& TSIn::operator>> |
( |
uchar & |
UCh | ) |
[inline] |
Definition at line 101 of file fl.h.
{Cs+=GetBf(&UCh, sizeof(UCh)); return *this;}
TSIn& TSIn::operator>> |
( |
char & |
Ch | ) |
[inline] |
Definition at line 102 of file fl.h.
{Cs+=GetBf(&Ch, sizeof(Ch)); return *this;}
TSIn& TSIn::operator>> |
( |
short & |
Sh | ) |
[inline] |
Definition at line 103 of file fl.h.
{Cs+=GetBf(&Sh, sizeof(Sh)); return *this;}
Definition at line 104 of file fl.h.
{Cs+=GetBf(&USh, sizeof(USh)); return *this;}
TSIn& TSIn::operator>> |
( |
int & |
Int | ) |
[inline] |
Definition at line 105 of file fl.h.
{Cs+=GetBf(&Int, sizeof(Int)); return *this;}
TSIn& TSIn::operator>> |
( |
uint & |
UInt | ) |
[inline] |
Definition at line 106 of file fl.h.
{Cs+=GetBf(&UInt, sizeof(UInt)); return *this;}
TSIn& TSIn::operator>> |
( |
int64 & |
Int | ) |
[inline] |
Definition at line 107 of file fl.h.
{Cs+=GetBf(&Int, sizeof(Int)); return *this;}
Definition at line 108 of file fl.h.
{Cs+=GetBf(&UInt, sizeof(UInt)); return *this;}
TSIn& TSIn::operator>> |
( |
float & |
Flt | ) |
[inline] |
Definition at line 109 of file fl.h.
{Cs+=GetBf(&Flt, sizeof(Flt)); return *this;}
TSIn& TSIn::operator>> |
( |
double & |
Double | ) |
[inline] |
Definition at line 110 of file fl.h.
{Cs+=GetBf(&Double, sizeof(Double)); return *this;}
TSIn& TSIn::operator>> |
( |
long double & |
LDouble | ) |
[inline] |
Definition at line 111 of file fl.h.
{Cs+=GetBf(&LDouble, sizeof(LDouble)); return *this;}
Definition at line 78 of file fl.h.
Friends And Related Function Documentation
Definition at line 117 of file fl.h.
Member Data Documentation
Definition at line 60 of file fl.h.
Definition at line 116 of file fl.h.
The documentation for this class was generated from the following files: