SNAP Library 2.4, User Reference  2015-05-11 19:40:56
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 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.

467  :
468  SIn(_SIn), EofCh(_EofCh), Ch(_EofCh){}
PSIn SIn
Definition: fl.h:459
char Ch
Definition: fl.h:461
char EofCh
Definition: fl.h:460

Member Function Documentation

bool TChRet::Eof ( ) const
inline

Definition at line 470 of file fl.h.

470 {return Ch==EofCh;}
char Ch
Definition: fl.h:461
char EofCh
Definition: fl.h:460
char TChRet::GetCh ( )
inline

Definition at line 471 of file fl.h.

471  {
472  if (SIn->Eof()){return Ch=EofCh;} else {return Ch=SIn->GetCh();}}
PSIn SIn
Definition: fl.h:459
char Ch
Definition: fl.h:461
virtual bool Eof()=0
char EofCh
Definition: fl.h:460
virtual char GetCh()=0
char TChRet::operator() ( )
inline

Definition at line 473 of file fl.h.

473 {return Ch;}
char Ch
Definition: fl.h:461
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: