Diff for /parser3/src/classes/xnode.h between versions 1.5 and 1.15

version 1.5, 2001/12/28 14:06:50 version 1.15, 2002/08/13 15:55:41
Line 1 Line 1
 /** @file  /** @file
         Parser: @b dnode methods class - MDnode class decl.          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 <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
   
         $Id$  
 */  */
   
 #ifndef XNODE_H  #ifndef XNODE_H
 #define XNODE_H  #define XNODE_H
   
   static const char* IDENT_XNODE_H="$Date$";
   
 class MXnode : public Methoded {  class MXnode : public Methoded {
 public: // Value  public: // Value
   
         /// MXnode: +$const          /// MXnode: +$const
         Value *get_element(const String& aname) {          Value *get_element(const String& aname, Value *aself, bool looking_down) {
                 // $CLASS, $method                  // $method
                 if(Value *result=Methoded::get_element(aname))                  if(Value *result=Methoded::get_element(aname, aself, looking_down))
                         return result;                          return result;
   
                 // $const                  // $const
Line 32  public: // VStateless_class Line 31  public: // VStateless_class
         Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0); }          Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0); }
   
 public:  public:
         MXnode(Pool& pool);          MXnode(Pool& pool, const char *aname=0, VStateless_class *abase=0);
   
 public: // Methoded  public: // Methoded
         bool used_directly() { return true; }          bool used_directly() { return true; }
Line 42  private: Line 41  private:
         Hash consts;          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  #endif

Removed from v.1.5  
changed lines
  Added in v.1.15


E-mail: