]> git.ipfire.org Git - thirdparty/squid.git/blame - src/mgr/IntParam.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / IntParam.h
CommitLineData
b8151fa1
CT
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
b8151fa1
CT
16namespace Mgr
17{
18
19class IntParam: public QueryParam
20{
21public:
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
28private:
29 std::vector<int> array;
30};
31
32} // namespace Mgr
33
34#endif /* SQUID_MGR_INT_PARAM_H */