SNAP Library 6.0, User Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
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 535 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 545 of file fl.h.

545  :
546  SIn(_SIn), EofCh(_EofCh), Ch(_EofCh){}
PSIn SIn
Definition: fl.h:537
char Ch
Definition: fl.h:539
char EofCh
Definition: fl.h:538

Member Function Documentation

bool TChRet::Eof ( ) const
inline

Definition at line 548 of file fl.h.

548 {return Ch==EofCh;}
char Ch
Definition: fl.h:539
char EofCh
Definition: fl.h:538
char TChRet::GetCh ( )
inline

Definition at line 549 of file fl.h.

549  {
550  if (SIn->Eof()){return Ch=EofCh;} else {return Ch=SIn->GetCh();}}
PSIn SIn
Definition: fl.h:537
char Ch
Definition: fl.h:539
virtual bool Eof()=0
char EofCh
Definition: fl.h:538
virtual char GetCh()=0
char TChRet::operator() ( )
inline

Definition at line 551 of file fl.h.

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

Member Data Documentation

char TChRet::Ch
private

Definition at line 539 of file fl.h.

char TChRet::EofCh
private

Definition at line 538 of file fl.h.

PSIn TChRet::SIn
private

Definition at line 537 of file fl.h.


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