header

CoreDataAccess.h

Go to the documentation of this file.
00001 /*
00002   Copyright (c) Members of the EGEE Collaboration. 2004. 
00003   See http://www.eu-egee.org/partners/ for details on the copyright
00004   holders.  
00005 
00006   Licensed under the Apache License, Version 2.0 (the "License"); 
00007   you may not use this file except in compliance with the License. 
00008   You may obtain a copy of the License at 
00009 
00010     http://www.apache.org/licenses/LICENSE-2.0 
00011 
00012   Unless required by applicable law or agreed to in writing, software 
00013   distributed under the License is distributed on an "AS IS" BASIS, 
00014   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
00015   See the License for the specific language governing permissions and 
00016   limitations under the License.
00017 */
00018 
00019 
00020 #ifndef CORE_DATA_ACCESS_H
00021 #define CORE_DATA_ACCESS_H
00022 
00023 #include "MDSoapClient.h"
00024 
00025 #define _NO_OPS 0
00026 #define _SELECT 1
00027 #define _INSERT 2
00028 #define _DELETE 3
00029 #define _UPDATE 4
00030 
00031 typedef _wsdai__DestroyDataResourceRequest  DestroyDataResourceRequest;
00032 typedef _wsdai__DestroyDataResourceResponse DestroyDataResourceResponse;
00033 
00034 class CoreDataAccess: public MDSoapClient {
00035 public:
00036   CoreDataAccess(const std::string &host="" , int port=8833, const std::string &path = "",
00037             const std::string &configFile = "", bool keep_alive=false, bool dbg=false);
00038 
00039   ~CoreDataAccess();
00040 
00041   int MakeDestroyDataResourceRequest(std::string &dran
00042                      , DestroyDataResourceRequest **req);
00043   int DestroyDataResource(DestroyDataResourceRequest *req);
00044   int SimpleExecuteDestroy(std::string &dran);
00045 
00046 protected:
00047 
00048 };
00049 
00050 #endif

Generated on Mon Apr 16 13:59:18 2012 for AMGA by  doxygen 1.4.7