class Poco::Net::PartStore

Overview

A parent class for part stores storing message parts. Moreā€¦

#include <PartStore.h>

class PartStore: public Poco::Net::PartSource
{
public:
    // construction

    PartStore(const std::string& mediaType);
};

// direct descendants

class FilePartStore;

Inherited Members

public:
    // fields

    static const int UNKNOWN_CONTENT_LENGTH;

    // methods

    virtual
    std::istream&
    stream() = 0;

    virtual
    const std::string&
    filename() const;

    const std::string&
    mediaType() const;

    MessageHeader&
    headers();

    const MessageHeader&
    headers() const;

    virtual
    std::streamsize
    getContentLength() const;

Detailed Documentation

A parent class for part stores storing message parts.

Construction

PartStore(const std::string& mediaType)

Creates the PartStore for the given MIME type.