SNAP Library 4.0, Developer Reference  2017-07-27 13:18:06
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 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.

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().

548 {return Ch==EofCh;}
char Ch
Definition: fl.h:539
char EofCh
Definition: fl.h:538

Here is the caller graph for this function:

char TChRet::GetCh ( )
inline

Definition at line 549 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().

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

Here is the call graph for this function:

Here is the caller graph for this function:

char TChRet::operator() ( )
inline

Definition at line 551 of file fl.h.

References Ch.

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.

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

char TChRet::EofCh
private

Definition at line 538 of file fl.h.

Referenced by Eof(), and GetCh().

PSIn TChRet::SIn
private

Definition at line 537 of file fl.h.

Referenced by GetCh().


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