1#if !defined(RESIP_UINT32_CATEGORY_HXX)
2#define RESIP_UINT32_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
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.
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
Represents a numeric-with-comment header field value.
virtual ParserCategory * clone() const
virtual Parameter * createParam(ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool)
const Data & comment() const
void remove(const Param< UInt32Category > ¶mType)
UInt32Category & operator=(const UInt32Category &)
const uint32_t & value() const
defineParam(duration, "duration", UInt32Parameter, "RFC 3261")
virtual void parse(ParseBuffer &pb)
static constexpr CommaHandlingMode commaHandling
virtual EncodeStream & encodeParsed(EncodeStream &str) const
bool exists(const Param< UInt32Category > ¶mType) const
Generically represents unsigned 32-bit integer values conveyed by SIP parameters.
dcm! – add UnusedChecking(_enum) below;
Replaces STL streams for general encoding purposes.