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

RWMimeParameter

Module:  Internet Protocols Module   Package:  MIME


Does not inherit

Local Index

Members

Header File

#include <rw/mime/RWMimeParameter.h>

Description

RWMimeParameter represents a parameter within the value of a MIME header. Each MIME parameter has a name and a value. An equal sign separates the name and the value. For example, the parameter charset=us-ascii contains the name charset and the value us-ascii.

The parameter name may consist of US-ASCII characters with the exception of control characters, space, or any of the special characters shown below:

The parameter value may contain any US-ASCII character with the exception of US-ASCII control characters, carriage return, and linefeed.

Reference

RWMimeParameter creates parameters in the syntax specified by RFC 2045, Section 5.

Public Constructors

RWMimeParameter(void);

NOTE -- A parameter with an empty name and an empty value does not meet the specification of a MIME parameter.
RWMimeParameter(const RWCString& name, const RWCString& value);
RWMimeParameter(const RWMimeParameter& second);

Public Destructor

~RWMimeParameter(void);

Public Member Operator

RWMimeParameter&
operator=(const RWMimeParameter& second);

Logical Operator

bool
operator==(const RWMimeParameter& first,
           const RWMimeParameter& second);

Public Member Functions

RWCstring
asString(void) const;
void
fromString(const RWCString& parameterString);
RWCString
getName(void) const;
RWCString
getValue(void) const;
void
setName(const RWCString& name);
void
setValue(const RWCString& value);


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.