37 assert(start == nodes.begin());
74 for (Nodes::const_iterator i = start; i != nodes.end(); ++i) {
107 lastMatch_ = nodes.end();
110 for (Nodes::const_iterator i = start; i != nodes.end(); ++i) {
111 if (bannedAction(checklist, i))
bool keepMatching() const
Whether we should continue to match tree nodes or stop/pause.
bool matchChild(const Acl::InnerNode *parent, Acl::Nodes::const_iterator pos)
void parse() override
parses node representation in squid.conf; dies on failures
char const * typeString() const override
int doMatch(ACLChecklist *checklist, Nodes::const_iterator start) const override
void add(Acl::Node *node)
appends the node to the collection and takes control over it
SBufList dump() const override
char const * typeString() const override
void parse() override
parses node representation in squid.conf; dies on failures
int doMatch(ACLChecklist *checklist, Nodes::const_iterator start) const override
void parse() override
parses node representation in squid.conf; dies on failures
char const * typeString() const override
virtual bool bannedAction(ACLChecklist *, Nodes::const_iterator) const
int doMatch(ACLChecklist *checklist, Nodes::const_iterator start) const override
void push_back(char)
Append a single character. The character may be NUL (\0).
void reserveCapacity(size_type minCapacity)
size_type length() const
Returns the number of bytes stored in SBuf.
SBuf & append(const SBuf &S)
std::list< SBuf > SBufList
SBuf text("GET http://resource.com/path HTTP/1.1\r\n" "Host: resource.com\r\n" "Cookie: laijkpk3422r j1noin \r\n" "\r\n")