--- parser3/src/classes/xnode.h 2001/11/05 11:46:22 1.4 +++ parser3/src/classes/xnode.h 2002/02/08 07:27:41 1.8 @@ -1,16 +1,15 @@ /** @file Parser: @b dnode methods class - MDnode class decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: xnode.h,v 1.4 2001/11/05 11:46:22 paf Exp $ + $Id: xnode.h,v 1.8 2002/02/08 07:27:41 paf Exp $ */ #ifndef XNODE_H #define XNODE_H -#include class MXnode : public Methoded { public: // Value @@ -30,7 +29,7 @@ public: // Value public: // VStateless_class - Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0, false); } + Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0); } public: MXnode(Pool& pool); @@ -43,4 +42,9 @@ private: Hash consts; }; +#define gdome_xml_doc_get_xmlDoc(dome_doc) ((_Gdome_xml_Document *)dome_doc)->n; + +GdomeNode *as_node(Pool& pool, const String& method_name, MethodParams *params, + int index, const char *msg); + #endif