reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
StartLine.hxx
Go to the documentation of this file.
1#ifndef StartLine_Include_Guard
2#define StartLine_Include_Guard
3
5
6namespace resip
7{
8class StartLine : public LazyParser
9{
10 public:
12 explicit StartLine(const HeaderFieldValue& headerFieldValue) :
13 LazyParser(headerFieldValue)
14 {}
15 StartLine(const char* buf, int length) :
16 LazyParser(buf, length)
17 {}
18 virtual ~StartLine(){}
19
20 virtual EncodeStream& encodeParsed(EncodeStream& str) const=0;
21 virtual void parse(ParseBuffer& pb)=0;
22 virtual const Data& errorContext() const=0;
23 virtual StartLine* clone() const=0;
24 virtual StartLine* clone(void* location) const=0;
25
26
27}; // class StartLine
28
29} // namespace resip
30
31#endif // include guard
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
The base-class for all lazily-parsed SIP grammar elements.
Provides string-parsing functionality with protection from buffer overflow.
virtual EncodeStream & encodeParsed(EncodeStream &str) const =0
StartLine(const HeaderFieldValue &headerFieldValue)
Definition StartLine.hxx:12
virtual const Data & errorContext() const =0
StartLine(const char *buf, int length)
Definition StartLine.hxx:15
virtual StartLine * clone() const =0
virtual ~StartLine()
Definition StartLine.hxx:18
virtual StartLine * clone(void *location) const =0
virtual void parse(ParseBuffer &pb)=0
dcm! – add UnusedChecking(_enum) below;
#define EncodeStream