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

pan::PartBatch Class Reference
[Backend Interfaces]

#include <parts.h>

List of all members.

Detailed Description

Batches together parts of a multipart post for efficient adding to a Parts object.

See also:

Definition at line 131 of file parts.h.

Public Types

typedef Parts::bytes_t bytes_t
typedef Parts::number_t number_t

Public Member Functions

void add_part (number_t num, const StringView &mid, bytes_t bytes)
void init (const Quark &mid, number_t n_parts=0, number_t n_found=0)
void sort ()

Private Types

typedef std::vector< Part > parts_t

Private Attributes

number_t n_parts_found
number_t n_parts_total
size_t packed_mids_len
parts_t parts
Quark reference_mid


class Parts


struct  Part

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

Generated by  Doxygen 1.6.0   Back to index