This is a base class for the complex MIME header fields. It inherits from HeaderField, and provides methods to parse and maintain a list of MIME parameters.
Constructs a new MimeField of type t. Only for use by subclasses. Users should obtain MimeFields from HeaderField::create().
Adds a parameter named n with value v, replacing any previous setting.
Returns the value of the parameter named n (ignoring the case of the name). If there is no such parameter, this function returns an empty string.
Returns the canonical string representation of this MimeField's parameters() (including the leading ";"), or an empty string if there are no parameters.
Returns a pointer to a list of the parameters for this MimeField. This is never a null pointer.
Parses p, which is expected to refer to a string whose next characters form the RFC 2045 production '*(";"parameter)'.
Removes the parameter named n (without regard to case), or does nothing if there is no such parameter.
Like HeaderField::value(), returns the contents of this MIME field in a representation suitable for storage.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.