Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Internet Protocols Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWMimeContentIdHeader

Module:  Internet Protocols Module   Package:  MIME


RWMimeContentIdHeaderRWMimeHeaderRWHandleBase

Local Index

Members

Header File

#include <rw/mime/RWMimeContentIdHeader.h> 

Description

RWMimeContentIdHeader represents the Content-ID header of a MIME part. The header is designed to allow external references to a MIME part. Therefore, the MIME format requires that the value of the header be world-unique. For example, a MIME message might contain the Content-ID header:

In general, a MIME message contains one Content-ID header at the top level of the message. For multipart/alternative messages, the MIME specification suggests that each alternative have a different Content-ID header unless all alternatives contain equivalent information.

An instance of this class is a handle to a private, reference-counted body.

Reference

RWMimeContentIdHeader conforms to the Content-ID header requirements specified in RFC 2045, Section 7. For a discussion of Content-ID and multipart/alternative messages, see RFC 2046 Section 5.1.4.

Public Static Data Member

static const RWCString Label;

Public Constructors

RWMimeContentIdHeader(void);

NOTE -- A header with an empty value does not meet the requirements for a Content-ID header.
RWMimeContentIdHeader(const RWCString& id);

NOTE -- This constructor cannot verify that the provided id is world-unique.
RWMimeContentIdHeader(const RWMimeContentIdHeader& second);
RWMimeContentIdHeader(const RWMimeHeader& second);

Public Destructor

virtual ~RWMimeContentIdHeader(void);

Public Member Operator

RWMimeContentIdHeader&
operator=(const RWMimeContentIdHeader& second);

Public Member Functions

RWCString
getId(void) const;
void
setId(const RWCString& id);

NOTE -- This function cannot verify that the provided id is world-unique.

Protected Member Functions

RWMimeStructuredHeaderImp&
body(void) const;
virtual bool
checkLabel(const RWCString& label) const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.