#include <LogTags.h>

Collaboration diagram for LogTags:

Classes

class  Errors
 

Public Member Functions

 LogTags (LogTags_ot t)
 
LogTagsoperator= (const LogTags_ot &t)
 
const char * c_str () const
 compute the status access.log field More...
 
bool isTcpHit () const
 determine if the log tag code indicates a cache HIT More...
 

Public Attributes

class LogTags::Errors err
 
LogTags_ot oldType
 

Static Private Attributes

static const char * Str_ []
 list of string representations for LogTags_ot More...
 

Detailed Description

Definition at line 49 of file LogTags.h.

Constructor & Destructor Documentation

LogTags::LogTags ( LogTags_ot  t)
inline

Definition at line 52 of file LogTags.h.

References assert, LOG_TYPE_MAX, and oldType.

Member Function Documentation

LogTags& LogTags::operator= ( const LogTags_ot t)
inline

Definition at line 55 of file LogTags.h.

References assert, LOG_TYPE_MAX, and oldType.

Member Data Documentation

const char * LogTags::Str_
staticprivate
Initial value:
= {
"TAG_NONE",
"TCP_HIT",
"TCP_MISS",
"TCP_REFRESH_UNMODIFIED",
"TCP_REFRESH_FAIL_OLD",
"TCP_REFRESH_FAIL_ERR",
"TCP_REFRESH_MODIFIED",
"TCP_REFRESH",
"TCP_CLIENT_REFRESH_MISS",
"TCP_IMS_HIT",
"TCP_INM_HIT",
"TCP_SWAPFAIL_MISS",
"TCP_NEGATIVE_HIT",
"TCP_MEM_HIT",
"TCP_DENIED",
"TCP_DENIED_REPLY",
"TCP_OFFLINE_HIT",
"TCP_REDIRECT",
"TCP_TUNNEL",
"UDP_HIT",
"UDP_MISS",
"UDP_DENIED",
"UDP_INVALID",
"UDP_MISS_NOFETCH",
"ICP_QUERY",
"TYPE_MAX"
}

Definition at line 77 of file LogTags.h.

Referenced by c_str().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors