#include <Segment.h>

Inheritance diagram for ESISegment:
Collaboration diagram for ESISegment:

Public Types

typedef RefCount< ESISegmentPointer
 

Public Member Functions

 ESISegment ()
 
 ESISegment (ESISegment const &)
 
 ~ESISegment () override
 
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

◆ Pointer

Definition at line 26 of file Segment.h.

Constructor & Destructor Documentation

◆ ESISegment() [1/2]

ESISegment::ESISegment ( )
inline

Definition at line 30 of file Segment.h.

References buf.

Referenced by cloneList(), listAppend(), and ListAppend().

◆ ESISegment() [2/2]

ESISegment::ESISegment ( ESISegment const &  old)

Definition at line 174 of file Segment.cc.

References append(), buf, and len.

◆ ~ESISegment()

ESISegment::~ESISegment ( )
inlineoverride

Definition at line 32 of file Segment.h.

Member Function Documentation

◆ adsorbList()

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

Definition at line 36 of file Segment.cc.

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

Referenced by ListTransfer().

◆ append() [1/2]

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 esiLiteral::esiLiteral(), ESISegment(), adsorbList(), append(), ESIContext::fail(), and listAppend().

◆ append() [2/2]

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

Definition at line 147 of file Segment.cc.

References append(), buf, and len.

◆ CBDATA_CLASS()

ESISegment::CBDATA_CLASS ( ESISegment  )
private

◆ cloneList()

ESISegment::Pointer ESISegment::cloneList ( ) const

Definition at line 130 of file Segment.cc.

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

Referenced by cloneList().

◆ dumpOne()

void ESISegment::dumpOne ( ) const
private

Definition at line 191 of file Segment.cc.

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

Referenced by dumpToLog().

◆ dumpToLog()

void ESISegment::dumpToLog ( ) const

Definition at line 180 of file Segment.cc.

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

◆ listAppend()

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

Definition at line 101 of file Segment.cc.

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

◆ ListAppend()

◆ listLength()

size_t ESISegment::listLength ( ) const
private

Definition at line 67 of file Segment.cc.

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

Referenced by listToChar().

◆ listToChar()

char * ESISegment::listToChar ( ) const

◆ ListTransfer()

void ESISegment::ListTransfer ( ESISegment::Pointer from,
ESISegment::Pointer to 
)
static

◆ space()

size_t ESISegment::space ( ) const

Definition at line 29 of file Segment.cc.

References assert, buf, and len.

Referenced by adsorbList(), append(), and listAppend().

◆ tail() [1/2]

ESISegment * ESISegment::tail ( )

Definition at line 164 of file Segment.cc.

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

◆ tail() [2/2]

ESISegment const * ESISegment::tail ( ) const

Member Data Documentation

◆ buf

◆ len

◆ next


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors