Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 704

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

\section{ost::MIMEMultipart Class Reference}
\label{classost_1_1_m_i_m_e_multipart}\index{ost::MIMEMultipart@{ost::MIMEMultipart}}
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.container for streamable multi-part MIME documents.  


{\tt \#include $<$mime.h$>$}

Inheritance diagram for ost::MIMEMultipart::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classost_1_1_m_i_m_e_multipart}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf MIMEMultipart} (const char $\ast$document)
\begin{CompactList}\small\item\em Contruct a multi-part document, and describe it's type. \item\end{CompactList}\item 
virtual void {\bf head} (std::ostream $\ast$output)
\begin{CompactList}\small\item\em Stream the headers of the multi-part document. \item\end{CompactList}\item 
virtual void {\bf body} (std::ostream $\ast$output)
\begin{CompactList}\small\item\em Stream the \char`\"{}body\char`\"{} of the multi-part document. \item\end{CompactList}\item 
char $\ast$$\ast$ {\bf get\-Headers} (void)
\begin{CompactList}\small\item\em Get a string array of the headers to use. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf $\sim$MIMEMultipart} ()
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
char {\bf boundry} [8]
\item 
char {\bf mtype} [80]
\item 
char $\ast$ {\bf header} [16]
\item 
{\bf MIMEItem\-Part} $\ast$ {\bf first}
\item 
{\bf MIMEItem\-Part} $\ast$ {\bf last}
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class \_\-\_\-EXPORT {\bf MIMEItem\-Part}
\end{CompactItemize}


\subsection{Detailed Description}
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.container for streamable multi-part MIME documents. 

\begin{Desc}
\item[Author:]David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ost::MIMEMultipart@{ost::MIMEMultipart}!~MIMEMultipart@{$\sim$MIMEMultipart}}
\index{~MIMEMultipart@{$\sim$MIMEMultipart}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual ost::MIMEMultipart::$\sim$MIMEMultipart ()\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classost_1_1_m_i_m_e_multipart_b7fdd0ab484793ea59fc3b6d809b2442}


\index{ost::MIMEMultipart@{ost::MIMEMultipart}!MIMEMultipart@{MIMEMultipart}}
\index{MIMEMultipart@{MIMEMultipart}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::MIMEMultipart::MIMEMultipart (const char $\ast$ {\em document})}\label{classost_1_1_m_i_m_e_multipart_070c004ebc3915e73869c1725f224a66}


Contruct a multi-part document, and describe it's type. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em document}](content) type. \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\index{ost::MIMEMultipart@{ost::MIMEMultipart}!body@{body}}
\index{body@{body}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void ost::MIMEMultipart::body (std::ostream $\ast$ {\em output})\hspace{0.3cm}{\tt  [virtual]}}\label{classost_1_1_m_i_m_e_multipart_6424775d0f3b4f559a6071f5be068699}


Stream the \char`\"{}body\char`\"{} of the multi-part document. 

This involves streaming the headers and body of each document part.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em output}]to stream document body into. \end{description}
\end{Desc}
\index{ost::MIMEMultipart@{ost::MIMEMultipart}!getHeaders@{getHeaders}}
\index{getHeaders@{getHeaders}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$$\ast$ ost::MIMEMultipart::get\-Headers (void)\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_m_i_m_e_multipart_26c9209ef177b4b1646a4c03ee9eb805}


Get a string array of the headers to use. 

This is used to assist {\bf URLStream::post}{\rm (p.\,\pageref{classost_1_1_u_r_l_stream_ee618168078e0d73898999cf4ab08515})}.

\begin{Desc}
\item[Returns:]array of headers. \end{Desc}
\index{ost::MIMEMultipart@{ost::MIMEMultipart}!head@{head}}
\index{head@{head}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void ost::MIMEMultipart::head (std::ostream $\ast$ {\em output})\hspace{0.3cm}{\tt  [virtual]}}\label{classost_1_1_m_i_m_e_multipart_73d237e0828e4199ba8e61e4255f3f88}


Stream the headers of the multi-part document. 

The headers of individual entities are streamed as part of the body.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em output}]to stream document header into. \end{description}
\end{Desc}


\subsection{Friends And Related Function Documentation}
\index{ost::MIMEMultipart@{ost::MIMEMultipart}!MIMEItemPart@{MIMEItemPart}}
\index{MIMEItemPart@{MIMEItemPart}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class \_\-\_\-EXPORT {\bf MIMEItem\-Part}\hspace{0.3cm}{\tt  [friend]}}\label{classost_1_1_m_i_m_e_multipart_4f98f88fc457aa4ca845ee14b338459e}




\subsection{Member Data Documentation}
\index{ost::MIMEMultipart@{ost::MIMEMultipart}!boundry@{boundry}}
\index{boundry@{boundry}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char {\bf ost::MIMEMultipart::boundry}[8]\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_m_i_m_e_multipart_be8761e32ba1ed1321ac134049104751}


\index{ost::MIMEMultipart@{ost::MIMEMultipart}!first@{first}}
\index{first@{first}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf MIMEItem\-Part}$\ast$ {\bf ost::MIMEMultipart::first}\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_m_i_m_e_multipart_b160fb8e43c17980800ea3f1e754394a}


\index{ost::MIMEMultipart@{ost::MIMEMultipart}!header@{header}}
\index{header@{header}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf ost::MIMEMultipart::header}[16]\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_m_i_m_e_multipart_987f1ba6c1e502847957ee35d70e98ed}


\index{ost::MIMEMultipart@{ost::MIMEMultipart}!last@{last}}
\index{last@{last}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf MIMEItem\-Part} $\ast$ {\bf ost::MIMEMultipart::last}\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_m_i_m_e_multipart_8248a953ff8a034c54f27c185bc8b8fb}


\index{ost::MIMEMultipart@{ost::MIMEMultipart}!mtype@{mtype}}
\index{mtype@{mtype}!ost::MIMEMultipart@{ost::MIMEMultipart}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char {\bf ost::MIMEMultipart::mtype}[80]\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_m_i_m_e_multipart_ca8bbbb8e854bd5de64d5f7fec149645}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf mime.h}\end{CompactItemize}