glite/jdl/convert.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
00004 copyright 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,
00015 either express or implied.
00016 See the License for the specific language governing permissions and
00017 limitations under the License.
00018 */
00019 
00020 // File: convert.h
00021 // Author: Francesco Giacomini <Francesco.Giacomini@cnaf.infn.it>
00022 // Copyright (c) 2002 EU DataGrid.
00023 
00024 // $Id: convert.h,v 1.3.6.1 2010/04/07 09:50:34 mcecchi Exp $
00025 
00026 #ifndef GLITE_WMS_COMMON_REQUESTAD_CONVERT_H
00027 #define GLITE_WMS_COMMON_REQUESTAD_CONVERT_H
00028 
00029 #include <iosfwd>
00030 
00031 namespace classad {
00032 class ClassAd;
00033 }
00034 
00035 namespace glite {
00036 namespace jdl {
00037 
00038 class DAGAd;
00039 
00040 // convert a classad for a job to a condor submit file (stream in general)
00041 std::ostream& to_submit_stream(std::ostream& os, classad::ClassAd const& ad);
00042 
00043 // convert a DAGAd to a condor DAG file (stream in general)
00044 std::ostream& to_dag_stream(std::ostream& os, DAGAd const& dag_ad);
00045 
00046 bool to_dag_job(DAGAd const& dag_ad, classad::ClassAd& result);
00047 
00048 } // jdl namespace
00049 } // glite namespace
00050 
00051 #endif // GLITE_WMS_COMMON_REQUESTAD_CONVERT_H

Generated on 7 Mar 2013 for jdl-api-cpp-3.4.1 by  doxygen 1.4.7