NoteData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 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_ACLNOTEDATA_H
10 #define SQUID_ACLNOTEDATA_H
11 
12 #include "acl/Data.h"
13 #include "Notes.h"
14 #include "SquidString.h"
15 
16 class ACLStringData;
17 
19 class ACLNoteData : public ACLData<NotePairs::Entry *>
20 {
22 
23 public:
24  ACLNoteData();
25  virtual ~ACLNoteData();
26  virtual bool match(NotePairs::Entry *);
27  virtual SBufList dump() const;
28  virtual void parse();
29  virtual bool empty() const;
30  virtual ACLData<NotePairs::Entry *> *clone() const;
31 
32 private:
35 };
36 
37 #endif /* SQUID_ACLNOTEDATA_H */
38 
virtual ~ACLNoteData()
Definition: NoteData.cc:22
virtual bool empty() const
Definition: NoteData.cc:57
Definition: SBuf.h:86
SBuf name
Note name to check. It is always set.
Definition: NoteData.h:33
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
ACLStringData * values
if set, at least one value must match
Definition: NoteData.h:34
Used to store a note key/value pair.
Definition: Notes.h:173
std::list< SBuf > SBufList
Definition: forward.h:22
virtual SBufList dump() const
Definition: NoteData.cc:39
virtual ACLData< NotePairs::Entry * > * clone() const
Definition: NoteData.cc:63
virtual bool match(NotePairs::Entry *)
Definition: NoteData.cc:28
MEMPROXY_CLASS(ACLNoteData)
virtual void parse()
Definition: NoteData.cc:48

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors