16 : mOwnedBuffer(value.data(), value.size())
26 pb.
data(mScheme, start);
36 pb.
data(mUser, anchor);
44 pb.
data(mUser, anchor);
60 pb.
data(mUser, start);
77 pb.
data(mHost, start);
84 pb.
data(mHost, start);
101 mScheme(uri.scheme()),
119 mScheme = aor.mScheme;
149 if (mOldScheme != mScheme ||
161 mCanonicalHost = mHost;
165 mOldScheme = mScheme;
175 if (!mCanonicalHost.
empty())
178 strm << mCanonicalHost;
bool operator!=(const Aor &other) const
EncodeStream & operator<<(EncodeStream &str) const
const Data & value() const
Aor & operator=(const Aor &aor)
bool operator==(const Aor &other) const
bool operator<(const Aor &other) const
An iostream that operates on an existing Data.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
bool empty() const noexcept
Checks whether the Data is empty.
Data & lowercase()
Converts this Data to lowercase.
size_type size() const noexcept
Returns the number of bytes in this Data.
void reserve(size_type capacity)
Guarantees that the underlying buffer used by the Data is at least the number of bytes specified.
static bool isIpV6Address(const Data &ipAddress)
static Data canonicalizeIpV6Address(const Data &ipV6Address)
Converts the printable form of an IPv6 address into consistent format so that string comparisons will...
Provides string-parsing functionality with protection from buffer overflow.
CurrentPosition skipWhitespace()
CurrentPosition skipToChar(char c)
CurrentPosition position() const
void reset(const char *pos)
void assertNotEof() const
CurrentPosition skipToOneOf(const char *cs)
CurrentPosition skipChar()
void data(Data &data, const char *start) const
make the passed in data share memory with the buffer (uses Data::Share)
static const char * Whitespace
static const char * SEMI_COLON
static const char * COLON
static const char * AT_SIGN
static const char * RA_QUOTE
Represents the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.
dcm! – add UnusedChecking(_enum) below;
bool isEqualNoCase(const Data &left, const Data &right)