|
|
| version 1.22, 2002/08/15 13:49:15 | version 1.23.2.2, 2003/01/28 15:42:39 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b Methoded class decl. | Parser: @b Methoded class decl. |
| Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| #ifndef CLASSES_H | #ifndef CLASSES_H |
| Line 39 public: // Methoded | Line 39 public: // Methoded |
| public: // usage | public: // usage |
| Methoded(Pool& apool, const char *aname, VStateless_class *abase=0) : | Methoded(const char *aname, VStateless_classPtr abase=VStateless_classPtrZero): |
| VStateless_class(apool, new(apool) String(apool, aname), abase) { | VStateless_class(ConstStringPtr(new String(aname)), abase) { |
| } | } |
| void register_directly_used(Request& r); | void register_directly_used(Request& r); |
| Line 48 public: // usage | Line 48 public: // usage |
| }; | }; |
| /// all Methoded registered here in autogenerated classes.C | /// all Methoded registered here in autogenerated classes.C |
| class Methoded_array : public Array { | class Methoded_array: public Array<Methoded *> { |
| public: | public: |
| Methoded_array(Pool& pool); | Methoded_array(); |
| public: // Methoded for_each-es | public: // Methoded for_each-es |
| /// @see Methoded::configure_admin | /// @see Methoded::configure_admin |
| Line 61 public: // Methoded for_each-es | Line 61 public: // Methoded for_each-es |
| void register_directly_used(Request& r); | void register_directly_used(Request& r); |
| }; | }; |
| extern Methoded_array *methoded_array; | extern Methoded_array methoded_array; |
| void init_methoded_array(Pool& pool); | |
| #endif | #endif |