Diff for /parser3/src/include/pa_request.h between versions 1.160.2.37.2.6 and 1.160.2.37.2.11

version 1.160.2.37.2.6, 2003/03/21 16:16:43 version 1.160.2.37.2.11, 2003/03/24 17:52:19
Line 52  class Request: public PA_Object { Line 52  class Request: public PA_Object {
         HashStringValue fclasses;          HashStringValue fclasses;
   
         /// already used files to avoid cyclic uses          /// already used files to avoid cyclic uses
         Hash<const StringBody&, bool> used_files;          Hash<const StringBody, bool> used_files;
   
         /**     endless execute(execute(... preventing counter           /**     endless execute(execute(... preventing counter 
                 @see ANTI_ENDLESS_EXECUTE_RECOURSION                  @see ANTI_ENDLESS_EXECUTE_RECOURSION
Line 146  public: Line 146  public:
                 const String& filespec, const char* filespec_cstr); // pa_request.C                  const String& filespec, const char* filespec_cstr); // pa_request.C
   
         /// processes any code-junction there may be inside of @a value          /// processes any code-junction there may be inside of @a value
         StringOrValue process(Value* input_value, bool intercept_string=true); // execute.C          StringOrValue process(Value& input_value, bool intercept_string=true); // execute.C
         //@{ convinient helpers          //@{ convinient helpers
         const String& process_to_string(Value* input_value) {          const String& process_to_string(Value& input_value) {
                 return process(input_value, true/*intercept_string*/).as_string();                  return process(input_value, true/*intercept_string*/).as_string();
         }          }
         Value& process_to_value(Value* input_value, bool intercept_string=true) {          Value& process_to_value(Value& input_value, bool intercept_string=true) {
                 return process(input_value, intercept_string).as_value();                  return process(input_value, intercept_string).as_value();
         }          }
         //@}          //@}
Line 209  public: Line 209  public:
         const String& mime_type_of(const char* user_file_name_cstr);          const String& mime_type_of(const char* user_file_name_cstr);
   
         /// returns current SQL connection if any          /// returns current SQL connection if any
         SQL_Connection* connection(const String* source) {           SQL_Connection* connection(bool fail_on_error=true) { 
                 if(!fconnection && source)                  if(fail_on_error && !fconnection)
                         throw Exception("parser.runtime",                          throw Exception("parser.runtime",
                                 source,                                  0,
                                 "outside of 'connect' operator");                                  "outside of 'connect' operator");
   
                 return fconnection;                   return fconnection; 
Line 250  public: // status read methods Line 250  public: // status read methods
   
         VMethodFrame *get_method_frame() { return method_frame; }          VMethodFrame *get_method_frame() { return method_frame; }
         Value& get_self();          Value& get_self();
 #define GET_SELF(request, type) (*static_cast<type *>(request.get_self()))  #define GET_SELF(request, type) (static_cast<type &>(request.get_self()))
         /* for strange reason call to this:           /* for strange reason call to this: 
                 r.get_self<VHash>()                   r.get_self<VHash>() 
                 refuses to compile                  refuses to compile
Line 266  public: // charset helpers Line 266  public: // charset helpers
         /// @see Charset::transcode          /// @see Charset::transcode
         GdomeDOMString_auto_ptr transcode(const String& s);          GdomeDOMString_auto_ptr transcode(const String& s);
         /// @see Charset::transcode          /// @see Charset::transcode
         const String& transcode(GdomeDOMString* s          const String& transcode(GdomeDOMString* s);
 #ifndef NO_STRING_ORIGIN  
                 , const String& origin  
 #endif  
                 );  
         /// @see Charset::transcode          /// @see Charset::transcode
         const String& transcode(xmlChar* s          const String& transcode(xmlChar* s);
 #ifndef NO_STRING_ORIGIN  
                 , const String& origin  
 #endif  
                 );  
   
 #endif  #endif
   

Removed from v.1.160.2.37.2.6  
changed lines
  Added in v.1.160.2.37.2.11


E-mail: