SNAP Library , Developer Reference  2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TChRet Class Reference

#include <fl.h>

Collaboration diagram for TChRet:

List of all members.

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 449 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 459 of file fl.h.

                                                :
    SIn(_SIn), EofCh(_EofCh), Ch(_EofCh){}

Member Function Documentation

bool TChRet::Eof ( ) const [inline]

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

{return Ch==EofCh;}

Here is the caller graph for this function:

char TChRet::GetCh ( ) [inline]

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

              {
    if (SIn->Eof()){return Ch=EofCh;} else {return Ch=SIn->GetCh();}}

Here is the call graph for this function:

Here is the caller graph for this function:

char TChRet::operator() ( ) [inline]

Definition at line 465 of file fl.h.

References Ch.

{return Ch;}
TChRet& TChRet::operator= ( const TChRet ) [private]

Member Data Documentation

char TChRet::Ch [private]

Definition at line 453 of file fl.h.

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

char TChRet::EofCh [private]

Definition at line 452 of file fl.h.

Referenced by Eof(), and GetCh().

PSIn TChRet::SIn [private]

Definition at line 451 of file fl.h.

Referenced by GetCh().


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