Public Types |
Public Member Functions |
Public Attributes |
Private Member Functions |
Private Attributes |
Friends |
List of all members
Note::Value Class Reference
Stores a value for the note. More...
#include <Notes.h>
Inheritance diagram for Note::Value:
![Inheritance graph](classNote_1_1Value__inherit__graph.png)
Collaboration diagram for Note::Value:
![Collaboration graph](classNote_1_1Value__coll__graph.png)
Public Types | |
enum | Method { mhReplace, mhAppend } |
typedef RefCount< Value > | Pointer |
Public Member Functions | |
Value (const char *aVal, const bool quoted, const char *descr, const Method method=mhReplace) | |
~Value () override | |
Value (const Value &)=delete | |
Value & | operator= (const Value &)=delete |
Method | method () const |
const SBuf & | value () const |
Public Attributes | |
ACLList * | aclList |
The access list used to determine if this value is valid for a request. More... | |
Private Member Functions | |
const SBuf & | format (const AccessLogEntryPointer &al) |
Private Attributes | |
Format::Format * | valueFormat |
Compiled annotation value format. More... | |
SBuf | theValue |
SBuf | theFormattedValue |
The expanded value produced by format(), empty for non-quoted values. More... | |
Method | theMethod |
Friends | |
class | Note |
Detailed Description
Member Typedef Documentation
◆ Pointer
typedef RefCount<Value> Note::Value::Pointer |
Member Enumeration Documentation
◆ Method
enum Note::Value::Method |
Constructor & Destructor Documentation
◆ Value() [1/2]
Note::Value::Value | ( | const char * | aVal, |
const bool | quoted, | ||
const char * | descr, | ||
const Method | method = mhReplace |
||
) |
Definition at line 37 of file Notes.cc.
References SBuf::c_str(), Here, Format::Format::parse(), theValue, ToSBuf(), and valueFormat.
◆ ~Value()
|
override |
Definition at line 31 of file Notes.cc.
References aclDestroyAclList(), aclList, and valueFormat.
◆ Value() [2/2]
|
delete |
Member Function Documentation
◆ format()
|
private |
- Returns
- the formatted value with expanded logformat macros (quoted values).
- the original value (non-quoted values).
Definition at line 50 of file Notes.cc.
References MemBuf::content(), and MemBuf::reset().
◆ method()
|
inline |
◆ operator=()
◆ value()
|
inline |
Friends And Related Function Documentation
◆ Note
Member Data Documentation
◆ aclList
◆ theFormattedValue
◆ theMethod
|
private |
◆ theValue
|
private |
◆ valueFormat
|
private |
The documentation for this class was generated from the following files:
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