Back to index

nordugrid-arc-nox  1.1.0~rc6
WSRF.h
Go to the documentation of this file.
00001 #ifndef __ARC_WSRF_H__
00002 #define __ARC_WSRF_H__
00003 
00004 #include <arc/message/SOAPEnvelope.h>
00005 
00006 namespace Arc {
00007 
00009 
00011 class WSRF {
00012  protected:
00013   SOAPEnvelope& soap_; 
00014   bool allocated_;    
00015   bool valid_;        
00017   void set_namespaces(void);
00018  public:
00020   WSRF(SOAPEnvelope& soap,const std::string& action = "");
00022   WSRF(bool fault = false,const std::string& action = "");
00023   virtual ~WSRF(void);
00025   virtual SOAPEnvelope& SOAP(void) { return soap_; };
00027   virtual operator bool(void) { return valid_; };
00028   virtual bool operator!(void) { return !valid_; };
00029 };
00030 
00031 } // namespace Arc 
00032 
00033 #endif // __ARC_WSRF_H__