--- parser3/src/classes/classes.h 2005/08/08 08:41:50 1.30 +++ parser3/src/classes/classes.h 2012/03/16 09:24:06 1.34 @@ -1,14 +1,14 @@ /** @file Parser: @b Methoded class decl. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef CLASSES_H #define CLASSES_H -static const char * const IDENT_CLASSES_H="$Date: 2005/08/08 08:41:50 $"; +#define IDENT_CLASSES_H "$Id: classes.h,v 1.34 2012/03/16 09:24:06 moko Exp $" // include @@ -19,12 +19,6 @@ static const char * const IDENT_CLASSES_ @see Methoded_array */ class Methoded: public VStateless_class { -public: // Value - - override const VJunction* put_element(Value& /*self*/, const String& /*name*/, Value * /*value*/) { - return 0; // fewer useless Exceptions - } - public: // Methoded /** should Methoded_array::register_directly_used register this class in @@ -32,7 +26,7 @@ public: // Methoded if not - global variable with Methoded descendant is used in VStateless_class parameter */ - virtual bool used_directly() =0; + virtual bool used_directly() { return true; } /// use this method to read parameters from root "auto.p"; access r.main_class virtual void configure_admin(Request& ) {} /// use this method to read parameters from 'MAIN' class; access r.main_class