1#if !defined(RESIP_TOKEN_OR_QUOTED_STRING_CATEGORY_HXX)
2#define RESIP_TOKEN_OR_QUOTED_STRING_CATEGORY_HXX
63#define defineParam(_enum, _name, _type, _RFC_ref_ignored) \
64 const _enum##_Param::DType& param(const _enum##_Param& paramType) const; \
65 _enum##_Param::DType& param(const _enum##_Param& paramType); \
66 friend class _enum##_Param
Generically represents miscellaneous parameter data.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
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.
@ CommasAllowedOutputCommas
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,...
Generically represents a token whose value can be wrapped and encoded using double quotes.
bool isEqual(const TokenOrQuotedStringCategory &rhs) const
virtual EncodeStream & encodeParsed(EncodeStream &str) const
bool operator==(const TokenOrQuotedStringCategory &rhs) const
virtual ParserCategory * clone() const
virtual void parse(ParseBuffer &pb)
bool operator!=(const TokenOrQuotedStringCategory &rhs) const
static constexpr CommaHandlingMode commaHandling
defineParam(content, "content", DataParameter, "draft-ietf-cuss-sip-uui-17")
const Data & value() const
defineParam(encoding, "encoding", DataParameter, "draft-ietf-cuss-sip-uui-17")
defineParam(purpose, "purpose", DataParameter, "draft-ietf-cuss-sip-uui-17")
virtual Parameter * createParam(ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool)
TokenOrQuotedStringCategory & operator=(const TokenOrQuotedStringCategory &rhs)
bool operator<(const TokenOrQuotedStringCategory &rhs) const
TokenOrQuotedStringCategory()
void remove(const Param< TokenOrQuotedStringCategory > ¶mType)
bool exists(const Param< TokenOrQuotedStringCategory > ¶mType) const
dcm! – add UnusedChecking(_enum) below;
ParserContainer< TokenOrQuotedStringCategory > TokenOrQuotedStringCategories