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

#include <fl.h>

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

492  :
493  SIn(_SIn), EofCh(_EofCh), Ch(_EofCh){}
PSIn SIn
Definition: fl.h:484
char Ch
Definition: fl.h:486
char EofCh
Definition: fl.h:485

Member Function Documentation

bool TChRet::Eof ( ) const
inline

Definition at line 495 of file fl.h.

495 {return Ch==EofCh;}
char Ch
Definition: fl.h:486
char EofCh
Definition: fl.h:485
char TChRet::GetCh ( )
inline

Definition at line 496 of file fl.h.

496  {
497  if (SIn->Eof()){return Ch=EofCh;} else {return Ch=SIn->GetCh();}}
PSIn SIn
Definition: fl.h:484
char Ch
Definition: fl.h:486
virtual bool Eof()=0
char EofCh
Definition: fl.h:485
virtual char GetCh()=0
char TChRet::operator() ( )
inline

Definition at line 498 of file fl.h.

498 {return Ch;}
char Ch
Definition: fl.h:486
TChRet& TChRet::operator= ( const TChRet )
private

Member Data Documentation

char TChRet::Ch
private

Definition at line 486 of file fl.h.

char TChRet::EofCh
private

Definition at line 485 of file fl.h.

PSIn TChRet::SIn
private

Definition at line 484 of file fl.h.


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