/[resiprocate]/branches/b-directory-reorg/sip/resiprocate/UnknownParameter.hxx
ViewVC logotype

Contents of /branches/b-directory-reorg/sip/resiprocate/UnknownParameter.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 243 - (show annotations) (download)
Mon Sep 30 21:46:24 2002 UTC (17 years, 4 months ago) by jason
Original Path: main/sip/resiprocate/UnknownParameter.hxx
File size: 653 byte(s)
addded decode, used ParseBuffer

1 #ifndef UnknownParameter_hxx
2 #define UnknownParameter_hxx
3
4 #include <sipstack/DataParameter.hxx>
5
6 namespace Vocal2
7 {
8
9 class ParseBuffer;
10
11 class UnknownParameter : public DataParameter
12 {
13 public:
14 UnknownParameter(const char* startName, unsigned int nameSize,
15 ParseBuffer& pb);
16
17 // for making a new unknown parameter
18 // msg->header(foo)["mynewparam"] = "bar";
19 UnknownParameter(const Data& name);
20
21 virtual const Data& getName();
22 virtual Parameter* clone() const;
23 private:
24 Data mName;
25 };
26
27 }
28
29 std::ostream& operator<<(std::ostream& stream, Vocal2::UnknownParameter& comp);
30
31 #endif

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27