SNAP Library 3.0, User Reference  2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TLnRet Class Reference

#include <fl.h>

Public Member Functions

 TLnRet (const PSIn &_SIn)
 
bool NextLn (TStr &LnStr)
 

Private Member Functions

 UndefDefaultCopyAssign (TLnRet)
 

Private Attributes

PSIn SIn
 

Detailed Description

Definition at line 504 of file fl.h.

Constructor & Destructor Documentation

TLnRet::TLnRet ( const PSIn _SIn)
inline

Definition at line 509 of file fl.h.

509 : SIn(_SIn) {}
PSIn SIn
Definition: fl.h:506

Member Function Documentation

bool TLnRet::NextLn ( TStr LnStr)

Definition at line 899 of file fl.cpp.

899  {
900  if (SIn->Eof()) { return false; }
901  TChA LnChA; char Ch = TCh::EofCh;
902  while (!SIn->Eof() && ((Ch=SIn->GetCh())!='\n')) {
903  if (Ch != '\r') { LnChA += Ch; }
904  }
905  LnStr = LnChA; return true;
906 }
static const char EofCh
Definition: dt.h:947
virtual bool Eof()=0
Definition: dt.h:201
PSIn SIn
Definition: fl.h:506
virtual char GetCh()=0
TLnRet::UndefDefaultCopyAssign ( TLnRet  )
private

Member Data Documentation

PSIn TLnRet::SIn
private

Definition at line 506 of file fl.h.


The documentation for this class was generated from the following files: