--- parser3/src/classes/xnode.h 2001/09/26 15:43:59 1.2 +++ parser3/src/classes/xnode.h 2002/08/01 11:26:44 1.12 @@ -1,16 +1,14 @@ /** @file Parser: @b dnode methods class - MDnode class decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) - - $Id: xnode.h,v 1.2 2001/09/26 15:43:59 parser Exp $ + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef XNODE_H #define XNODE_H -#include +static const char* IDENT_XNODE_H="$Id: xnode.h,v 1.12 2002/08/01 11:26:44 paf Exp $"; class MXnode : public Methoded { public: // Value @@ -30,10 +28,10 @@ public: // Value public: // VStateless_class - Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool); } + Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0); } public: - MXnode(Pool& pool); + MXnode(Pool& pool, const char *aname=0, VStateless_class *abase=0); public: // Methoded bool used_directly() { return true; } @@ -43,4 +41,9 @@ private: Hash consts; }; +#define gdome_xml_doc_get_xmlDoc(dome_doc) ((_Gdome_xml_Document *)dome_doc)->n; + +GdomeNode *as_node(const String& method_name, MethodParams *params, + int index, const char *msg); + #endif