SNAP Library 3.0, Developer 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>

Collaboration diagram for TChRet:

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.

References Ch, and EofCh.

Referenced by TXmlLx::GetPlainStrFromXmlStr(), TStr::IsFlt(), TStr::IsHexInt(), TStr::IsHexInt64(), TStr::IsInt(), TStr::IsInt64(), TStr::IsUInt(), TStr::IsUInt64(), TStr::IsWord(), and TStr::IsWs().

495 {return Ch==EofCh;}
char Ch
Definition: fl.h:486
char EofCh
Definition: fl.h:485

Here is the caller graph for this function:

char TChRet::GetCh ( )
inline

Definition at line 496 of file fl.h.

References Ch, TSIn::Eof(), EofCh, TSIn::GetCh(), and SIn.

Referenced by TXmlLx::GetPlainStrFromXmlStr(), TStr::IsFlt(), TStr::IsHexInt(), TStr::IsHexInt64(), TStr::IsInt(), TStr::IsInt64(), TStr::IsUInt(), TStr::IsUInt64(), TStr::IsWord(), and TStr::IsWs().

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

Here is the call graph for this function:

Here is the caller graph for this function:

char TChRet::operator() ( )
inline

Definition at line 498 of file fl.h.

References Ch.

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.

Referenced by Eof(), GetCh(), and operator()().

char TChRet::EofCh
private

Definition at line 485 of file fl.h.

Referenced by Eof(), and GetCh().

PSIn TChRet::SIn
private

Definition at line 484 of file fl.h.

Referenced by GetCh().


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