2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLSTRINGDATA_H
10 #define SQUID_ACLSTRINGDATA_H
14 #include "sbuf/SBuf.h"
18 class ACLStringData
: public ACLData
<char const *>
20 MEMPROXY_CLASS(ACLStringData
);
24 ACLStringData(ACLStringData
const &);
25 ACLStringData
&operator= (ACLStringData
const &);
26 virtual ~ACLStringData() {}
27 /// \deprecated use match(SBuf&) instead.
28 bool match(char const *);
29 bool match(const SBuf
&);
30 virtual SBufList
dump() const;
33 virtual ACLData
<char const *> *clone() const;
34 /// Insert a string data value
35 void insert(const char *);
38 typedef std::set
<SBuf
> StringValues_t
;
39 StringValues_t stringValues
;
42 #endif /* SQUID_ACLSTRINGDATA_H */