/usr/include/ThePEG/Pointer/Ptr.h is in libthepeg-dev 1.8.0-3build1.
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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | // -*- C++ -*-
//
// Ptr.h is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef ThePEG_Ptr_H
#define ThePEG_Ptr_H
// This is the declaration of the Ptr class.
#include "RCPtr.fh"
namespace ThePEG {
/** The namespace for the reference counted pointer classes */
namespace Pointer {
/**
* Ptr is a templated class to provide typedefs for pointers types
* ThePEG should use for a given type. If you want to use ThePEG with
* another kind of (smart) pointers than those provided you have to
* provide an alternative ThePEG.h file which includes an alternative
* Ptr class. It may also be possible to specialize this Ptr class for
* using different pointer classes for different classes.
*
* @see RCPtr
* @see ConstRCPtr
* @see TransientRCPtr
* @see TransientConstRCPtr
*
*/
template <typename T>
struct Ptr {
/** Template argument typedef. */
typedef RCPtr<T> pointer;
/** Template argument typedef. */
typedef ConstRCPtr<T> const_pointer;
/** Template argument typedef. */
typedef TransientRCPtr<T> transient_pointer;
/** Template argument typedef. */
typedef TransientConstRCPtr<T> transient_const_pointer;
/** Template argument typedef. */
typedef pointer ptr;
/** Template argument typedef. */
typedef const_pointer cptr;
/** Template argument typedef. */
typedef transient_pointer tptr;
/** Template argument typedef. */
typedef transient_const_pointer tcptr;
/** Template argument typedef. */
typedef pointer p;
/** Template argument typedef. */
typedef const_pointer cp;
/** Template argument typedef. */
typedef transient_pointer tp;
/** Template argument typedef. */
typedef transient_const_pointer tcp;
};
}
}
#endif /* ThePEG_Ptr_H */
|