Barry::Message Class Reference
[RecordParserClasses]

List of all members.

Detailed Description

Definition at line 43 of file r_message.h.

Public Types

enum  MessagePriorityType
enum  MessageSensitivityType

Public Member Functions

const unsigned char * ParseField (const unsigned char *begin, const unsigned char *end)
 Message ()
 ~Message ()
uint8_t GetRecType () const
uint32_t GetUniqueId () const
void SetIds (uint8_t Type, uint32_t Id)
void ParseHeader (const Data &data, size_t &offset)
void ParseFields (const Data &data, size_t &offset)
void BuildHeader (Data &data, size_t &offset) const
void BuildFields (Data &data, size_t &offset) const
void Clear ()
void Dump (std::ostream &os) const
bool operator< (const Message &other) const

Static Public Member Functions

static const char * GetDBName ()
static uint8_t GetDefaultRecType ()

Public Attributes

uint8_t RecType
uint32_t RecordId
EmailAddress From
EmailAddress To
EmailAddress Cc
EmailAddress Bcc
EmailAddress Sender
EmailAddress ReplyTo
std::string Subject
std::string Body
std::string Attachment
uint32_t MessageRecordId
uint32_t MessageReplyTo
time_t MessageDateSent
time_t MessageDateReceived
bool MessageTruncated
bool MessageRead
bool MessageReply
bool MessageSaved
bool MessageSavedDeleted
MessagePriorityType MessagePriority
MessageSensitivityType MessageSensitivity
std::vector< UnknownFieldUnknowns

Protected Member Functions

std::string SimpleEmailAddress () const


The documentation for this class was generated from the following files:
Generated on Wed Sep 24 21:27:33 2008 for Barry by  doxygen 1.5.1