Diff for /parser3/src/classes/xnode.h between versions 1.18.2.6 and 1.20

version 1.18.2.6, 2003/03/07 11:16:45 version 1.20, 2003/11/20 16:34:24
Line 8 Line 8
 #ifndef XNODE_H  #ifndef XNODE_H
 #define XNODE_H  #define XNODE_H
   
 static const char* IDENT_XNODE_H="$Date$";  static const char * const IDENT_XNODE_H="$Date$";
   
 class MXnode: public Methoded {  class MXnode: public Methoded {
 public: // Value  public: // Value
   
         /// MXnode: +$const          /// MXnode: +$const
         ValuePtr get_element(StringPtr aname, Value& aself, bool looking_up) {          Value* get_element(const String& aname, Value& aself, bool looking_up) {
                 // $method                  // $method
                 if(ValuePtr result=Methoded::get_element(aname, aself, looking_up))                  if(Value* result=Methoded::get_element(aname, aself, looking_up))
                         return result;                          return result;
   
                 // $const                  // $const
                 if(ValuePtr result=consts.get(aname))                  if(Value* result=consts.get(aname))
                         return result;                          return result;
                                   
                 return ValuePtr(0);                  return 0;
         }          }
   
   
 public: // VStateless_class  public: // VStateless_class
         ValuePtr create_new_value() { return ValuePtr(new VXnode(0, 0, 0)); }          Value* create_new_value() { return new VXnode(0, 0); }
   
 public:  public:
         MXnode(const char* aname=0, VStateless_class* abase=0);          MXnode(const char* aname=0, VStateless_class* abase=0);
Line 41  private: Line 41  private:
         HashStringValue consts;          HashStringValue consts;
 };  };
   
 #define gdome_xml_doc_get_xmlDoc(dome_doc) ((_Gdome_xml_Document *)dome_doc)->n;  GdomeNode* as_node(MethodParams& params, int index, const char* msg);
   
 GdomeNode *as_node(StringPtr method_name, MethodParams* params,   
                                                 int index, const char* msg);  
   
 #endif  #endif

Removed from v.1.18.2.6  
changed lines
  Added in v.1.20


E-mail: