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

Helper class to embed file attachments. More...

#include <message.h>

Inheritance diagram for Attachment:
MimeEntity AudioBasic ImageJpeg

Public Member Functions

 Attachment (const std::string &)
 
 Attachment (const std::string &, const ContentType &)
 
template<typename Codec >
 Attachment (const std::string &, const Codec &c)
 
template<typename Codec >
 Attachment (const std::string &, const ContentType &, const Codec &c)
 
bool operator() () const
 
bool isValid () const
 
- Public Member Functions inherited from MimeEntity
 MimeEntity ()
 
template<typename Iterator >
 MimeEntity (Iterator beg, Iterator end, int mask=imNone)
 
 MimeEntity (std::istream &)
 
template<typename OutputIt >
size_type copy (OutputIt out)
 
Headerheader ()
 
const Headerheader () const
 
Bodybody ()
 
const Bodybody () const
 
template<typename Iterator >
void load (Iterator, Iterator, int mask=imNone)
 
void load (std::istream &, int mask=imNone)
 
bool hasField (const std::string &) const
 
size_type size () const
 

Additional Inherited Members

- Protected Member Functions inherited from MimeEntity
void commonInit ()
 
virtual std::ostream & write (std::ostream &, const char *eol=0) const
 
- Protected Attributes inherited from MimeEntity
Header m_header
 
Body m_body
 
size_type m_lines
 
size_type m_size
 

Detailed Description

Helper class to embed file attachments.

Constructor & Destructor Documentation

Attachment ( const std::string &  )

defaults to application/octet-stream

Attachment ( const std::string &  fqn,
const Codec &  codec 
)

defaults to application/octet-stream


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