/usr/include/arc/compute/GLUE2Entity.h is in nordugrid-arc-dev 4.2.0-2.
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 | // -*- indent-tabs-mode: nil -*-
#ifndef __ARC_GLUE2ENTITY_H__
#define __ARC_GLUE2ENTITY_H__
/** \file
* \brief template class for %GLUE2 entities.
*/
#include <arc/Utils.h>
namespace Arc {
/**
* \ingroup resourceinfo
* \headerfile ExecutionTarget.h arc/compute/ExecutionTarget.h
*/
template<typename T>
class GLUE2Entity {
public:
GLUE2Entity() : Attributes(new T) {}
T * operator->() { return &(*Attributes); }
T const * operator->() const { return &(*Attributes); }
T & operator*() { return *Attributes; }
T const & operator*() const { return *Attributes; }
CountedPointer<T> Attributes;
};
} // namespace Arc
#endif // __ARC_GLUE2ENTITY_H__
|