/usr/include/arc/compute/GLUE2.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 34 35 36 37 38 39 | // -*- indent-tabs-mode: nil -*-
#ifndef __ARC_GLUE2_H__
#define __ARC_GLUE2_H__
#include <list>
#include <string>
#include <arc/compute/ExecutionTarget.h>
namespace Arc {
/// GLUE2 parser
/**
* This class parses GLUE2 infromation rendeed in XML and transfers
* information into various classes representing different types
* of objects which GLUE2 information model can describe.
* This parser uses GLUE Specification v. 2.0 (GFD-R-P.147).
*/
class GLUE2 {
public:
/**
* Parses ComputingService elements of GLUE2 into ComputingServiceType objects.
* The glue2tree is either XML tree representing ComputingService object
* directly or ComputingService objects are immediate children of it.
* On exit targets contains ComputingServiceType objects found inside glue2tree.
* If targets contained any objects on entry those are not destroyed.
*
* @param glue2tree
* @param targets
*/
static void ParseExecutionTargets(XMLNode glue2tree, std::list<ComputingServiceType>& targets);
private:
static Logger logger;
};
}
#endif // __ARC_GLUE2_H__
|