#include <Segment.h>

Inheritance diagram for ESISegment:
Collaboration diagram for ESISegment:

Public Types

typedef RefCount< ESISegmentPointer
 

Public Member Functions

 ESISegment ()
 
 ESISegment (ESISegment const &)
 
 ~ESISegment ()
 
ESISegment::Pointer cloneList () const
 
char * listToChar () const
 
void listAppend (char const *s, size_t length)
 
void adsorbList (ESISegment::Pointer from)
 
size_t space () const
 
size_t append (char const *, size_t)
 
size_t append (Pointer)
 
ESISegment const * tail () const
 
ESISegmenttail ()
 
void dumpToLog () const
 

Static Public Member Functions

static void ListAppend (Pointer &, char const *, size_t)
 
static void ListTransfer (Pointer &from, Pointer &to)
 

Public Attributes

char buf [HTTP_REQBUF_SZ]
 
size_t len
 
Pointer next
 

Private Member Functions

 CBDATA_CLASS (ESISegment)
 
size_t listLength () const
 
void dumpOne () const
 

Detailed Description

Definition at line 21 of file Segment.h.

Member Typedef Documentation

Definition at line 26 of file Segment.h.

Constructor & Destructor Documentation

ESISegment::ESISegment ( )
inline

Definition at line 30 of file Segment.h.

References buf.

Referenced by cloneList(), and listAppend().

ESISegment::ESISegment ( ESISegment const &  old)

Definition at line 174 of file Segment.cc.

References append(), buf, and len.

ESISegment::~ESISegment ( )
inline

Definition at line 32 of file Segment.h.

Member Function Documentation

void ESISegment::adsorbList ( ESISegment::Pointer  from)

Definition at line 36 of file Segment.cc.

References append(), assert, RefCount< C >::getRaw(), len, next, NULL, and space().

Referenced by ListTransfer().

size_t ESISegment::append ( char const *  appendBuffer,
size_t  appendLength 
)

Definition at line 138 of file Segment.cc.

References buf, len, min(), and space().

Referenced by adsorbList(), append(), esiLiteral::esiLiteral(), ESISegment(), and ESIContext::fail().

size_t ESISegment::append ( ESISegment::Pointer  from)

Definition at line 147 of file Segment.cc.

References append(), buf, and len.

ESISegment::CBDATA_CLASS ( ESISegment  )
private
ESISegment::Pointer ESISegment::cloneList ( ) const

Definition at line 130 of file Segment.cc.

References cloneList(), ESISegment(), RefCount< C >::getRaw(), next, and NULL.

Referenced by cloneList().

void ESISegment::dumpOne ( ) const
private

Definition at line 191 of file Segment.cc.

References buf, debugs, len, and String::limitInit().

Referenced by dumpToLog().

void ESISegment::dumpToLog ( ) const

Definition at line 180 of file Segment.cc.

References dumpOne(), RefCount< C >::getRaw(), and next.

void ESISegment::listAppend ( char const *  s,
size_t  length 
)

Definition at line 101 of file Segment.cc.

References assert, ESISegment(), RefCount< C >::getRaw(), next, and NULL.

Referenced by ListAppend().

size_t ESISegment::listLength ( ) const
private

Definition at line 67 of file Segment.cc.

References RefCount< C >::getRaw(), len, and next.

Referenced by listToChar().

char * ESISegment::listToChar ( ) const
void ESISegment::ListTransfer ( ESISegment::Pointer from,
ESISegment::Pointer to 
)
static
size_t ESISegment::space ( ) const

Definition at line 29 of file Segment.cc.

References assert, buf, and len.

Referenced by adsorbList(), and append().

ESISegment const * ESISegment::tail ( ) const
ESISegment * ESISegment::tail ( )

Definition at line 164 of file Segment.cc.

References RefCount< C >::getRaw(), and next.

Member Data Documentation


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors