SNAP Library 2.1, User 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

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.

{return ChN==Chs;}
char THttpChRet::GetCh ( ) [inline]

Definition at line 455 of file http.cpp.

              {
    if (ChN>=Chs){throw THttpEx(HttpExCd);}
    ChN++; return SIn->GetCh();}
THttpChRet& THttpChRet::operator= ( const THttpChRet ) [inline]

Definition at line 453 of file http.cpp.

{Fail; return *this;}

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.

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: