Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::Net::PartSource Class Reference

#include <PartSource.h>

Inheritance diagram for Poco::Net::PartSource:

Poco::Net::FilePartSource Poco::Net::StringPartSource

List of all members.


Detailed Description

This abstract class is used for adding parts or attachments to mail messages, as well as for uploading files as part of a HTML form.

Definition at line 51 of file PartSource.h.


Public Member Functions

virtual const std::string & filename ()
const std::string & mediaType () const
virtual std::istream & stream ()=0
virtual ~PartSource ()
 Returns the MIME media type for this part or attachment.

Protected Member Functions

 PartSource (const std::string &mediaType)
 PartSource ()
 Destroys the PartSource.

Private Member Functions

PartSourceoperator= (const PartSource &)
 PartSource (const PartSource &)

Private Attributes

std::string _mediaType

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

Generated by  Doxygen 1.6.0   Back to index