Note.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef SQUID_ACLNOTE_H
10#define SQUID_ACLNOTE_H
11
13#include "acl/Data.h"
14#include "acl/Strategy.h"
15#include "Notes.h"
16
17namespace Acl {
18
20class AnnotationStrategy: public ACLStrategy<NotePairs::Entry *>
21{
22public:
24
25 virtual const Acl::Options &options() override;
26
28};
29
30} // namespace Acl
31
34{
35
36public:
37 virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *);
38 virtual bool requiresRequest() const { return true; }
39
40private:
41 bool matchNotes(ACLData<MatchType> *, const NotePairs *) const;
42};
43
44#endif /* SQUID_ACLNOTE_H */
45
virtual bool requiresRequest() const
Definition: Note.h:38
bool matchNotes(ACLData< MatchType > *, const NotePairs *) const
Definition: Note.cc:45
virtual int match(ACLData< MatchType > *&, ACLFilledChecklist *)
Definition: Note.cc:30
A matching algorithm.
Definition: Strategy.h:22
common parent of several ACLs dealing with transaction annotations
Definition: Note.h:21
virtual const Acl::Options & options() override
Definition: Note.cc:19
Acl::CharacterSetOptionValue delimiters
annotation separators
Definition: Note.h:27
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:18
Definition: Acl.cc:31
std::vector< const Option * > Options
Definition: Options.h:214

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors