|
reSIProcate/stack
9694
|
Represents the "header-value" element in the RFC 3261 grammar (ie, an unknown header field value). More...
#include <StringCategory.hxx>


Public Types | |
| enum | { commaHandling = NoCommaTokenizing } |
Public Member Functions | |
| StringCategory () | |
| StringCategory (const Data &value) | |
| StringCategory (const HeaderFieldValue &hfv, Headers::Type type, PoolBase *pool=0) | |
| StringCategory (const StringCategory &orig, PoolBase *pool=0) | |
| StringCategory & | operator= (const StringCategory &) |
| 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 Data & | value () const |
| Data & | value () |
Private Attributes | |
| Data | mValue |
Represents the "header-value" element in the RFC 3261 grammar (ie, an unknown header field value).
Definition at line 17 of file StringCategory.hxx.
| anonymous enum |
Definition at line 20 of file StringCategory.hxx.
| StringCategory::StringCategory | ( | ) |
Definition at line 18 of file StringCategory.cxx.
Referenced by clone().
: ParserCategory(), mValue() {}
| StringCategory::StringCategory | ( | const Data & | value | ) | [explicit] |
Definition at line 23 of file StringCategory.cxx.
: ParserCategory(), mValue(value) {}
| StringCategory::StringCategory | ( | const HeaderFieldValue & | hfv, |
| Headers::Type | type, | ||
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 28 of file StringCategory.cxx.
: ParserCategory(hfv, type, pool), mValue() {}
| StringCategory::StringCategory | ( | const StringCategory & | orig, |
| PoolBase * | pool = 0 |
||
| ) |
Definition at line 35 of file StringCategory.cxx.
: ParserCategory(rhs, pool), mValue(rhs.mValue) {}
| ParserCategory * StringCategory::clone | ( | ) | const [virtual] |
Implements resip::ParserCategory.
Definition at line 52 of file StringCategory.cxx.
References StringCategory().
{
return new StringCategory(*this);
}

| ParserCategory * StringCategory::clone | ( | void * | location | ) | const [virtual] |
Implements resip::ParserCategory.
Definition at line 58 of file StringCategory.cxx.
References StringCategory().
{
return new (location) StringCategory(*this);
}

| ParserCategory * StringCategory::clone | ( | PoolBase * | pool | ) | const [virtual] |
Implements resip::ParserCategory.
Definition at line 64 of file StringCategory.cxx.
References StringCategory().
{
return new (pool) StringCategory(*this, pool);
}

| EncodeStream & StringCategory::encodeParsed | ( | EncodeStream & | str | ) | const [virtual] |
Implements resip::LazyParser.
Definition at line 78 of file StringCategory.cxx.
References mValue.
{
str << mValue;
return str;
}
| StringCategory & StringCategory::operator= | ( | const StringCategory & | rhs | ) |
Definition at line 42 of file StringCategory.cxx.
References mValue.
{
if (this != &rhs)
{
ParserCategory::operator=(rhs);
mValue = rhs.mValue;
}
return *this;
}
| void StringCategory::parse | ( | ParseBuffer & | pb | ) | [virtual] |
Implements resip::LazyParser.
Definition at line 70 of file StringCategory.cxx.
References resip::ParseBuffer::data(), mValue, resip::ParseBuffer::position(), and resip::ParseBuffer::skipToEnd().
Referenced by resip::Contents::preParseHeaders().

| const Data & StringCategory::value | ( | ) | const |
Definition at line 85 of file StringCategory.cxx.
References resip::LazyParser::checkParsed(), and mValue.
Referenced by main().
{
checkParsed();
return mValue;
}

| Data & StringCategory::value | ( | ) |
Definition at line 92 of file StringCategory.cxx.
References resip::LazyParser::checkParsed(), and mValue.
{
checkParsed();
return mValue;
}

Data resip::StringCategory::mValue [private] |
Definition at line 41 of file StringCategory.hxx.
Referenced by encodeParsed(), operator=(), parse(), and value().
1.7.5.1