]> git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/IntParam.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / IntParam.h
1 /*
2 * $Id$
3 *
4 * DEBUG: section 16 Cache Manager API
5 *
6 */
7
8 #ifndef SQUID_MGR_INT_PARAM_H
9 #define SQUID_MGR_INT_PARAM_H
10
11 #include "ipc/forward.h"
12 #include "mgr/forward.h"
13 #include "mgr/QueryParam.h"
14 #include <vector>
15
16 namespace Mgr
17 {
18
19 class IntParam: public QueryParam
20 {
21 public:
22 IntParam();
23 IntParam(const std::vector<int>& anArray);
24 virtual void pack(Ipc::TypedMsgHdr& msg) const;
25 virtual void unpackValue(const Ipc::TypedMsgHdr& msg);
26 const std::vector<int>& value() const;
27
28 private:
29 std::vector<int> array;
30 };
31
32 } // namespace Mgr
33
34 #endif /* SQUID_MGR_INT_PARAM_H */