---
name: "femCommon.hpp"
section: "3"
platform: "linux"
package: "libfreefem-dev"
version: "3.5.7-3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/femCommon.hpp"
---

# femCommon.hpp(3)

## NAME

femCommon.hpp -

## SYNOPSIS

### Defines

\#define **\_\_femCommon\_H**   1\
 \#define **DECLARE\_TYPE**(mydecl, mytype)\
 \#define **DECLARE\_CLASS**(tag)\
 *Declare class , class pointer , const pointer, class reference and const class reference types for classes.*

## Detailed Description

describe **femCommon.hpp** here

**Distributed under the GPL(GNU Public License):**.RS 4 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.

.RS 4 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.

.RS 4 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.

## Define Documentation

### #define DECLARE\_CLASS(tag)

**Value:**.nf class   tag;                           typedef tag \*       tag ## Ptr;        typedef const tag \* tag ## Cptr;       typedef tag &       tag ## Ref;        typedef const tag & tag ## Cref; Declare class , class pointer , const pointer, class reference and const class reference types for classes.

For example **DECLARE\_CLASS( Exception )**;

**Parameters:**

*tag* The class being declared

### #define DECLARE\_TYPE(mydecl, mytype)

**Value:**.nf typedef mydecl         mytype;         typedef mytype \*       mytype ## Ptr;  typedef const mytype \* mytype ## Cptr; typedef mytype &       mytype ## Ref;  typedef const mytype & mytype ## Cref;

## Author

Generated automatically by Doxygen for FreeFem from the source code.
