SNAP Library 2.0, User Reference  2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TLnRet Class Reference

#include <fl.h>

List of all members.

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 479 of file fl.h.


Constructor & Destructor Documentation

TLnRet::TLnRet ( const PSIn _SIn) [inline]

Definition at line 484 of file fl.h.

: SIn(_SIn) {}

Member Function Documentation

bool TLnRet::NextLn ( TStr LnStr)

Definition at line 733 of file fl.cpp.

                               {
    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;
}

Member Data Documentation

PSIn TLnRet::SIn [private]

Definition at line 481 of file fl.h.


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