StringParam.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
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 /* DEBUG: section 16 Cache Manager API */
10 
11 #ifndef SQUID_MGR_STRING_PARAM_H
12 #define SQUID_MGR_STRING_PARAM_H
13 
14 #include "ipc/forward.h"
15 #include "mgr/forward.h"
16 #include "mgr/QueryParam.h"
17 #include "SquidString.h"
18 
19 namespace Mgr
20 {
21 
22 class StringParam: public QueryParam
23 {
24 public:
25  StringParam();
26  StringParam(const String& aString);
27  virtual void pack(Ipc::TypedMsgHdr& msg) const;
28  virtual void unpackValue(const Ipc::TypedMsgHdr& msg);
29  const String& value() const;
30 
31 private:
33 };
34 
35 } // namespace Mgr
36 
37 #endif /* SQUID_MGR_STRING_PARAM_H */
38 
virtual void pack(Ipc::TypedMsgHdr &msg) const
store parameter into msg
Definition: StringParam.cc:26
const String & value() const
Definition: StringParam.cc:39
virtual void unpackValue(const Ipc::TypedMsgHdr &msg)
load parameter value from msg
Definition: StringParam.cc:33
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:31
Cache Manager API.
Definition: Action.h:19

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors