|
|
| version 1.69, 2001/05/02 11:49:17 | version 1.71, 2001/05/07 13:29:47 |
|---|---|
| Line 28 | Line 28 |
| class MTable : public Methoded { | class MTable : public Methoded { |
| public: // VStateless_class | public: // VStateless_class |
| Value *create_new_value(Pool& pool) { return new(pool) VTable(pool); } | Value *create_new_value(Pool& pool) { return new(pool) VTable(pool); } |
| public: | public: |
| MTable(Pool& pool); | MTable(Pool& pool); |
| bool used_directly() { return true; } | |
| public: // Methoded | |
| bool used_directly() { return true; } | |
| }; | }; |
| // methods | // methods |
| Line 411 static void _join(Request& r, const Stri | Line 411 static void _join(Request& r, const Stri |
| } | } |
| } | } |
| /// ^table:sql{query}[(count[;offset])] | |
| static void _sql(Request& r, const String& method_name, MethodParams *params) { | static void _sql(Request& r, const String& method_name, MethodParams *params) { |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |
| Line 487 static void _sql(Request& r, const Strin | Line 486 static void _sql(Request& r, const Strin |
| static_cast<VTable *>(r.self)->set_table(table); | static_cast<VTable *>(r.self)->set_table(table); |
| } | } |
| /// ^table:dir[path] | |
| /// ^table:dir[path][regexp] | |
| static void _dir(Request& r, const String& method_name, MethodParams *params) { | static void _dir(Request& r, const String& method_name, MethodParams *params) { |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |