/usr/include/arc/wsrf/WSRF.h is in nordugrid-arc-dev 5.0.5-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef __ARC_WSRF_H__
#define __ARC_WSRF_H__
#include <arc/message/SOAPEnvelope.h>
namespace Arc {
/// Base class for every WSRF message
/** This class is not intended to be used directly. Use it like reference while
passing through unknown WSRF message or use classes derived from it. */
class WSRF {
protected:
SOAPEnvelope& soap_; /** Associated SOAP message - it's SOAP message after all */
bool allocated_; /** true if soap_ needs to be deleted in destructor */
bool valid_; /** true if object represents valid WSRF message */
/** set WS Resource namespaces and default prefixes in SOAP message */
void set_namespaces(void);
public:
/** Constructor - creates object out of supplied SOAP tree. */
WSRF(SOAPEnvelope& soap,const std::string& action = "");
/** Constructor - creates new WSRF object */
WSRF(bool fault = false,const std::string& action = "");
virtual ~WSRF(void);
/** Direct access to underlying SOAP element */
virtual SOAPEnvelope& SOAP(void) { return soap_; };
/** Returns true if instance is valid */
virtual operator bool(void) { return valid_; };
virtual bool operator!(void) { return !valid_; };
};
} // namespace Arc
#endif // __ARC_WSRF_H__
|