#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

◆ 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(), 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 ( )
inline

Definition at line 32 of file Segment.h.

References adsorbList(), cloneList(), listAppend(), listToChar(), and space().

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, NULL, and space().

Referenced by ListTransfer(), and ~ESISegment().

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

◆ 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 cloneList(), ESISegment(), RefCount< C >::getRaw(), next, and NULL.

Referenced by cloneList(), and ~ESISegment().

◆ dumpOne()

void ESISegment::dumpOne ( ) const
private

Definition at line 191 of file Segment.cc.

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

Referenced by dumpToLog().

◆ dumpToLog()

void ESISegment::dumpToLog ( ) const

Definition at line 180 of file Segment.cc.

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

◆ ListAppend()

◆ listAppend()

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(), and ~ESISegment().

◆ 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 ~ESISegment().

◆ tail() [1/2]

ESISegment const * ESISegment::tail ( ) const

Definition at line 153 of file Segment.cc.

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

Referenced by ListAppend(), ListTransfer(), and esiSequence::render().

◆ tail() [2/2]

ESISegment * ESISegment::tail ( )

Definition at line 164 of file Segment.cc.

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

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