1#if !defined(RESIP_GENERIC_URI_HXX)
2#define RESIP_GENERIC_URI_HXX
50#define defineParam(_enum, _name, _type, _RFC_ref_ignored) \
51 const _enum##_Param::DType& param(const _enum##_Param& paramType) const; \
52 _enum##_Param::DType& param(const _enum##_Param& paramType); \
53 friend class _enum##_Param
Generically represents miscellaneous parameter data.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Represents the "absoluteURI" element in the RFC 3261 grammar.
GenericUri & operator=(const GenericUri &)
virtual ParserCategory * clone() const
void remove(const Param< GenericUri > ¶mType)
defineParam(ppt, "ppt", DataParameter, "RFC 8224")
virtual Parameter * createParam(ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool)
static constexpr CommaHandlingMode commaHandling
defineParam(alg, "alg", DataParameter, "RFC 8224")
virtual void parse(ParseBuffer &pb)
bool exists(const Param< GenericUri > ¶mType) const
defineParam(purpose, "purpose", DataParameter, "RFC 3261")
virtual EncodeStream & encodeParsed(EncodeStream &str) const
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.
@ CommasAllowedOutputMulti
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
Container class for ParserCategory, used by SipMessage to represent multi-valued headers (Contact,...
dcm! – add UnusedChecking(_enum) below;
ParserContainer< GenericUri > GenericUris