#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  More... | |
| void | unpackValue (const Ipc::TypedMsgHdr &msg) override | 
| load parameter value from msg  More... | |
| const String & | value () const | 
| Public Attributes | |
| Type | type | 
| Private Attributes | |
| String | str | 
Detailed Description
Definition at line 22 of file StringParam.h.
Member Typedef Documentation
◆ Pointer
| 
 | inherited | 
Definition at line 24 of file QueryParam.h.
Member Enumeration Documentation
◆ Type
| 
 | inherited | 
| Enumerator | |
|---|---|
| ptInt | |
| ptString | |
Definition at line 23 of file QueryParam.h.
Constructor & Destructor Documentation
◆ StringParam() [1/2]
| Mgr::StringParam::StringParam | ( | ) | 
Definition at line 15 of file StringParam.cc.
◆ StringParam() [2/2]
| Mgr::StringParam::StringParam | ( | const String & | aString | ) | 
Definition at line 20 of file StringParam.cc.
Member Function Documentation
◆ pack()
| 
 | overridevirtual | 
Implements Mgr::QueryParam.
Definition at line 26 of file StringParam.cc.
References Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::putString().
◆ unpackValue()
| 
 | overridevirtual | 
Implements Mgr::QueryParam.
Definition at line 33 of file StringParam.cc.
References Ipc::TypedMsgHdr::getString().
◆ value()
| const String & Mgr::StringParam::value | ( | ) | const | 
Definition at line 39 of file StringParam.cc.
Member Data Documentation
◆ str
| 
 | private | 
Definition at line 32 of file StringParam.h.
◆ type
| 
 | inherited | 
Definition at line 37 of file QueryParam.h.
Referenced by Mgr::Inquirer::applyQueryParams().
The documentation for this class was generated from the following files:
- src/mgr/StringParam.h
- src/mgr/StringParam.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
