|
SNAP Library 2.0, Developer Reference
2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <fl.h>

Public Member Functions | |
| TLnRet (const PSIn &_SIn) | |
| bool | NextLn (TStr &LnStr) |
Private Member Functions | |
| UndefDefaultCopyAssign (TLnRet) | |
Private Attributes | |
| PSIn | SIn |
| TLnRet::TLnRet | ( | const PSIn & | _SIn | ) | [inline] |
| bool TLnRet::NextLn | ( | TStr & | LnStr | ) |
Definition at line 733 of file fl.cpp.
References TSIn::Eof(), TCh::EofCh, TSIn::GetCh(), and SIn.
{
if (SIn->Eof()) { return false; }
TChA LnChA; char Ch = TCh::EofCh;
while (!SIn->Eof() && ((Ch=SIn->GetCh())!='\n')) {
if (Ch != '\r') { LnChA += Ch; }
}
LnStr = LnChA; return true;
}

| TLnRet::UndefDefaultCopyAssign | ( | TLnRet | ) | [private] |
PSIn TLnRet::SIn [private] |