|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Represents the "SIP-date" element in the RFC 3261 grammar. More...
#include <DateCategory.hxx>
Public Member Functions | |
| DateCategory () | |
| DateCategory (time_t datetime) | |
| DateCategory (const HeaderFieldValue &hfv, Headers::Type type, PoolBase *pool=0) | |
| DateCategory (const DateCategory &orig, PoolBase *pool=0) | |
| DateCategory & | operator= (const DateCategory &) |
| virtual bool | setDatetime (time_t datetime) |
| 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 |
| const DayOfWeek & | dayOfWeek () const |
| int & | dayOfMonth () |
| int | dayOfMonth () const |
| Month & | month () |
| Month | month () const |
| int & | year () |
| int | year () const |
| int & | hour () |
| int | hour () const |
| int & | minute () |
| int | minute () const |
| int & | second () |
| int | second () 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 Member Functions | |
| static DayOfWeek | DayOfWeekFromData (const Data &) |
| static Month | MonthFromData (const Data &) |
Static Public Attributes | |
| static constexpr CommaHandlingMode | commaHandling = NoCommaTokenizing |
Static Public Attributes inherited from resip::ParserCategory | |
| static const ParameterTypeSet | EmptyParameterTypeSet |
Represents the "SIP-date" element in the RFC 3261 grammar.
Definition at line 48 of file DateCategory.hxx.
| DateCategory::DateCategory | ( | ) |
Definition at line 77 of file DateCategory.cxx.
| DateCategory::DateCategory | ( | time_t | datetime | ) |
Definition at line 100 of file DateCategory.cxx.
| DateCategory::DateCategory | ( | const HeaderFieldValue & | hfv, |
| Headers::Type | type, | ||
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 113 of file DateCategory.cxx.
| DateCategory::DateCategory | ( | const DateCategory & | orig, |
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 126 of file DateCategory.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 373 of file DateCategory.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 385 of file DateCategory.cxx.
|
virtual |
Implements resip::ParserCategory.
Definition at line 379 of file DateCategory.cxx.
| int & DateCategory::dayOfMonth | ( | ) |
Definition at line 234 of file DateCategory.cxx.
| int DateCategory::dayOfMonth | ( | ) | const |
Definition at line 241 of file DateCategory.cxx.
| const DayOfWeek & DateCategory::dayOfWeek | ( | ) | const |
Definition at line 227 of file DateCategory.cxx.
Definition at line 193 of file DateCategory.cxx.
|
virtual |
Implements resip::LazyParser.
Definition at line 400 of file DateCategory.cxx.
| int & DateCategory::hour | ( | ) |
Definition at line 276 of file DateCategory.cxx.
| int DateCategory::hour | ( | ) | const |
Definition at line 283 of file DateCategory.cxx.
| int & DateCategory::minute | ( | ) |
Definition at line 290 of file DateCategory.cxx.
| int DateCategory::minute | ( | ) | const |
Definition at line 297 of file DateCategory.cxx.
| Month & DateCategory::month | ( | ) |
Definition at line 248 of file DateCategory.cxx.
| Month DateCategory::month | ( | ) | const |
Definition at line 255 of file DateCategory.cxx.
Definition at line 210 of file DateCategory.cxx.
| DateCategory & DateCategory::operator= | ( | const DateCategory & | rhs | ) |
Definition at line 139 of file DateCategory.cxx.
|
virtual |
Implements resip::LazyParser.
Definition at line 318 of file DateCategory.cxx.
| int & DateCategory::second | ( | ) |
Definition at line 304 of file DateCategory.cxx.
| int DateCategory::second | ( | ) | const |
Definition at line 311 of file DateCategory.cxx.
|
virtual |
Definition at line 156 of file DateCategory.cxx.
| int & DateCategory::year | ( | ) |
Definition at line 262 of file DateCategory.cxx.
| int DateCategory::year | ( | ) | const |
Definition at line 269 of file DateCategory.cxx.
|
staticconstexpr |
Definition at line 51 of file DateCategory.hxx.