1#if defined(HAVE_CONFIG_H)
13#define RESIPROCATE_SUBSYSTEM Subsystem::SIP
36 mComment(rhs.mComment)
46 mComment = rhs.mComment;
104 pb.
data(mComment, start);
121 if (!mComment.
empty())
123 str <<
"(" << mComment <<
")";
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
bool empty() const noexcept
Checks whether the Data is empty.
Represents a numeric-with-comment header field value.
IntegerCategory & operator=(const IntegerCategory &)
virtual ParserCategory * clone() const
virtual void parse(ParseBuffer &pb)
virtual EncodeStream & encodeParsed(EncodeStream &str) const
Provides string-parsing functionality with protection from buffer overflow.
CurrentPosition skipNonWhitespace()
CurrentPosition skipWhitespace()
CurrentPosition skipToChar(char c)
void reset(const char *pos)
CurrentPosition skipChar()
void data(Data &data, const char *start) const
make the passed in data share memory with the buffer (uses Data::Share)
const char * skipToEndQuote(char quote='"')
Base class for all SIP grammar elements that can have parameters.
ParserCategory & operator=(const ParserCategory &rhs)
void parseParameters(ParseBuffer &pb)
EncodeStream & encodeParameters(EncodeStream &str) const
Encodes parameters as they should appear on the wire.
dcm! – add UnusedChecking(_enum) below;