|
|
| version 1.22, 2005/08/09 08:14:47 | version 1.26, 2015/10/26 01:21:53 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b Methoded and Methoded_array classes. | Parser: @b Methoded and Methoded_array classes. |
| Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| static const char * const IDENT_CLASSES_C="$Date$"; | |
| #include "classes.h" | #include "classes.h" |
| #include "pa_request.h" | #include "pa_request.h" |
| volatile const char * IDENT_CLASSES_C="$Id$" IDENT_CLASSES_H; | |
| // Methoded | // Methoded |
| void Methoded::register_directly_used(Request& r) { | void Methoded::register_directly_used(Request& r) { |
| Line 17 void Methoded::register_directly_used(Re | Line 17 void Methoded::register_directly_used(Re |
| r.classes().put(name(), this); | r.classes().put(name(), this); |
| } | } |
| // prevent system classes from modification [calling add_method] | // prevent system classes from modification [calling set_method] |
| // ^process[$string:CLASS]{@method} prohibited from now on... | // ^process[$string:CLASS]{@method} prohibited from now on... |
| this->lock(); | this->lock(); |
| } | } |