00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00044
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