--- parser3/src/include/pa_request.h 2020/12/31 12:08:34 1.260 +++ parser3/src/include/pa_request.h 2023/11/17 19:12:34 1.263 @@ -1,14 +1,14 @@ /** @file Parser: request class decl. - Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #ifndef PA_REQUEST_H #define PA_REQUEST_H -#define IDENT_PA_REQUEST_H "$Id: pa_request.h,v 1.260 2020/12/31 12:08:34 moko Exp $" +#define IDENT_PA_REQUEST_H "$Id: pa_request.h,v 1.263 2023/11/17 19:12:34 moko Exp $" #include "pa_pool.h" #include "pa_hash.h" @@ -215,7 +215,7 @@ public: core request processing BEWARE: may throw exception to you: catch it! */ - void core(const char* config_filespec, bool header_only, const String& amain_method_name = main_method_name); + void core(const char* config_filespec, bool header_only, const String& amain_method_name = main_method_name, const String* amain_class_name = NULL); /// executes ops void execute(ArrayOperation& ops); // execute.C @@ -369,6 +369,7 @@ public: // status read methods //{ for @conf[filespec] and @auto[filespec] bool execute_method_if_exists(VStateless_class& aclass, const String& method_name, Value* optional_param); + bool execute_auto_method_if_exists(VStateless_class& aclass, const String& method_name, Value* optional_param); //}