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