Note.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 
12 #include "acl/CharacterSetOption.h"
13 #include "acl/Data.h"
14 #include "acl/Strategy.h"
15 #include "Notes.h"
16 
17 namespace Acl {
18 
20 class AnnotationStrategy: public ACLStrategy<NotePairs::Entry *>
21 {
22 public:
24 
25  virtual const Acl::Options &options() override;
26 
28 };
29 
30 } // namespace Acl
31 
34 {
35 
36 public:
37  virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *);
38  virtual bool requiresRequest() const { return true; }
39 
40 private:
41  bool matchNotes(ACLData<MatchType> *, const NotePairs *) const;
42 };
43 
44 #endif /* SQUID_ACLNOTE_H */
45 
virtual const Acl::Options & options() override
Definition: Note.cc:19
virtual int match(ACLData< MatchType > *&, ACLFilledChecklist *)
Definition: Note.cc:32
common parent of several ACLs dealing with transaction annotations
Definition: Note.h:20
virtual bool requiresRequest() const
Definition: Note.h:38
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:17
A matching algorithm.
Definition: Strategy.h:21
bool matchNotes(ACLData< MatchType > *, const NotePairs *) const
Definition: Note.cc:47
std::map< OptionName, const Option *, OptionNameCmp > Options
name:option map
Definition: Options.h:159
Acl::CharacterSetOptionValue delimiters
annotation separators
Definition: Note.h:27

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors