|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Represents a CSeq header field value (this doesn't have an official name in the RFC 3261 grammar). More...
#include <CSeqCategory.hxx>
Public Member Functions | |
| CSeqCategory () | |
| CSeqCategory (const HeaderFieldValue &hfv, Headers::Type type, PoolBase *pool=0) | |
| CSeqCategory (const CSeqCategory &orig, PoolBase *pool=0) | |
| CSeqCategory & | operator= (const CSeqCategory &) |
| MethodTypes & | method () |
| MethodTypes | method () const |
| Data & | unknownMethodName () |
| const Data & | unknownMethodName () const |
| unsigned int & | sequence () |
| unsigned int | sequence () const |
| bool | operator== (const CSeqCategory &rhs) const |
| bool | operator< (const CSeqCategory &rhs) const |
| virtual void | parse (ParseBuffer &pb) |
| virtual ParserCategory * | clone () const |
| virtual ParserCategory * | clone (void *location) const |
| virtual ParserCategory * | clone (PoolBase *pool) const |
| virtual EncodeStream & | encodeParsed (EncodeStream &str) const |
Public Member Functions inherited from resip::ParserCategory | |
| ParserCategory (const HeaderFieldValue &headerFieldValue, Headers::Type type, PoolBase *pool=0) | |
| ParserCategory (const char *buf, int length, Headers::Type type, PoolBase *pool=0) | |
| ParserCategory (const ParserCategory &rhs, PoolBase *pool=0) | |
| ParserCategory & | operator= (const ParserCategory &rhs) |
| virtual | ~ParserCategory () |
| virtual Parameter * | createParam (ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool) |
| bool | exists (const ParamBase ¶mType) const |
| Checks for the existence of a natively supported parameter. | |
| void | remove (const ParamBase ¶mType) |
| Removes a natively supported parameter, if the parameter is present. | |
| const Data & | param (const ExtensionParameter ¶m) const |
| Const accessor for non-natively-supported parameter types. | |
| Data & | param (const ExtensionParameter ¶m) |
| Accessor for non-natively-supported parameter types. | |
| void | remove (const ExtensionParameter ¶m) |
| Removes a non-natively-supported parameter, if the parameter is present. | |
| bool | exists (const ExtensionParameter ¶m) const |
| Checks for the existence of a non-natively-supported parameter. | |
| void | removeParametersExcept (const ParameterTypeSet &set=EmptyParameterTypeSet) |
| Removes all known parameters except those that are specified in set. | |
| void | clearUnknownParameters () |
| void | parseParameters (ParseBuffer &pb) |
| EncodeStream & | encodeParameters (EncodeStream &str) const |
| Encodes parameters as they should appear on the wire. | |
| Data | commutativeParameterHash () const |
| Parameter * | getParameterByEnum (ParameterTypes::Type type) const |
| void | removeParameterByEnum (ParameterTypes::Type type) |
| void | setParameter (const Parameter *parameter) |
| int | numKnownParams () const |
| Returns the number of known (natively supported) parameters. | |
| int | numUnknownParams () const |
| Returns the number of unknown parameters. | |
Public Member Functions inherited from resip::LazyParser | |
| LazyParser (const HeaderFieldValue &headerFieldValue) | |
| LazyParser (const char *buf, int length) | |
| LazyParser (const HeaderFieldValue &headerFieldValue, HeaderFieldValue::CopyPaddingEnum e) | |
| LazyParser (const LazyParser &rhs) | |
| LazyParser (const LazyParser &rhs, HeaderFieldValue::CopyPaddingEnum e) | |
| LazyParser & | operator= (const LazyParser &rhs) |
| virtual | ~LazyParser () |
| EncodeStream & | encode (EncodeStream &str) const |
| Encodes this element to a stream, in the fashion it should be represented on the wire. | |
| bool | isParsed () const |
| Returns true iff a parse has been attempted. | |
| HeaderFieldValue & | getHeaderField () |
| void | checkParsed () const |
| void | checkParsed () |
| void | doParse () const |
| void | markDirty () const |
| bool | isWellFormed () const |
| Returns true iff this element was parsed successfully, according to the implementation of parse(). | |
Static Public Attributes | |
| static constexpr CommaHandlingMode | commaHandling = NoCommaTokenizing |
Static Public Attributes inherited from resip::ParserCategory | |
| static const ParameterTypeSet | EmptyParameterTypeSet |
Represents a CSeq header field value (this doesn't have an official name in the RFC 3261 grammar).
Definition at line 18 of file CSeqCategory.hxx.
| CSeqCategory::CSeqCategory | ( | ) |
Definition at line 28 of file CSeqCategory.cxx.
| CSeqCategory::CSeqCategory | ( | const HeaderFieldValue & | hfv, |
| Headers::Type | type, | ||
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 22 of file CSeqCategory.cxx.
| CSeqCategory::CSeqCategory | ( | const CSeqCategory & | orig, |
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 35 of file CSeqCategory.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 80 of file CSeqCategory.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 92 of file CSeqCategory.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 86 of file CSeqCategory.cxx.
|
virtual |
Implements resip::LazyParser.
Definition at line 165 of file CSeqCategory.cxx.
| MethodTypes & CSeqCategory::method | ( | ) |
Definition at line 98 of file CSeqCategory.cxx.
| MethodTypes CSeqCategory::method | ( | ) | const |
Definition at line 105 of file CSeqCategory.cxx.
| bool CSeqCategory::operator< | ( | const CSeqCategory & | rhs | ) | const |
Definition at line 63 of file CSeqCategory.cxx.
| CSeqCategory & CSeqCategory::operator= | ( | const CSeqCategory & | rhs | ) |
Definition at line 43 of file CSeqCategory.cxx.
| bool CSeqCategory::operator== | ( | const CSeqCategory & | rhs | ) | const |
Definition at line 56 of file CSeqCategory.cxx.
|
virtual |
Implements resip::LazyParser.
Definition at line 151 of file CSeqCategory.cxx.
| unsigned int & CSeqCategory::sequence | ( | ) |
Definition at line 125 of file CSeqCategory.cxx.
| unsigned int CSeqCategory::sequence | ( | ) | const |
Definition at line 132 of file CSeqCategory.cxx.
| Data & CSeqCategory::unknownMethodName | ( | ) |
Definition at line 111 of file CSeqCategory.cxx.
| const Data & CSeqCategory::unknownMethodName | ( | ) | const |
Definition at line 118 of file CSeqCategory.cxx.
|
staticconstexpr |
Definition at line 21 of file CSeqCategory.hxx.