Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cHttpHeadTag Class Reference

#include <cHttpHeader.h>

Public Member Functions

 cHttpHeadTag (HTTP_TAG_TYPE eTag=HTTP_TAG_UNK, cStringA sVal="") noexcept
 
HTTP_TAG_TYPE get_HashCode () const noexcept
 

Static Public Member Functions

static StrLen_t GRAYCALL GetSizeWriteTag (HTTP_TAG_TYPE eTag, cStringA sTag)
 
static HRESULT GRAYCALL WriteTag (cStreamOutput *pOut, HTTP_TAG_TYPE eTag, cStringA sTag)
 

Public Attributes

HTTP_TAG_TYPE m_eTag
 What tag type? one of each per header. order is not important. More...
 
cStringA m_sVal
 The string may evaluate to int,'string' or enum constant. More...
 

Static Public Attributes

static const char *const k_aszTags [HTTP_TAG_QTY+1]
 standard HTTP tags I will store. More...
 

Detailed Description

A single tag in the HTTP header. Just toss any unknown tags i get from strange servers. Only allow one tag or each type and assume order is not important. Multiple entries of the same HTTP_TAG_TYPE may just be appended to each other comma separated. similar to cMailTag.

Constructor & Destructor Documentation

◆ cHttpHeadTag()

GrayLib::cHttpHeadTag::cHttpHeadTag ( HTTP_TAG_TYPE  eTag = HTTP_TAG_UNK,
cStringA  sVal = "" 
)
inlinenoexcept

Member Function Documentation

◆ get_HashCode()

HTTP_TAG_TYPE GrayLib::cHttpHeadTag::get_HashCode ( ) const
inlinenoexcept

◆ GetSizeWriteTag()

StrLen_t GRAYCALL GrayLib::cHttpHeadTag::GetSizeWriteTag ( HTTP_TAG_TYPE  eTag,
cStringA  sTag 
)
static

◆ WriteTag()

HRESULT GRAYCALL GrayLib::cHttpHeadTag::WriteTag ( cStreamOutput pOut,
HTTP_TAG_TYPE  eTag,
cStringA  sTag 
)
static

Write GetSizeWriteTag

Member Data Documentation

◆ k_aszTags

const char *const GrayLib::cHttpHeadTag::k_aszTags
static
Initial value:
=
{
#define cHttpTag(a,b,c,d,e)
nullptr,
}

standard HTTP tags I will store.

◆ m_eTag

HTTP_TAG_TYPE GrayLib::cHttpHeadTag::m_eTag

What tag type? one of each per header. order is not important.

◆ m_sVal

cStringA GrayLib::cHttpHeadTag::m_sVal

The string may evaluate to int,'string' or enum constant.


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