SNAP Library 2.1, User Reference  2013-09-25 10:47:25
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
TChRet Class Reference

#include <fl.h>

List of all members.

Public Member Functions

 TChRet (const PSIn &_SIn, const char &_EofCh=0)
bool Eof () const
char GetCh ()
char operator() ()

Private Member Functions

 TChRet ()
 TChRet (const TChRet &)
TChRetoperator= (const TChRet &)

Private Attributes

PSIn SIn
char EofCh
char Ch

Detailed Description

Definition at line 457 of file fl.h.


Constructor & Destructor Documentation

TChRet::TChRet ( ) [private]
TChRet::TChRet ( const TChRet ) [private]
TChRet::TChRet ( const PSIn _SIn,
const char &  _EofCh = 0 
) [inline]

Definition at line 467 of file fl.h.

                                                :
    SIn(_SIn), EofCh(_EofCh), Ch(_EofCh){}

Member Function Documentation

bool TChRet::Eof ( ) const [inline]

Definition at line 470 of file fl.h.

{return Ch==EofCh;}
char TChRet::GetCh ( ) [inline]

Definition at line 471 of file fl.h.

              {
    if (SIn->Eof()){return Ch=EofCh;} else {return Ch=SIn->GetCh();}}
char TChRet::operator() ( ) [inline]

Definition at line 473 of file fl.h.

{return Ch;}
TChRet& TChRet::operator= ( const TChRet ) [private]

Member Data Documentation

char TChRet::Ch [private]

Definition at line 461 of file fl.h.

char TChRet::EofCh [private]

Definition at line 460 of file fl.h.

PSIn TChRet::SIn [private]

Definition at line 459 of file fl.h.


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