1#if !defined(RESIP_EXPIRES_CATEGORY_HXX)
2#define RESIP_EXPIRES_CATEGORY_HXX
52#define defineParam(_enum, _name, _type, _RFC_ref_ignored) \
53 const _enum##_Param::DType& param(const _enum##_Param& paramType) const; \
54 _enum##_Param::DType& param(const _enum##_Param& paramType); \
55 friend class _enum##_Param
Generically represents miscellaneous parameter data.
Represents the header field value for an Expires-type header.
ExpiresCategory & operator=(const ExpiresCategory &)
virtual void parse(ParseBuffer &pb)
bool exists(const Param< ExpiresCategory > ¶mType) const
virtual EncodeStream & encodeParsed(EncodeStream &str) const
defineParam(refresher, "refresher", DataParameter, "RFC 4028")
virtual ParserCategory * clone() const
static constexpr CommaHandlingMode commaHandling
void remove(const Param< ExpiresCategory > ¶mType)
virtual Parameter * createParam(ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool)
Parameter *(* Factory)(ParameterTypes::Type, ParseBuffer &, const std::bitset< 256 > &terminators, PoolBase *pool)
Provides string-parsing functionality with protection from buffer overflow.
Base class for all SIP grammar elements that can have parameters.
void remove(const ParamBase ¶mType)
Removes a natively supported parameter, if the parameter is present.
bool exists(const ParamBase ¶mType) const
Checks for the existence of a natively supported parameter.
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
dcm! – add UnusedChecking(_enum) below;