|
Squid Web Cache master
|
#include <IntParam.h>
Public Types | |
| enum | Type { ptInt = 1 , ptString } |
| typedef RefCount< QueryParam > | Pointer |
Public Member Functions | |
| IntParam () | |
| IntParam (const std::vector< int > &anArray) | |
| void | pack (Ipc::TypedMsgHdr &msg) const override |
| store parameter into msg | |
| void | unpackValue (const Ipc::TypedMsgHdr &msg) override |
| load parameter value from msg | |
| const std::vector< int > & | value () const |
Public Attributes | |
| Type | type |
Private Attributes | |
| std::vector< int > | array |
Definition at line 22 of file IntParam.h.
|
inherited |
Definition at line 24 of file QueryParam.h.
|
inherited |
| Enumerator | |
|---|---|
| ptInt | |
| ptString | |
Definition at line 23 of file QueryParam.h.
| Mgr::IntParam::IntParam | ( | ) |
Definition at line 17 of file IntParam.cc.
| Mgr::IntParam::IntParam | ( | const std::vector< int > & | anArray | ) |
Definition at line 22 of file IntParam.cc.
|
overridevirtual |
Implements Mgr::QueryParam.
Definition at line 28 of file IntParam.cc.
References Ipc::TypedMsgHdr::putInt(), and Ipc::TypedMsgHdr::putPod().
|
overridevirtual |
Implements Mgr::QueryParam.
Definition at line 38 of file IntParam.cc.
References Ipc::TypedMsgHdr::getInt(), and Must.
| const std::vector< int > & Mgr::IntParam::value | ( | ) | const |
Definition at line 48 of file IntParam.cc.
Referenced by Mgr::Inquirer::applyQueryParams().
|
private |
Definition at line 32 of file IntParam.h.
|
inherited |
Definition at line 37 of file QueryParam.h.
Referenced by Mgr::Inquirer::applyQueryParams().