#include <HasComponentData.h>
![Inheritance graph](classACLHasComponentData__inherit__graph.png)
![Collaboration graph](classACLHasComponentData__coll__graph.png)
Public Member Functions | |
ACLHasComponentData () | |
bool | match (ACLChecklist *) override |
SBufList | dump () const override |
void | parse () override |
bool | empty () const override |
virtual const Acl::Options & | lineOptions () |
supported ACL "line" options (e.g., "-i") More... | |
virtual SBufList | dump () const=0 |
virtual void | prepareForUse () |
virtual bool | empty () const=0 |
Private Types | |
enum | ComponentKind { coRequest = 0, coResponse, coAle, coEnd } |
typedef bool(ACLChecklist::* | ComponentCheck) () const |
Private Member Functions | |
MEMPROXY_CLASS (ACLHasComponentData) | |
void | parseComponent (const char *token) |
Private Attributes | |
std::vector< ComponentCheck > | componentMethods |
component check callbacks, ordered by component kind ID More... | |
Static Private Attributes | |
static const SBuf | RequestStr |
static const SBuf | ResponseStr |
static const SBuf | AleStr |
Detailed Description
Definition at line 16 of file HasComponentData.h.
Member Typedef Documentation
◆ ComponentCheck
|
private |
Definition at line 37 of file HasComponentData.h.
Member Enumeration Documentation
◆ ComponentKind
|
private |
Enumerator | |
---|---|
coRequest | |
coResponse | |
coAle | |
coEnd |
Definition at line 30 of file HasComponentData.h.
Constructor & Destructor Documentation
◆ ACLHasComponentData()
ACLHasComponentData::ACLHasComponentData | ( | ) |
Definition at line 19 of file HasComponentData.cc.
Member Function Documentation
◆ dump() [1/2]
|
override |
Definition at line 52 of file HasComponentData.cc.
References AleStr, coAle, componentMethods, coRequest, coResponse, RequestStr, and ResponseStr.
◆ dump() [2/2]
|
pure virtualinherited |
◆ empty() [1/2]
|
inlineoverride |
Definition at line 27 of file HasComponentData.h.
◆ empty() [2/2]
|
pure virtualinherited |
◆ lineOptions()
|
inlinevirtualinherited |
◆ match()
|
overridevirtual |
Implements ACLData< ACLChecklist * >.
Definition at line 43 of file HasComponentData.cc.
References componentMethods.
◆ MEMPROXY_CLASS()
|
private |
◆ parse()
|
overridevirtual |
Implements ACLData< ACLChecklist * >.
Definition at line 24 of file HasComponentData.cc.
References DBG_CRITICAL, debugs, parseComponent(), self_destruct(), and ConfigParser::strtokFile().
◆ parseComponent()
|
private |
Definition at line 65 of file HasComponentData.cc.
References AleStr, SBuf::cmp(), coAle, componentMethods, coRequest, coResponse, DBG_CRITICAL, debugs, ACLChecklist::hasAle(), ACLChecklist::hasReply(), ACLChecklist::hasRequest(), RequestStr, ResponseStr, and self_destruct().
Referenced by parse().
◆ prepareForUse()
|
inlinevirtualinherited |
Member Data Documentation
◆ AleStr
|
staticprivate |
Definition at line 35 of file HasComponentData.h.
Referenced by dump(), and parseComponent().
◆ componentMethods
|
private |
Definition at line 39 of file HasComponentData.h.
Referenced by dump(), match(), and parseComponent().
◆ RequestStr
|
staticprivate |
Definition at line 33 of file HasComponentData.h.
Referenced by dump(), and parseComponent().
◆ ResponseStr
|
staticprivate |
Definition at line 34 of file HasComponentData.h.
Referenced by dump(), and parseComponent().
The documentation for this class was generated from the following files:
- src/acl/HasComponentData.h
- src/acl/HasComponentData.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products