7#ifndef _MIMETIC_RFC822_ADDRESS_H_
8#define _MIMETIC_RFC822_ADDRESS_H_
10#include <mimetic/rfc822/mailbox.h>
11#include <mimetic/rfc822/group.h>
12#include <mimetic/rfc822/fieldvalue.h>
32struct Address:
public FieldValue
36 Address(
const std::string&);
41 const Group& group()
const;
42 void set(
const std::string&);
43 std::string str()
const;
44 bool operator==(
const Address&)
const;
45 bool operator!=(
const Address&)
const;
47 FieldValue* clone()
const;
Represent the group type in the RFC822.
Definition group.h:42
Represents a mailbox email address as defined in the RFC822.
Definition mailbox.h:47