SNAP Library 6.0, Developer Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
THttpChRet Class Reference
Collaboration diagram for THttpChRet:

Public Member Functions

 THttpChRet (const PSIn &_SIn, const THttpExCd &_HttpExCd)
 
THttpChRetoperator= (const THttpChRet &)
 
bool Eof ()
 
char GetCh ()
 

Private Attributes

PSIn SIn
 
int Chs
 
int ChN
 
THttpExCd HttpExCd
 

Detailed Description

Definition at line 446 of file http.cpp.

Constructor & Destructor Documentation

THttpChRet::THttpChRet ( const PSIn _SIn,
const THttpExCd _HttpExCd 
)
inline

Definition at line 451 of file http.cpp.

451  :
452  SIn(_SIn), Chs(SIn->Len()), ChN(0), HttpExCd(_HttpExCd){}
virtual int Len() const =0
THttpExCd HttpExCd
Definition: http.cpp:449
int ChN
Definition: http.cpp:448
PSIn SIn
Definition: http.cpp:447
int Chs
Definition: http.cpp:448

Member Function Documentation

bool THttpChRet::Eof ( )
inline

Definition at line 454 of file http.cpp.

References Chs.

Referenced by THttpRq::ParseSearch().

454 {return ChN==Chs;}
int ChN
Definition: http.cpp:448
int Chs
Definition: http.cpp:448

Here is the caller graph for this function:

char THttpChRet::GetCh ( )
inline

Definition at line 455 of file http.cpp.

References TSIn::GetCh().

Referenced by THttpRq::ParseSearch().

455  {
456  if (ChN>=Chs){throw THttpEx(HttpExCd);}
457  ChN++; return SIn->GetCh();}
THttpExCd HttpExCd
Definition: http.cpp:449
int ChN
Definition: http.cpp:448
PSIn SIn
Definition: http.cpp:447
int Chs
Definition: http.cpp:448
virtual char GetCh()=0

Here is the call graph for this function:

Here is the caller graph for this function:

THttpChRet& THttpChRet::operator= ( const THttpChRet )
inline

Definition at line 453 of file http.cpp.

References Fail.

453 {Fail; return *this;}
#define Fail
Definition: bd.h:238

Member Data Documentation

int THttpChRet::ChN
private

Definition at line 448 of file http.cpp.

int THttpChRet::Chs
private

Definition at line 448 of file http.cpp.

Referenced by Eof().

THttpExCd THttpChRet::HttpExCd
private

Definition at line 449 of file http.cpp.

PSIn THttpChRet::SIn
private

Definition at line 447 of file http.cpp.


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