Annotation of parser3/src/types/pa_vstatus.h, revision 1.15.2.6
1.1 paf 1: /** @file
2: Parser: @b status class decl.
3:
1.15.2.5 paf 4: Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)
1.7 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.1 paf 6: */
7:
8: #ifndef PA_VSTATUS_H
9: #define PA_VSTATUS_H
1.9 paf 10:
1.15.2.6! paf 11: static const char* IDENT_VSTATUS_H="$Date: 2003/01/31 12:34:45 $";
1.1 paf 12:
1.15.2.2 paf 13: // includes
1.1 paf 14:
1.5 paf 15: #include "pa_value.h"
1.1 paf 16:
1.15.2.2 paf 17: // define
18:
19: #define STATUS_CLASS_NAME "status"
20:
1.1 paf 21: /// status class
22: class VStatus : public Value {
1.15.2.6! paf 23:
! 24: Pool& fpool;
! 25:
1.1 paf 26: public: // Value
27:
1.15.2.5 paf 28: const char* type() const { return "status"; }
1.8 paf 29: VStateless_class *get_class() { return 0; }
1.1 paf 30:
31: // VStatus: field
1.15.2.4 paf 32: ValuePtr get_element(StringPtr aname, Value& aself, bool /*looking_up*/);
1.15.2.6! paf 33:
! 34: public: // usage
! 35:
! 36: VStatus(Pool& apool): fpool(apool) {}
1.1 paf 37:
38: };
1.15.2.3 paf 39: DECLARE_OBJECT_PTR(VStatus);
1.1 paf 40:
41: #endif
E-mail: