jdl-api-cpp-3.4.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DAGAdManipulation.h
Go to the documentation of this file.
1 /*
2 Copyright (c) Members of the EGEE Collaboration. 2004.
3 See http://www.eu-egee.org/partners/ for details on the
4 copyright holders.
5 
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15 either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 */
19 
20 // File: DAGAdManipulation.h
21 // Author: Francesco Giacomini <Francesco.Giacomini@cnaf.infn.it>
22 // Copyright (c) 2003 EU DataGrid.
23 
24 // $Id: DAGAdManipulation.h,v 1.3.6.1 2010/04/07 09:50:34 mcecchi Exp $
25 
26 #ifndef GLITE_WMS_COMMON_REQUESTAD_DAGADMANIPULATION_H
27 #define GLITE_WMS_COMMON_REQUESTAD_DAGADMANIPULATION_H
28 
29 #include <string>
30 #include <vector>
31 
32 namespace glite {
33 namespace jdl {
34 
35 class DAGAd;
36 
37 bool set_edg_jobid(DAGAd& dagad, std::string const& id);
38 std::string get_edg_jobid(DAGAd const& dagad);
39 bool remove_edg_jobid(DAGAd& dagad);
40 
41 bool set_x509_user_proxy(DAGAd& dagad, std::string const& proxy);
42 std::string get_x509_user_proxy(DAGAd const& dagad);
43 bool remove_x509_user_proxy(DAGAd& dagad);
44 
45 bool set_certificate_subject(DAGAd& dagad, std::string const& subject);
46 std::string get_certificate_subject(DAGAd const& dagad);
47 bool remove_certificate_subject(DAGAd& dagad);
48 
49 bool set_my_proxy_server(DAGAd& dagad, std::string const& id);
50 std::string get_my_proxy_server(DAGAd const& dagad);
51 bool remove_my_proxy_server(DAGAd& dagad);
52 
53 bool set_lb_sequence_code(DAGAd& dagad, std::string const& sequence_code);
54 std::string get_lb_sequence_code(DAGAd const& dagad);
55 bool remove_lb_sequence_code(DAGAd& dagad);
56 
57 bool set_input_sandbox(DAGAd& dagad, std::vector<std::string> const& is);
58 std::vector<std::string> get_input_sandbox(DAGAd const& dagad);
59 bool remove_input_sandbox(DAGAd& dagad);
60 
61 bool set_virtual_organisation(DAGAd& dagad, std::string const& vo);
62 std::string get_virtual_organisation(DAGAd const& dagad);
63 bool remove_virtual_organisation(DAGAd& dagad);
64 
65 bool get_nodes_collocation(DAGAd const& dagad);
66 
67 bool check_vo(DAGAd const& dagad);
68 
69 bool parent_child(DAGAd const& dagad, std::string const& parent_node, std::string const& child_node);
70 
71 } // jdl namespace
72 } // glite namespace
73 
74 #endif
75 
76 // Local Variables:
77 // mode: c++
78 // End:
bool check_vo(DAGAd const &dagad)
bool parent_child(DAGAd const &dagad, std::string const &parent_node, std::string const &child_node)
std::string get_virtual_organisation(DAGAd const &dagad)
bool remove_virtual_organisation(DAGAd &dagad)
std::string get_lb_sequence_code(DAGAd const &dagad)
bool set_x509_user_proxy(DAGAd &dagad, std::string const &proxy)
bool set_virtual_organisation(DAGAd &dagad, std::string const &vo)
bool remove_certificate_subject(DAGAd &dagad)
bool remove_my_proxy_server(DAGAd &dagad)
bool remove_x509_user_proxy(DAGAd &dagad)
std::string get_edg_jobid(DAGAd const &dagad)
std::string get_certificate_subject(DAGAd const &dagad)
bool remove_input_sandbox(DAGAd &dagad)
bool set_my_proxy_server(DAGAd &dagad, std::string const &id)
bool remove_edg_jobid(DAGAd &dagad)
std::vector< std::string > get_input_sandbox(DAGAd const &dagad)
bool set_edg_jobid(DAGAd &dagad, std::string const &id)
bool set_input_sandbox(DAGAd &dagad, std::vector< std::string > const &is)
std::string get_my_proxy_server(DAGAd const &dagad)
std::string get_x509_user_proxy(DAGAd const &dagad)
bool set_certificate_subject(DAGAd &dagad, std::string const &subject)
bool remove_lb_sequence_code(DAGAd &dagad)
bool get_nodes_collocation(DAGAd const &dagad)
bool set_lb_sequence_code(DAGAd &dagad, std::string const &sequence_code)