|
Squid Web Cache master
|
#include <StringParam.h>
Public Types | |
| enum | Type { ptInt = 1 , ptString } |
| typedef RefCount< QueryParam > | Pointer |
Public Member Functions | |
| StringParam () | |
| StringParam (const String &aString) | |
| void | pack (Ipc::TypedMsgHdr &msg) const override |
| store parameter into msg | |
| void | unpackValue (const Ipc::TypedMsgHdr &msg) override |
| load parameter value from msg | |
| const String & | value () const |
Public Attributes | |
| Type | type |
Private Attributes | |
| String | str |
Definition at line 22 of file StringParam.h.
|
inherited |
Definition at line 24 of file QueryParam.h.
|
inherited |
| Enumerator | |
|---|---|
| ptInt | |
| ptString | |
Definition at line 23 of file QueryParam.h.
| Mgr::StringParam::StringParam | ( | ) |
Definition at line 15 of file StringParam.cc.
| Mgr::StringParam::StringParam | ( | const String & | aString | ) |
Definition at line 20 of file StringParam.cc.
|
overridevirtual |
Implements Mgr::QueryParam.
Definition at line 26 of file StringParam.cc.
References Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::putString().
|
overridevirtual |
Implements Mgr::QueryParam.
Definition at line 33 of file StringParam.cc.
References Ipc::TypedMsgHdr::getString().
| const String & Mgr::StringParam::value | ( | ) | const |
Definition at line 39 of file StringParam.cc.
|
private |
Definition at line 32 of file StringParam.h.
|
inherited |
Definition at line 37 of file QueryParam.h.
Referenced by Mgr::Inquirer::applyQueryParams().