Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  

Body Class Reference

MIME message body. More...

#include <body.h>

List of all members.

Public Member Functions

void set (const std::string &)
bool load (const std::string &)
template<typename Codec >
bool load (const std::string &, const Codec &)
template<typename Codec >
bool code (const Codec &)
void preamble (const std::string &)
const std::string & preamble () const
std::string & preamble ()
void epilogue (const std::string &)
const std::string & epilogue () const
std::string & epilogue ()
MimeEntityListparts ()
const MimeEntityListparts () const
MimeEntityowner ()
const MimeEntityowner () const

Protected Member Functions

void owner (MimeEntity *)

Protected Attributes

MimeEntitym_owner
MimeEntityList m_parts
std::string m_preamble
std::string m_epilogue

Friends

class MimeEntity

Detailed Description

MIME message body.


Member Function Documentation

bool code ( const Codec &  cc  )  [inline]

en/decode body content

Referenced by Body::load().

const std::string& epilogue (  )  const

get body epilogue

See also:
RFC822
void epilogue ( const std::string &   ) 

set body epilogue

See also:
RFC822
bool load ( const std::string &  fqn,
const Codec &  cc 
) [inline]

load file and code it using Codec

References Body::code().

bool load ( const std::string &   ) 

load file as is, no encoding is performed

MimeEntity* owner (  ) 

get body's MimeEntity owner

MimeEntityList& parts (  ) 

get body's parts list

const std::string& preamble (  )  const

get body preamble

See also:
RFC822
void preamble ( const std::string &   ) 

set body preamble

See also:
RFC822
void set ( const std::string &   ) 

set body content


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