Annotation of parser3/src/types/pa_vcookie.h, revision 1.5
1.1 paf 1: /*
2: Parser
3: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
4: Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
5:
1.5 ! paf 6: $Id: pa_vcookie.h,v 1.4 2001/03/19 20:07:39 paf Exp $
1.1 paf 7: */
8:
9: #ifndef PA_VCOOKIE_H
10: #define PA_VCOOKIE_H
11:
1.3 paf 12: #include "pa_common.h"
1.5 ! paf 13: #include "pa_value.h"
1.1 paf 14:
15: class Request;
16:
1.5 ! paf 17: class VCookie : public Value {
1.1 paf 18: public: // Value
19:
20: // all: for error reporting after fail(), etc
21: const char *type() const { return "cookie"; }
22:
23: // cookie: CLASS,BASE,method,field
24: Value *get_element(const String& aname);
25: // cookie: field
26: void put_element(const String& aname, Value *avalue);
27:
28: public: // usage
29:
1.5 ! paf 30: VCookie(Pool& apool) : Value(apool),
1.1 paf 31: before(apool), after(apool), deleted(apool) {
32: }
33:
34: void fill_fields(Request& request);
35: void output_result();
36:
37: private:
38:
1.2 paf 39: Hash before, after, deleted;
1.1 paf 40:
41: };
42:
43: #endif
E-mail: