|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Represents a numeric-with-comment header field value. More...
#include <UInt32Category.hxx>
Public Member Functions | |
| UInt32Category () | |
| UInt32Category (const HeaderFieldValue &hfv, Headers::Type type, PoolBase *pool=0) | |
| UInt32Category (const UInt32Category &orig, PoolBase *pool=0) | |
| UInt32Category & | operator= (const UInt32Category &) |
| virtual void | parse (ParseBuffer &pb) |
| virtual EncodeStream & | encodeParsed (EncodeStream &str) const |
| virtual ParserCategory * | clone () const |
| virtual ParserCategory * | clone (void *location) const |
| virtual ParserCategory * | clone (PoolBase *pool) const |
| const uint32_t & | value () const |
| const Data & | comment () const |
| uint32_t & | value () |
| Data & | comment () |
| virtual Parameter * | createParam (ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool) |
| bool | exists (const Param< UInt32Category > ¶mType) const |
| void | remove (const Param< UInt32Category > ¶mType) |
| defineParam (duration, "duration", UInt32Parameter, "RFC 3261") | |
| bool | exists (const ParamBase ¶mType) const |
| Checks for the existence of a natively supported parameter. | |
| bool | exists (const ExtensionParameter ¶m) const |
| Checks for the existence of a non-natively-supported parameter. | |
| void | remove (const ParamBase ¶mType) |
| Removes a natively supported parameter, if the parameter is present. | |
| void | remove (const ExtensionParameter ¶m) |
| Removes a non-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. | |
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 () |
| 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 numeric-with-comment header field value.
Definition at line 17 of file UInt32Category.hxx.
| UInt32Category::UInt32Category | ( | ) |
Definition at line 18 of file UInt32Category.cxx.
| UInt32Category::UInt32Category | ( | const HeaderFieldValue & | hfv, |
| Headers::Type | type, | ||
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 24 of file UInt32Category.cxx.
| UInt32Category::UInt32Category | ( | const UInt32Category & | orig, |
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 32 of file UInt32Category.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 51 of file UInt32Category.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 62 of file UInt32Category.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 56 of file UInt32Category.cxx.
| Data & UInt32Category::comment | ( | ) |
Definition at line 89 of file UInt32Category.cxx.
| const Data & UInt32Category::comment | ( | ) | const |
Definition at line 75 of file UInt32Category.cxx.
|
virtual |
Reimplemented from resip::ParserCategory.
Definition at line 134 of file UInt32Category.cxx.
| resip::UInt32Category::defineParam | ( | duration | , |
| "duration" | , | ||
| UInt32Parameter | , | ||
| "RFC 3261" | |||
| ) |
|
virtual |
Implements resip::LazyParser.
Definition at line 118 of file UInt32Category.cxx.
| bool ParserCategory::exists | ( | const ExtensionParameter & | param | ) | const |
Checks for the existence of a non-natively-supported parameter.
| param | The runtime constructed accessor token. |
Definition at line 187 of file ParserCategory.cxx.
| bool UInt32Category::exists | ( | const Param< UInt32Category > & | paramType | ) | const |
Definition at line 144 of file UInt32Category.cxx.
|
inline |
Checks for the existence of a natively supported parameter.
| paramType | The accessor token for the parameter. |
Definition at line 145 of file ParserCategory.hxx.
| UInt32Category & UInt32Category::operator= | ( | const UInt32Category & | rhs | ) |
Definition at line 40 of file UInt32Category.cxx.
| Data & ParserCategory::param | ( | const ExtensionParameter & | param | ) |
Accessor for non-natively-supported parameter types.
Will create the parameter if it does not exist.
| param | The runtime constructed parameter accessor. |
Definition at line 173 of file ParserCategory.cxx.
| const Data & ParserCategory::param | ( | const ExtensionParameter & | param | ) | const |
Const accessor for non-natively-supported parameter types.
| ParserCategory::Exception | if this parameter doesn't exist. |
| param | The runtime constructed parameter accessor. |
Definition at line 165 of file ParserCategory.cxx.
|
virtual |
Implements resip::LazyParser.
Definition at line 96 of file UInt32Category.cxx.
| void ParserCategory::remove | ( | const ExtensionParameter & | param | ) |
Removes a non-natively-supported parameter, if the parameter is present.
| param | The accessor token for the parameter. |
Definition at line 180 of file ParserCategory.cxx.
| void UInt32Category::remove | ( | const Param< UInt32Category > & | paramType | ) |
Definition at line 152 of file UInt32Category.cxx.
| void ParserCategory::remove | ( | const ParamBase & | paramType | ) |
Removes a natively supported parameter, if the parameter is present.
| paramType | The accessor token for the parameter. |
Definition at line 156 of file ParserCategory.cxx.
| uint32_t & UInt32Category::value | ( | ) |
Definition at line 82 of file UInt32Category.cxx.
| const uint32_t & UInt32Category::value | ( | ) | const |
Definition at line 68 of file UInt32Category.cxx.
|
staticconstexpr |
Definition at line 20 of file UInt32Category.hxx.