#include <Except.h>

Inheritance diagram for esiExcept:
Collaboration diagram for esiExcept:

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

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

Static Public Member Functions

static ESIElementType_t IdentifyElement (const char *)
 

Public Attributes

Esi::Elements elements
 
size_t processedcount
 
struct {
   unsigned 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 19 of file Except.h.

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

◆ esiExcept()

esiExcept::esiExcept ( esiTreeParentPtr  aParent)
inline

Definition at line 23 of file Except.h.

Member Function Documentation

◆ addElement()

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

◆ 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 = nullptr 
)
overridevirtualinherited

◆ finish()

void esiSequence::finish ( )
overridevirtualinherited

Implements ESIElement.

Definition at line 104 of file Sequence.cc.

References debugs, esiSequence::elements, FinishAllElements(), 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()

ESIElement::Pointer esiSequence::makeCacheable ( ) const
overridevirtualinherited

◆ makeUsable()

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

◆ makeUsableElements()

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

◆ mayFail()

bool esiSequence::mayFail ( ) const
overridevirtualinherited

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 
)
overridevirtualinherited

◆ render()

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

◆ 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

unsigned int esiSequence::dovars
inherited

◆ elements

◆ failed

bool esiSequence::failed
privateinherited

◆ 

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 class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors