Inheritance diagram for esiOtherwise:
Collaboration diagram for esiOtherwise:

Public Types

enum  ESIElementType_t {
  ESI_ELEMENT_NONE,
  ESI_ELEMENT_INCLUDE,
  ESI_ELEMENT_COMMENT,
  ESI_ELEMENT_REMOVE,
  ESI_ELEMENT_TRY,
  ESI_ELEMENT_ATTEMPT,
  ESI_ELEMENT_EXCEPT,
  ESI_ELEMENT_VARS,
  ESI_ELEMENT_CHOOSE,
  ESI_ELEMENT_WHEN,
  ESI_ELEMENT_OTHERWISE,
  ESI_ELEMENT_ASSIGN
}
 
typedef RefCount< ESIElementPointer
 

Public Member Functions

 esiOtherwise (esiTreeParentPtr aParent)
 
void render (ESISegment::Pointer)
 
bool addElement (ESIElement::Pointer)
 
esiProcessResult_t process (int dovars)
 
void provideData (ESISegment::Pointer, ESIElement *)
 
bool mayFail () const
 
void wontFail ()
 
void fail (ESIElement *, char const *anError=NULL)
 
void makeCachableElements (esiSequence const &old)
 
Pointer makeCacheable () const
 
void makeUsableElements (esiSequence const &old, ESIVarState &)
 
Pointer makeUsable (esiTreeParentPtr, ESIVarState &) const
 
void finish ()
 

Static Public Member Functions

static ESIElementType_t IdentifyElement (const char *)
 

Public Attributes

Esi::Elements elements
 
size_t processedcount
 
struct {
   int   dovars:1
 
flags
 

Protected Attributes

esiTreeParentPtr parent
 

Private Member Functions

 MEMPROXY_CLASS (esiSequence)
 
int elementIndex (ESIElement::Pointer anElement) const
 
esiProcessResult_t processOne (int, size_t)
 
size_t nextElementToProcess () const
 
void nextElementToProcess (size_t const &)
 
bool finishedProcessing () const
 
void processStep (int dovars)
 

Private Attributes

bool mayFail_
 
bool failed
 
bool const provideIncrementalData
 
bool processing
 
esiProcessResult_t processingResult
 
size_t nextElementToProcess_
 

Detailed Description

Definition at line 215 of file Esi.cc.

Member Typedef Documentation

◆ Pointer

Definition at line 46 of file Element.h.

Member Enumeration Documentation

◆ ESIElementType_t

Enumerator
ESI_ELEMENT_NONE 
ESI_ELEMENT_INCLUDE 
ESI_ELEMENT_COMMENT 
ESI_ELEMENT_REMOVE 
ESI_ELEMENT_TRY 
ESI_ELEMENT_ATTEMPT 
ESI_ELEMENT_EXCEPT 
ESI_ELEMENT_VARS 
ESI_ELEMENT_CHOOSE 
ESI_ELEMENT_WHEN 
ESI_ELEMENT_OTHERWISE 
ESI_ELEMENT_ASSIGN 

Definition at line 49 of file Element.h.

Constructor & Destructor Documentation

◆ esiOtherwise()

esiOtherwise::esiOtherwise ( esiTreeParentPtr  aParent)
inline

Definition at line 216 of file Esi.cc.

Member Function Documentation

◆ addElement()

bool esiSequence::addElement ( ESIElement::Pointer  element)
virtualinherited

◆ elementIndex()

int esiSequence::elementIndex ( ESIElement::Pointer  anElement) const
privateinherited

Definition at line 177 of file Sequence.cc.

References esiSequence::elements.

Referenced by esiSequence::provideData().

◆ fail()

void esiSequence::fail ( ESIElement ,
char const *  anError = NULL 
)
virtualinherited

◆ finish()

void esiSequence::finish ( )
virtualinherited

Implements ESIElement.

Definition at line 104 of file Sequence.cc.

References debugs, esiSequence::elements, FinishAllElements(), NULL, and esiSequence::parent.

◆ finishedProcessing()

bool esiSequence::finishedProcessing ( ) const
privateinherited

Definition at line 60 of file Sequence.cc.

References esiSequence::elements, and esiSequence::nextElementToProcess().

Referenced by esiSequence::process().

◆ IdentifyElement()

◆ makeCachableElements()

void esiSequence::makeCachableElements ( esiSequence const &  old)
inherited

◆ makeCacheable()

◆ makeUsable()

ESIElement::Pointer esiSequence::makeUsable ( esiTreeParentPtr  newParent,
ESIVarState newVarState 
) const
virtualinherited

◆ makeUsableElements()

void esiSequence::makeUsableElements ( esiSequence const &  old,
ESIVarState newVarState 
)
inherited

◆ mayFail()

bool esiSequence::mayFail ( ) const
virtualinherited

Reimplemented from ESIElement.

Definition at line 66 of file Sequence.cc.

References esiSequence::failed, and esiSequence::mayFail_.

◆ MEMPROXY_CLASS()

esiSequence::MEMPROXY_CLASS ( esiSequence  )
privateinherited

◆ nextElementToProcess() [1/2]

size_t esiSequence::nextElementToProcess ( ) const
privateinherited

◆ nextElementToProcess() [2/2]

void esiSequence::nextElementToProcess ( size_t const &  aSizeT)
privateinherited

Definition at line 54 of file Sequence.cc.

References esiSequence::nextElementToProcess_.

◆ process()

◆ processOne()

◆ processStep()

void esiSequence::processStep ( int  dovars)
privateinherited

◆ provideData()

void esiSequence::provideData ( ESISegment::Pointer  data,
ESIElement source 
)
virtualinherited

◆ render()

void esiSequence::render ( ESISegment::Pointer  output)
virtualinherited

◆ wontFail()

void esiSequence::wontFail ( )
inherited

Definition at line 75 of file Sequence.cc.

References assert, esiSequence::failed, and esiSequence::mayFail_.

Referenced by esiSequence::process().

Member Data Documentation

◆ dovars

int esiSequence::dovars
inherited

◆ elements

◆ failed

bool esiSequence::failed
privateinherited

◆ flags

struct { ... } esiSequence::flags

◆ mayFail_

bool esiSequence::mayFail_
privateinherited

Definition at line 53 of file Sequence.h.

Referenced by esiSequence::mayFail(), and esiSequence::wontFail().

◆ nextElementToProcess_

size_t esiSequence::nextElementToProcess_
privateinherited

Definition at line 59 of file Sequence.h.

Referenced by esiSequence::nextElementToProcess().

◆ parent

esiTreeParentPtr esiSequence::parent
protectedinherited

◆ processedcount

size_t esiSequence::processedcount
inherited

◆ processing

bool esiSequence::processing
privateinherited

Definition at line 57 of file Sequence.h.

Referenced by esiSequence::fail(), esiSequence::process(), and esiSequence::provideData().

◆ processingResult

esiProcessResult_t esiSequence::processingResult
privateinherited

Definition at line 58 of file Sequence.h.

Referenced by esiSequence::process(), and esiSequence::processStep().

◆ provideIncrementalData

bool const esiSequence::provideIncrementalData
privateinherited

Definition at line 56 of file Sequence.h.

Referenced by esiSequence::process().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors