1
// -*- indent-tabs-mode: nil -*-
3
#ifndef __ARC_GLUE2ENTITY_H__
4
#define __ARC_GLUE2ENTITY_H__
7
* \brief template class for %GLUE2 entities.
10
#include <arc/Utils.h>
15
* \ingroup resourceinfo
16
* \headerfile ExecutionTarget.h arc/compute/ExecutionTarget.h
21
GLUE2Entity() : Attributes(new T) {}
23
T * operator->() { return &(*Attributes); }
24
T const * operator->() const { return &(*Attributes); }
25
T & operator*() { return *Attributes; }
26
T const & operator*() const { return *Attributes; }
28
CountedPointer<T> Attributes;
32
#endif // __ARC_GLUE2ENTITY_H__