]>
Commit | Line | Data |
---|---|---|
3248e962 | 1 | /* |
77b1029d | 2 | * Copyright (C) 1996-2020 The Squid Software Foundation and contributors |
3248e962 CT |
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_ACLSQUIDERRORDATA_H | |
10 | #define SQUID_ACLSQUIDERRORDATA_H | |
11 | ||
12 | #include "acl/Data.h" | |
13 | #include "base/CbDataList.h" | |
83b053a0 | 14 | #include "error/forward.h" |
3248e962 CT |
15 | |
16 | /// \ingroup ACLAPI | |
17 | class ACLSquidErrorData : public ACLData<err_type> | |
18 | { | |
19 | ||
20 | public: | |
21 | ACLSquidErrorData(): ACLData<err_type>() {}; | |
22 | ||
23 | virtual ~ACLSquidErrorData() {} | |
24 | virtual bool match(err_type err); | |
25 | virtual SBufList dump() const; | |
26 | virtual void parse(); | |
27 | virtual bool empty() const; | |
28 | virtual ACLData<err_type> *clone() const; | |
29 | ||
30 | private: | |
31 | CbDataListContainer <err_type> errors; | |
32 | }; | |
33 | ||
34 | #endif //SQUID_ACLSQUIDERRORDATA_H | |
44352c16 | 35 |