jdl-api-cpp-3.4.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JobAdSchema.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 #ifndef GLITE_WMS_COMMON_REQUESTAD_JOBADSCHEMA_H
21 #define GLITE_WMS_COMMON_REQUESTAD_JOBADSCHEMA_H
22 /*
23 * JobAdSchema.h
24 *
25 * Copyright (c) 2001 The European DataGrid Project - IST programme, all rights reserved.
26 *
27 * Contributors are mentioned in the code there appropriate.
28 *
29 */
30 #include <string>
31 #include <vector>
32 
33 namespace glite {
34 namespace jdl {
35 
43 class JobAdSchema {
44  public:
45  // int SCHEMA_MAX_ATTR
46  /******************Public methods********************/
47  enum attribute {
64  };
67  JobAdSchema ( std::vector<std::string> values ) ;
69  static JobAdSchema* glueSchema() ;
71  static JobAdSchema edgSchema( ) ;
75  std::string get ( attribute attrName ) ;
78  JobAdSchema* Copy( ) ;
79  private :
80  /******************Private memebrs********************/
81  std::vector<std::string> values ;
82  JobAdSchema() ;
83 };
84 
85 } // jdl namespace
86 } // glite namespace
87 
88 #endif
static JobAdSchema edgSchema()
Definition: JobAdSchema.h:43
Definition: JobAdSchema.h:58
static JobAdSchema * glueSchema()
Definition: JobAdSchema.h:61
JobAdSchema * Copy()
Definition: JobAdSchema.h:55
Definition: JobAdSchema.h:63
attribute
Definition: JobAdSchema.h:47
Definition: JobAdSchema.h:52
Definition: JobAdSchema.h:49