File: StartLine.hxx

package info (click to toggle)
resiprocate 1%3A1.11.0~beta1-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 37,944 kB
  • sloc: cpp: 206,325; xml: 12,515; sh: 12,418; ansic: 6,973; makefile: 2,315; php: 1,150; python: 355; sql: 142; objc: 91; perl: 21; csh: 5
file content (31 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef StartLine_Include_Guard
#define StartLine_Include_Guard

#include "resip/stack/LazyParser.hxx"

namespace resip
{
class StartLine : public LazyParser
{
   public:
      StartLine() {}
      explicit StartLine(const HeaderFieldValue& headerFieldValue) :
         LazyParser(headerFieldValue)
      {}
      StartLine(const char* buf, int length) :
         LazyParser(buf, length)
      {}
      virtual ~StartLine(){}

      virtual EncodeStream& encodeParsed(EncodeStream& str) const=0;
      virtual void parse(ParseBuffer& pb)=0;
      virtual const Data& errorContext() const=0;
      virtual StartLine* clone() const=0;
      virtual StartLine* clone(void* location) const=0;


}; // class StartLine

} // namespace resip

#endif // include guard