SNAP Library 2.1, Developer Reference  2013-09-25 10:47:25
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
THttpChRet Class Reference
Collaboration diagram for THttpChRet:

List of all members.

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.

                                                          :
    SIn(_SIn), Chs(SIn->Len()), ChN(0), HttpExCd(_HttpExCd){}

Member Function Documentation

bool THttpChRet::Eof ( ) [inline]

Definition at line 454 of file http.cpp.

References ChN, and Chs.

Referenced by THttpRq::ParseSearch().

{return ChN==Chs;}

Here is the caller graph for this function:

char THttpChRet::GetCh ( ) [inline]

Definition at line 455 of file http.cpp.

References ChN, Chs, TSIn::GetCh(), HttpExCd, and SIn.

Referenced by THttpRq::ParseSearch().

              {
    if (ChN>=Chs){throw THttpEx(HttpExCd);}
    ChN++; return SIn->GetCh();}

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.

{Fail; return *this;}

Member Data Documentation

int THttpChRet::ChN [private]

Definition at line 448 of file http.cpp.

Referenced by Eof(), and GetCh().

int THttpChRet::Chs [private]

Definition at line 448 of file http.cpp.

Referenced by Eof(), and GetCh().

Definition at line 449 of file http.cpp.

Referenced by GetCh().

PSIn THttpChRet::SIn [private]

Definition at line 447 of file http.cpp.

Referenced by GetCh().


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