--- parser3/src/classes/xnode.h 2002/08/01 11:41:13 1.13 +++ parser3/src/classes/xnode.h 2003/02/04 14:04:47 1.18.2.3 @@ -1,22 +1,22 @@ /** @file Parser: @b dnode methods class - MDnode class decl. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef XNODE_H #define XNODE_H -static const char* IDENT_XNODE_H="$Date: 2002/08/01 11:41:13 $"; +static const char* IDENT_XNODE_H="$Date: 2003/02/04 14:04:47 $"; class MXnode : public Methoded { public: // Value /// MXnode: +$const - Value *get_element(const String& aname) { - // $CLASS, $method - if(Value *result=Methoded::get_element(aname)) + Value *get_element(const String& aname, Value& aself, bool looking_up) { + // $method + if(Value *result=Methoded::get_element(aname, aself, looking_up)) return result; // $const @@ -28,10 +28,10 @@ public: // Value public: // VStateless_class - Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0); } + ValuePtr create_new_value() { return ValuePtr(new VXnode(0); } public: - MXnode(Pool& pool, const char *aname=0, VStateless_class *abase=0); + MXnode(Pool& pool, const char* aname=0, VStateless_class *abase=0); public: // Methoded bool used_directly() { return true; } @@ -43,7 +43,7 @@ private: #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); +GdomeNode *as_node(StringPtr method_name, MethodParams& params, + int index, const char* msg); #endif