|
|
| version 1.29, 2001/05/21 16:55:52 | version 1.32, 2001/06/28 07:44:17 |
|---|---|
| Line 4 | Line 4 |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) |
| $Id$ | |
| */ | */ |
| static const char *RCSId="$Id$"; | |
| #include "classes.h" | #include "classes.h" |
| #include "pa_request.h" | #include "pa_request.h" |
| Line 27 class MDouble : public Methoded { | Line 26 class MDouble : public Methoded { |
| public: | public: |
| MDouble(Pool& pool); | MDouble(Pool& pool); |
| public: // Methoded | public: // Methoded |
| bool used_directly() { return false; } | bool used_directly() { return true; } |
| }; | }; |
| // methods | // methods |
| Line 92 static void _sql(Request& r, const Strin | Line 91 static void _sql(Request& r, const Strin |
| MDouble::MDouble(Pool& apool) : Methoded(apool) { | MDouble::MDouble(Pool& apool) : Methoded(apool) { |
| set_name(*NEW String(pool(), DOUBLE_CLASS_NAME)); | set_name(*NEW String(pool(), DOUBLE_CLASS_NAME)); |
| // ^double.int[] | // ^double.int[] |
| add_native_method("int", Method::CT_DYNAMIC, _int, 0, 0); | add_native_method("int", Method::CT_DYNAMIC, _int, 0, 0); |