Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  
Public Member Functions | Protected Member Functions | List of all members
Rfc822Header Class Reference

RFC822 header class object. More...

#include <header.h>

Inheritance diagram for Rfc822Header:
Header

Public Member Functions

bool hasField (const std::string &) const
 
const Fieldfield (const std::string &) const
 
Fieldfield (const std::string &)
 
const Mailboxsender () const
 
Mailboxsender ()
 
void sender (const Mailbox &)
 
const MailboxListfrom () const
 
MailboxListfrom ()
 
void from (const MailboxList &)
 
const AddressListto () const
 
AddressListto ()
 
void to (const AddressList &)
 
const std::string & subject () const
 
std::string & subject ()
 
void subject (const std::string &)
 
const AddressListreplyto () const
 
AddressListreplyto ()
 
void replyto (const AddressList &)
 
const AddressListcc () const
 
AddressListcc ()
 
void cc (const AddressList &)
 
const AddressListbcc () const
 
AddressListbcc ()
 
void bcc (const AddressList &)
 
const MessageIdmessageid () const
 
MessageIdmessageid ()
 
void messageid (const MessageId &)
 

Protected Member Functions

template<typename T >
const T & getField (const std::string &) const
 
template<typename T >
T & getField (const std::string &)
 
template<typename T >
void setField (const std::string &, const T &)
 

Detailed Description

RFC822 header class object.

Use this class to build or parse message header fields. This is a STL container so you can browse fields using iterators(see ex. below).

See also
RFC822

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