

Public Member Functions | |
esiTry (esiTreeParentPtr aParent) | |
~esiTry () | |
void | render (ESISegment::Pointer) |
bool | addElement (ESIElement::Pointer) |
void | fail (ESIElement *, char const *=NULL) |
esiProcessResult_t | process (int dovars) |
void | provideData (ESISegment::Pointer data, ESIElement *source) |
Pointer | makeCacheable () const |
Pointer | makeUsable (esiTreeParentPtr, ESIVarState &) const |
void | finish () |
virtual bool | mayFail () const |
Static Public Member Functions | |
static ESIElementType_t | IdentifyElement (const char *) |
Public Attributes | |
ESIElement::Pointer | attempt |
ESIElement::Pointer | except |
struct { | |
int attemptok:1 | |
int exceptok:1 | |
int attemptfailed:1 | |
int exceptfailed:1 | |
} | flags |
Private Member Functions | |
MEMPROXY_CLASS (esiTry) | |
void | notifyParent () |
esiTry (esiTry const &) | |
esiProcessResult_t | bestAttemptRV () const |
Private Attributes | |
esiTreeParentPtr | parent |
ESISegment::Pointer | exceptbuffer |
Detailed Description
Member Typedef Documentation
◆ Pointer
|
inherited |
Member Enumeration Documentation
◆ ESIElementType_t
|
inherited |
Constructor & Destructor Documentation
◆ esiTry() [1/2]
esiTry::esiTry | ( | esiTreeParentPtr | aParent | ) |
Definition at line 1646 of file Esi.cc.
References flags.
Referenced by makeCacheable(), and makeUsable().
◆ ~esiTry()
◆ esiTry() [2/2]
|
private |
Member Function Documentation
◆ addElement()
|
virtual |
Reimplemented from ESIElement.
Definition at line 1676 of file Esi.cc.
References attempt, DBG_IMPORTANT, debugs, except, and RefCount< C >::getRaw().
◆ bestAttemptRV()
|
private |
Definition at line 1712 of file Esi.cc.
References ESI_PROCESS_COMPLETE, ESI_PROCESS_PENDING_MAYFAIL, and flags.
Referenced by process().
◆ fail()
|
virtual |
Reimplemented from esiTreeParent.
Definition at line 1812 of file Esi.cc.
References assert, attempt, debugs, except, flags, and notifyParent().
◆ finish()
|
virtual |
Implements ESIElement.
Definition at line 1888 of file Esi.cc.
References attempt, except, ESIElement::finish(), RefCount< C >::getRaw(), NULL, and parent.
◆ IdentifyElement()
|
staticinherited |
Definition at line 861 of file Esi.cc.
References assert, ESIElement::ESI_ELEMENT_ASSIGN, ESIElement::ESI_ELEMENT_ATTEMPT, ESIElement::ESI_ELEMENT_CHOOSE, ESIElement::ESI_ELEMENT_COMMENT, ESIElement::ESI_ELEMENT_EXCEPT, ESIElement::ESI_ELEMENT_INCLUDE, ESIElement::ESI_ELEMENT_NONE, ESIElement::ESI_ELEMENT_OTHERWISE, ESIElement::ESI_ELEMENT_REMOVE, ESIElement::ESI_ELEMENT_TRY, ESIElement::ESI_ELEMENT_VARS, and ESIElement::ESI_ELEMENT_WHEN.
Referenced by ESIContext::end(), and ESIContext::start().
◆ makeCacheable()
|
virtual |
Implements ESIElement.
Definition at line 1854 of file Esi.cc.
References esiTry(), attempt, debugs, except, RefCount< C >::getRaw(), and ESIElement::makeCacheable().
◆ makeUsable()
|
virtual |
Implements ESIElement.
Definition at line 1870 of file Esi.cc.
References esiTry(), attempt, debugs, except, RefCount< C >::getRaw(), ESIElement::makeUsable(), and parent.
◆ mayFail()
|
inlinevirtualinherited |
Reimplemented in esiSequence.
Definition at line 77 of file Element.h.
Referenced by ESIContext::send().
◆ MEMPROXY_CLASS()
|
private |
◆ notifyParent()
|
private |
Definition at line 1797 of file Esi.cc.
References except, exceptbuffer, esiTreeParent::fail(), flags, RefCount< C >::getRaw(), NULL, parent, and esiTreeParent::provideData().
Referenced by fail(), and provideData().
◆ process()
|
virtual |
Reimplemented from ESIElement.
Definition at line 1721 of file Esi.cc.
References attempt, bestAttemptRV(), DBG_CRITICAL, debugs, ESI_PROCESS_COMPLETE, ESI_PROCESS_FAILED, ESI_PROCESS_PENDING_MAYFAIL, ESI_PROCESS_PENDING_WONTFAIL, except, flags, RefCount< C >::getRaw(), and ESIElement::process().
◆ provideData()
|
virtual |
Reimplemented from esiTreeParent.
Definition at line 1828 of file Esi.cc.
References assert, attempt, data, except, exceptbuffer, flags, ESISegment::ListTransfer(), notifyParent(), NULL, parent, and esiTreeParent::provideData().
◆ render()
|
virtual |
Implements ESIElement.
Definition at line 1654 of file Esi.cc.
References assert, attempt, debugs, except, exceptbuffer, flags, RefCount< C >::getRaw(), ESISegment::ListTransfer(), and ESIElement::render().
Member Data Documentation
◆ attempt
ESIElement::Pointer esiTry::attempt |
Definition at line 139 of file Esi.cc.
Referenced by esiTry(), addElement(), fail(), finish(), makeCacheable(), makeUsable(), process(), provideData(), and render().
◆ attemptfailed
◆ attemptok
◆ except
ESIElement::Pointer esiTry::except |
Definition at line 140 of file Esi.cc.
Referenced by esiTry(), addElement(), fail(), finish(), makeCacheable(), makeUsable(), notifyParent(), process(), provideData(), and render().
◆ exceptbuffer
|
private |
Definition at line 153 of file Esi.cc.
Referenced by esiTry(), notifyParent(), provideData(), and render().
◆ exceptfailed
◆ exceptok
◆ flags
struct { ... } esiTry::flags |
Referenced by esiTry(), bestAttemptRV(), fail(), notifyParent(), process(), provideData(), and render().
◆ parent
|
private |
Definition at line 152 of file Esi.cc.
Referenced by esiTry(), finish(), makeUsable(), notifyParent(), and provideData().
The documentation for this class was generated from the following file:
- src/esi/Esi.cc