#include <llmime.h>
Collaboration diagram for LLMimeParser:
Public Member Functions | |
LLMimeParser () | |
~LLMimeParser () | |
void | reset () |
bool | parseIndex (std::istream &istr, LLMimeIndex &index) |
Parse a stream to find the mime index information. | |
bool | parseIndex (const std::vector< U8 > &buffer, LLMimeIndex &index) |
Parse a vector to find the mime index information. | |
bool | parseIndex (std::istream &istr, S32 limit, LLMimeIndex &index) |
Parse a stream to find the mime index information. | |
bool | parseIndex (const U8 *buffer, S32 buffer_length, LLMimeIndex &index) |
Parse a memory bufffer to find the mime index information. | |
Protected Attributes | |
Impl & | mImpl |
Private Member Functions | |
LLMimeParser (const LLMimeParser &parser) | |
LLMimeParser & | operator= (const LLMimeParser &mime) |
Classes | |
class | Impl |
Implementation details of the mime parser class. More... |
THOROUGH_DESCRIPTION
Definition at line 207 of file llmime.h.
LLMimeParser::LLMimeParser | ( | ) |
Definition at line 582 of file llmime.cpp.
LLMimeParser::~LLMimeParser | ( | ) |
LLMimeParser::LLMimeParser | ( | const LLMimeParser & | parser | ) | [private] |
LLMimeParser& LLMimeParser::operator= | ( | const LLMimeParser & | mime | ) | [private] |
bool LLMimeParser::parseIndex | ( | const U8 * | buffer, | |
S32 | buffer_length, | |||
LLMimeIndex & | index | |||
) |
Parse a memory bufffer to find the mime index information.
buffer | The start of the buffer to parse. | |
buffer_length | The length of the buffer. | |
index[out] | The parsed output. |
Definition at line 619 of file llmime.cpp.
References parseIndex().
bool LLMimeParser::parseIndex | ( | std::istream & | istr, | |
S32 | limit, | |||
LLMimeIndex & | index | |||
) |
Parse a stream to find the mime index information.
This method will scan the istr until a single complete mime entity is read, an EOF, or limit bytes have been scanned. The istr will be modified by this parsing, so pass in a temporary stream or rewind/reset the stream after this call.
istr | An istream which contains a mime entity. | |
limit | The maximum number of bytes to scan. | |
index[out] | The parsed output. |
Definition at line 610 of file llmime.cpp.
References mImpl, and LLMimeParser::Impl::parseIndex().
bool LLMimeParser::parseIndex | ( | const std::vector< U8 > & | buffer, | |
LLMimeIndex & | index | |||
) |
Parse a vector to find the mime index information.
buffer | A vector with data to parse. | |
index[out] | The parsed output. |
Definition at line 602 of file llmime.cpp.
References parseIndex().
bool LLMimeParser::parseIndex | ( | std::istream & | istr, | |
LLMimeIndex & | index | |||
) |
Parse a stream to find the mime index information.
This method will scan the istr until a single complete mime entity is read or EOF. The istr will be modified by this parsing, so pass in a temporary stream or rewind/reset the stream after this call.
istr | An istream which contains a mime entity. | |
index[out] | The parsed output. |
Definition at line 596 of file llmime.cpp.
References mImpl, LLMimeParser::Impl::parseIndex(), and S32_MAX.
Referenced by parseIndex().
void LLMimeParser::reset | ( | ) |
Impl& LLMimeParser::mImpl [protected] |