Annotation of parser3/src/types/pa_vstatus.h, revision 1.15.2.2
1.1 paf 1: /** @file
2: Parser: @b status class decl.
3:
1.15 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.2! paf 11: static const char* IDENT_VSTATUS_H="$Date: 2003/01/24 14:36:12 $";
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 {
23: public: // Value
24:
25: const char *type() const { return "status"; }
1.8 paf 26: VStateless_class *get_class() { return 0; }
1.1 paf 27:
28: // VStatus: field
1.15.2.2! paf 29: ValuePtr get_element(ConstStringPtr aname, Value& aself, bool /*looking_up*/);
1.1 paf 30:
31: };
1.15.2.1 paf 32:
1.15.2.2! paf 33: DECLARE_OBJECT_PTR(VStatus)
1.1 paf 34:
35: #endif
E-mail: