|
| | Mime () |
| |
| | Mime (const Data &type, const Data &subType) |
| |
| | Mime (const HeaderFieldValue &hfv, Headers::Type type, PoolBase *pool=0) |
| |
| | Mime (const Mime &orig, PoolBase *pool=0) |
| |
| Mime & | operator= (const Mime &) |
| |
| bool | operator< (const Mime &rhs) const |
| |
| bool | isEqual (const Mime &rhs) const |
| |
| bool | operator== (const Mime &rhs) const |
| |
| bool | operator!= (const Mime &rhs) const |
| |
| const Data & | type () const |
| |
| const Data & | subType () const |
| |
| Data & | type () |
| |
| Data & | subType () |
| |
| virtual void | parse (ParseBuffer &pb) |
| |
| virtual ParserCategory * | clone () const |
| |
| virtual ParserCategory * | clone (void *location) const |
| |
| virtual ParserCategory * | clone (PoolBase *pool) const |
| |
| virtual EncodeStream & | encodeParsed (EncodeStream &str) const |
| |
| virtual Parameter * | createParam (ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool) |
| |
| bool | exists (const Param< Mime > ¶mType) const |
| |
| void | remove (const Param< Mime > ¶mType) |
| |
| | defineParam (accessType, "access-type", DataParameter, "RFC 2046") |
| |
| | defineParam (boundary, "boundary", DataParameter, "RFC 2046") |
| |
| | defineParam (charset, "charset", DataParameter, "RFC 2045") |
| |
| | defineParam (directory, "directory", DataParameter, "RFC 2046") |
| |
| | defineParam (expiration, "expiration", QuotedDataParameter, "RFC 2046") |
| |
| | defineParam (micalg, "micalg", DataParameter, "RFC 1847") |
| |
| | defineParam (mode, "mode", DataParameter, "RFC 2046") |
| |
| | defineParam (name, "name", DataParameter, "RFC 2046") |
| |
| | defineParam (permission, "permission", DataParameter, "RFC 2046") |
| |
| | defineParam (protocol, "protocol", QuotedDataParameter, "RFC 1847") |
| |
| | defineParam (q, "q", QValueParameter, "RFC 3261") |
| |
| | defineParam (server, "server", DataParameter, "RFC 2046") |
| |
| | defineParam (site, "site", DataParameter, "RFC 2046") |
| |
| | defineParam (size, "size", DataParameter, "RFC 2046") |
| |
| | defineParam (smimeType, "smime-type", DataParameter, "RFC 2633") |
| |
| | defineParam (url, "url", QuotedDataParameter, "RFC 4483") |
| |
| bool | exists (const ParamBase ¶mType) const |
| | Checks for the existence of a natively supported parameter.
|
| |
| bool | exists (const ExtensionParameter ¶m) const |
| | Checks for the existence of a non-natively-supported parameter.
|
| |
| void | remove (const ParamBase ¶mType) |
| | Removes a natively supported parameter, if the parameter is present.
|
| |
| void | remove (const ExtensionParameter ¶m) |
| | Removes a non-natively-supported parameter, if the parameter is present.
|
| |
| const Data & | param (const ExtensionParameter ¶m) const |
| | Const accessor for non-natively-supported parameter types.
|
| |
| Data & | param (const ExtensionParameter ¶m) |
| | Accessor for non-natively-supported parameter types.
|
| |
| | ParserCategory (const HeaderFieldValue &headerFieldValue, Headers::Type type, PoolBase *pool=0) |
| |
| | ParserCategory (const char *buf, int length, Headers::Type type, PoolBase *pool=0) |
| |
| | ParserCategory (const ParserCategory &rhs, PoolBase *pool=0) |
| |
| ParserCategory & | operator= (const ParserCategory &rhs) |
| |
| virtual | ~ParserCategory () |
| |
| bool | exists (const ParamBase ¶mType) const |
| | Checks for the existence of a natively supported parameter.
|
| |
| void | remove (const ParamBase ¶mType) |
| | Removes a natively supported parameter, if the parameter is present.
|
| |
| const Data & | param (const ExtensionParameter ¶m) const |
| | Const accessor for non-natively-supported parameter types.
|
| |
| Data & | param (const ExtensionParameter ¶m) |
| | Accessor for non-natively-supported parameter types.
|
| |
| void | remove (const ExtensionParameter ¶m) |
| | Removes a non-natively-supported parameter, if the parameter is present.
|
| |
| bool | exists (const ExtensionParameter ¶m) const |
| | Checks for the existence of a non-natively-supported parameter.
|
| |
| void | removeParametersExcept (const ParameterTypeSet &set=EmptyParameterTypeSet) |
| | Removes all known parameters except those that are specified in set.
|
| |
| void | clearUnknownParameters () |
| |
| void | parseParameters (ParseBuffer &pb) |
| |
| EncodeStream & | encodeParameters (EncodeStream &str) const |
| | Encodes parameters as they should appear on the wire.
|
| |
| Data | commutativeParameterHash () const |
| |
| Parameter * | getParameterByEnum (ParameterTypes::Type type) const |
| |
| void | removeParameterByEnum (ParameterTypes::Type type) |
| |
| void | setParameter (const Parameter *parameter) |
| |
| int | numKnownParams () const |
| | Returns the number of known (natively supported) parameters.
|
| |
| int | numUnknownParams () const |
| | Returns the number of unknown parameters.
|
| |
| | LazyParser (const HeaderFieldValue &headerFieldValue) |
| |
| | LazyParser (const char *buf, int length) |
| |
| | LazyParser (const HeaderFieldValue &headerFieldValue, HeaderFieldValue::CopyPaddingEnum e) |
| |
| | LazyParser (const LazyParser &rhs) |
| |
| | LazyParser (const LazyParser &rhs, HeaderFieldValue::CopyPaddingEnum e) |
| |
| LazyParser & | operator= (const LazyParser &rhs) |
| |
| virtual | ~LazyParser () |
| |
| EncodeStream & | encode (EncodeStream &str) const |
| | Encodes this element to a stream, in the fashion it should be represented on the wire.
|
| |
| bool | isParsed () const |
| | Returns true iff a parse has been attempted.
|
| |
| HeaderFieldValue & | getHeaderField () |
| |
| void | checkParsed () const |
| |
| void | checkParsed () |
| |
| void | doParse () const |
| |
| void | markDirty () const |
| |
| bool | isWellFormed () const |
| | Returns true iff this element was parsed successfully, according to the implementation of parse().
|
| |
Represents the "media-type" element in the RFC 3261 grammar.
Definition at line 19 of file Mime.hxx.