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
TLnRet Class Reference

#include <fl.h>

Collaboration diagram for TLnRet:

Public Member Functions

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

Private Member Functions

 UndefDefaultCopyAssign (TLnRet)

Private Attributes


Detailed Description

Definition at line 557 of file fl.h.

Constructor & Destructor Documentation

TLnRet::TLnRet ( const PSIn _SIn)

Definition at line 562 of file fl.h.

562 : SIn(_SIn) {}
Definition: fl.h:559

Member Function Documentation

bool TLnRet::NextLn ( TStr LnStr)

Definition at line 955 of file fl.cpp.

References TSIn::Eof(), TCh::EofCh, TSIn::GetCh(), and SIn.

955  {
956  if (SIn->Eof()) { return false; }
957  TChA LnChA; char Ch = TCh::EofCh;
958  while (!SIn->Eof() && ((Ch=SIn->GetCh())!='\n')) {
959  if (Ch != '\r') { LnChA += Ch; }
960  }
961  LnStr = LnChA; return true;
962 }
static const char EofCh
Definition: dt.h:1040
virtual bool Eof()=0
Definition: dt.h:201
Definition: fl.h:559
virtual char GetCh()=0

Here is the call graph for this function:

TLnRet::UndefDefaultCopyAssign ( TLnRet  )

Member Data Documentation

PSIn TLnRet::SIn

Definition at line 559 of file fl.h.

Referenced by NextLn().

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