ost::MIMEItemPart(3) Library Functions Manual ost::MIMEItemPart(3)NAME
ost::MIMEItemPart -
This is used to attach an item part to a MIME multipart document that is being streamed.
SYNOPSIS
#include <mime.h>
Inherited by ost::MIMEFormData.
Protected Member Functions
virtual void head (std::ostream *output)
Stream the header(s) for the current document part.
virtual void body (std::ostream *output)=0
Stream the content of this document part.
MIMEItemPart (MIMEMultipart *top, const char *ct)
Construct and attach a document part to a multipart document.
virtual ~MIMEItemPart ()
Protected Attributes
MIMEMultipart * base
MIMEItemPart * next
const char * ctype
Friends
class __EXPORT MIMEMultipart
Detailed Description
This is used to attach an item part to a MIME multipart document that is being streamed.
The base item part class is used by all derived items.
Author:
David Sugar dyfet@ostel.com item or part of a multi-part object.
Constructor & Destructor Documentation
ost::MIMEItemPart::MIMEItemPart (MIMEMultipart *top, const char *ct) [protected]
Construct and attach a document part to a multipart document. Parameters:
top multipart document to attach to.
ct Content-Type to use.
virtual ost::MIMEItemPart::~MIMEItemPart () [protected], [virtual]
Member Function Documentation
virtual void ost::MIMEItemPart::body (std::ostream *output) [protected], [pure virtual]
Stream the content of this document part. Parameters:
output to stream document body into.
Implemented in ost::MIMEFormData.
virtual void ost::MIMEItemPart::head (std::ostream *output) [protected], [virtual]
Stream the header(s) for the current document part. Parameters:
output to stream header into.
Reimplemented in ost::MIMEFormData.
Friends And Related Function Documentation
friend class __EXPORT MIMEMultipart [friend]
Member Data Documentation
MIMEMultipart* ost::MIMEItemPart::base [protected]
const char* ost::MIMEItemPart::ctype [protected]
MIMEItemPart* ost::MIMEItemPart::next [protected]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::MIMEItemPart(3)
Check Out this Related Man Page
ost::Digest(3) Library Functions Manual ost::Digest(3)NAME
ost::Digest -
The digest base class is used for implementing and deriving one way hashing functions.
SYNOPSIS
#include <digest.h>
Inherited by ost::ChecksumDigest, ost::CRC16Digest, ost::CRC32Digest, and ost::MD5Digest.
Public Member Functions
virtual void initDigest (void)=0
Reset the digest table to an initial default value.
virtual ~Digest ()
Protected Member Functions
Digest ()
virtual unsigned getSize (void)=0
Get the size of a digest in octets.
virtual unsigned getDigest (unsigned char *buffer)=0
Copy the binary digest buffer to user memory.
virtual void putDigest (const unsigned char *buffer, unsigned length)=0
Put data into the digest bypassing the stream subsystem.
virtual std::ostream & strDigest (std::ostream &os)=0
print a digest string for export.
Friends
std::ostream & operator<< (std::ostream &os, Digest &ia)
Detailed Description
The digest base class is used for implementing and deriving one way hashing functions.
Author:
David Sugar dyfet@ostel.com base class for hashing services.
Constructor & Destructor Documentation
ost::Digest::Digest () [protected]
virtual ost::Digest::~Digest () [virtual]
Member Function Documentation
virtual unsigned ost::Digest::getDigest (unsigned char *buffer) [protected], [pure virtual]
Copy the binary digest buffer to user memory. Returns:
number of bytes in digest.
Parameters:
buffer to write into.
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
virtual unsigned ost::Digest::getSize (void) [protected], [pure virtual]
Get the size of a digest in octets. Returns:
number of bytes in digest.
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
virtual void ost::Digest::initDigest (void) [pure virtual]
Reset the digest table to an initial default value.
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
virtual void ost::Digest::putDigest (const unsigned char *buffer, unsignedlength) [protected], [pure virtual]
Put data into the digest bypassing the stream subsystem. Parameters:
buffer to read from.
length of data.
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
virtual std::ostream& ost::Digest::strDigest (std::ostream &os) [protected], [pure virtual]
print a digest string for export. Returns:
string representation of digest.
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
Friends And Related Function Documentation
std::ostream& operator<< (std::ostream &os, Digest &ia) [friend]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::Digest(3)