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

#include <cMailMessage.h>

Public Member Functions

 cMailTag (MAIL_TAG_TYPE eTag=MAIL_TAG_UNK, cStringA sVal="") noexcept
 
MAIL_TAG_TYPE get_HashCode () const noexcept
 
HRESULT WriteTag (cStreamOutput *pOut) const
 

Static Public Member Functions

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

Public Attributes

MAIL_TAG_TYPE m_eTag
 What tag type? one of each per header. order is not important. More...
 
cStringA m_sVal
 the value may be int,'string' or enum constant. More...
 

Static Public Attributes

static const char * k_aszTags [MAIL_TAG_QTY+1]
 

Detailed Description

A single tag in the mail message header for POP or SMTP. similar to cHttpHeadTag

Constructor & Destructor Documentation

◆ cMailTag()

GrayLib::cMailTag::cMailTag ( MAIL_TAG_TYPE  eTag = MAIL_TAG_UNK,
cStringA  sVal = "" 
)
inlinenoexcept

Member Function Documentation

◆ get_HashCode()

MAIL_TAG_TYPE GrayLib::cMailTag::get_HashCode ( ) const
inlinenoexcept

◆ GetSizeWriteTag()

StrLen_t GRAYCALL GrayLib::cMailTag::GetSizeWriteTag ( MAIL_TAG_TYPE  eTag,
cStringA  sTag 
)
static

◆ WriteTag() [1/2]

HRESULT GrayLib::cMailTag::WriteTag ( cStreamOutput pOut) const

◆ WriteTag() [2/2]

HRESULT GRAYCALL GrayLib::cMailTag::WriteTag ( cStreamOutput pOut,
MAIL_TAG_TYPE  eTag,
cStringA  sTag 
)
static

Write GetSizeWriteTag

Member Data Documentation

◆ k_aszTags

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

◆ m_eTag

MAIL_TAG_TYPE GrayLib::cMailTag::m_eTag

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

◆ m_sVal

cStringA GrayLib::cMailTag::m_sVal

the value may be int,'string' or enum constant.


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