--- parser3/src/include/pa_request.h 2004/02/26 14:37:30 1.175 +++ parser3/src/include/pa_request.h 2005/12/16 10:15:12 1.180 @@ -1,14 +1,14 @@ /** @file Parser: request class decl. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char * const IDENT_REQUEST_H="$Date: 2004/02/26 14:37:30 $"; +static const char * const IDENT_REQUEST_H="$Date: 2005/12/16 10:15:12 $"; #include "pa_pool.h" #include "pa_hash.h" @@ -33,7 +33,6 @@ const size_t pseudo_file_no__process=1; class Temp_lang; class Methoded; class VMethodFrame; -class GdomeDOMString_auto_ptr; class VMail; class VForm; class VResponse; @@ -160,6 +159,7 @@ public: VHash& avhash): trace(atrace), problem_source(aproblem_source), vhash(avhash) {} }; Exception_details get_details(const Exception& e); + const char* get_exception_cstr(const Exception& e, Exception_details& details); /// @see Stack::wipe_unused void wipe_unused_execution_stack() { @@ -358,13 +358,11 @@ public: // status read methods public: // charset helpers /// @see Charset::transcode - GdomeDOMString_auto_ptr transcode(const String& s); + xmlChar* transcode(const String& s); /// @see Charset::transcode - GdomeDOMString_auto_ptr transcode(const String::Body s); + xmlChar* transcode(const String::Body s); /// @see Charset::transcode - const String& transcode(GdomeDOMString* s); - /// @see Charset::transcode - const String& transcode(xmlChar* s); + const String& transcode(const xmlChar* s); #endif @@ -375,6 +373,8 @@ private: void configure_admin(VStateless_class& conf_class); + void configure(); + private: // compile.C VStateless_class& compile(VStateless_class* aclass, @@ -384,6 +384,7 @@ private: // compile.C private: // execute.C + void put_element(Value& ncontext, const String& name, Value& value); Value& get_element(Value& ncontext, const String& name, bool can_call_operator); private: // defaults