/src/resiprocate/resip/stack/StartLine.hxx
Line | Count | Source |
1 | | #ifndef StartLine_Include_Guard |
2 | | #define StartLine_Include_Guard |
3 | | |
4 | | #include "resip/stack/LazyParser.hxx" |
5 | | |
6 | | namespace resip |
7 | | { |
8 | | class StartLine : public LazyParser |
9 | | { |
10 | | public: |
11 | 0 | StartLine() {} |
12 | | explicit StartLine(const HeaderFieldValue& headerFieldValue) : |
13 | 6.11k | LazyParser(headerFieldValue) |
14 | 6.11k | {} |
15 | | StartLine(const char* buf, int length) : |
16 | 575 | LazyParser(buf, length) |
17 | 575 | {} |
18 | 0 | 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 |