--- parser3/src/classes/classes.h 2003/03/21 13:42:26 1.23.2.9.2.2 +++ parser3/src/classes/classes.h 2009/08/08 13:30:20 1.32 @@ -1,14 +1,14 @@ /** @file Parser: @b Methoded class decl. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef CLASSES_H #define CLASSES_H -static const char* IDENT_CLASSES_H="$Date: 2003/03/21 13:42:26 $"; +static const char * const IDENT_CLASSES_H="$Date: 2009/08/08 13:30:20 $"; // include @@ -19,12 +19,6 @@ static const char* IDENT_CLASSES_H="$Dat @see Methoded_array */ class Methoded: public VStateless_class { -public: // Value - - override bool put_element(const String& /*name*/, Value * /*value*/, bool /*replace*/) { - return false; // fewer useless Exceptions - } - public: // Methoded /** should Methoded_array::register_directly_used register this class in @@ -63,7 +57,6 @@ public: // Methoded for_each-es /// @see Methoded::register_directly_used void register_directly_used(Request& r); }; -DECLARE_OBJECT_PTR(Methoded_array); // globals @@ -72,7 +65,7 @@ Methoded_array& methoded_array(); // defines #define DECLARE_CLASS_VAR(name, self, base) \ - Methoded* name##_class(self); \ - Methoded* name##_base_class(base) + Methoded* name##_class=self; \ + Methoded* name##_base_class=base #endif