/usr/include/fem/femCommon.hpp is in libfreefem-dev 3.5.8-5.1+b2.
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 68 69 70 71 72 | // -*- Mode : c++ -*-
//
// SUMMARY:
// USAGE:
//
// AUTHOR: Christophe Prud'homme (Jesunix) <prudhomm@mit.edu>
// ORG: MIT
// E-MAIL: prudhomm@mit.edu
//
// ORIG-DATE: 12-Jul-01 at 09:43:17
// LAST-MOD: 12-Jul-01 at 09:43:37 by
//
// RCS Infos:
// ==========
// Author: $Author: prudhomm $
// Id: $Id: femCommon.hpp 206 2006-07-30 16:52:02Z prudhomm $
// Revision: $Revision: 206 $
// Date: $Date: 2006-07-30 18:52:02 +0200 (Sun, 30 Jul 2006) $
// locker: $Locker: $
//
//
// DESCRIPTION:
// ============
/*! \file femCommon.hpp
describe femCommon.hpp here
\par Distributed under the GPL(GNU Public License):
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
\par
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
\par
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
// DESCRIP-END.
//
#ifndef __femCommon_H
#define __femCommon_H 1
#define DECLARE_TYPE( mydecl, mytype ) \
typedef mydecl mytype; \
typedef mytype * mytype ## Ptr; \
typedef const mytype * mytype ## Cptr; \
typedef mytype & mytype ## Ref; \
typedef const mytype & mytype ## Cref;
/**
Declare class , class pointer ,
const pointer, class reference
and const class reference types for classes. For example
DECLARE_CLASS( Exception );
@param tag The class being declared
*/
#define DECLARE_CLASS( tag ) \
class tag; \
typedef tag * tag ## Ptr; \
typedef const tag * tag ## Cptr; \
typedef tag & tag ## Ref; \
typedef const tag & tag ## Cref;
#endif /* __femCommon_H */
|