Main Page | Alphabetical List | Class List | File List | Class Members | File Members

femCommon.hpp

Go to the documentation of this file.
00001 // -*- Mode : c++ -*- 00002 // 00003 // SUMMARY: 00004 // USAGE: 00005 // 00006 // AUTHOR: Christophe Prud'homme (Jesunix) <prudhomm@mit.edu> 00007 // ORG: MIT 00008 // E-MAIL: prudhomm@mit.edu 00009 // 00010 // ORIG-DATE: 12-Jul-01 at 09:43:17 00011 // LAST-MOD: 12-Jul-01 at 09:43:37 by 00012 // 00013 // RCS Infos: 00014 // ========== 00015 // Author: $Author: delpinux $ 00016 // Id: $Id: femCommon.hpp,v 1.2 2001/07/12 15:15:39 delpinux Exp $ 00017 // Revision: $Revision: 1.2 $ 00018 // Date: $Date: 2001/07/12 15:15:39 $ 00019 // locker: $Locker: $ 00020 // 00021 // 00022 // DESCRIPTION: 00023 // ============ 00044 // DESCRIP-END. 00045 // 00046 #ifndef __femCommon_H 00047 #define __femCommon_H 1 00048 00049 #define DECLARE_TYPE( mydecl, mytype ) \ 00050 typedef mydecl mytype; \ 00051 typedef mytype * mytype ## Ptr; \ 00052 typedef const mytype * mytype ## Cptr; \ 00053 typedef mytype & mytype ## Ref; \ 00054 typedef const mytype & mytype ## Cref; 00055 00064 #define DECLARE_CLASS( tag ) \ 00065 class tag; \ 00066 typedef tag * tag ## Ptr; \ 00067 typedef const tag * tag ## Cptr; \ 00068 typedef tag & tag ## Ref; \ 00069 typedef const tag & tag ## Cref; 00070 00071 00072 #endif /* __femCommon_H */

This is the FreeFEM reference manual
Provided by The KFEM project