|
|
| version 1.7, 2001/05/04 10:42:35 | version 1.18, 2002/04/18 15:33:32 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b Methoded class decl. | Parser: @b Methoded class decl. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | |
| $Id$ | $Id$ |
| */ | */ |
| Line 27 public: // Methoded | Line 26 public: // Methoded |
| */ | */ |
| virtual bool used_directly() =0; | virtual bool used_directly() =0; |
| /// use this method to read parameters from root "auto.p"; access r.main_class | /// use this method to read parameters from root "auto.p"; access r.main_class |
| virtual void configure_admin(Request& r) {} | virtual void configure_admin(Request& ) {} |
| /// use this method to read parameters from 'MAIN' class; access r.main_class | /// use this method to read parameters from 'MAIN' class; access r.main_class |
| virtual void configure_user(Request& r) {} | virtual void configure_user(Request& ) {} |
| /// use it to construct static variables. check some static so that would be only ONCE! | |
| virtual void construct_statics() {} | |
| public: // usage | public: // usage |
| Methoded(Pool& pool) : VStateless_class(pool) { | Methoded(Pool& apool, const char *aname) : |
| VStateless_class(apool, new(apool) String(apool, aname)) { | |
| } | } |
| void register_directly_used(Request& r); | void register_directly_used(Request& r); |
| }; | }; |
| /// @relates Methoded | /// all Methoded registered here in autogenerated classes.C |
| class Methoded_array : public Array { | class Methoded_array : public Array { |
| public: | public: |
| Methoded_array(Pool& pool); | Methoded_array(Pool& pool); |