Go to the source code of this file.
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. | |
| #define DECLARE_CLASS | ( | tag | ) |
Value:
class tag; \ typedef tag * tag ## Ptr; \ typedef const tag * tag ## Cptr; \ typedef tag & tag ## Ref; \ typedef const tag & tag ## Cref;
For example DECLARE_CLASS( Exception );
| tag | The class being declared |
| #define DECLARE_TYPE | ( | mydecl, | |||
| mytype | ) |
Value:
typedef mydecl mytype; \ typedef mytype * mytype ## Ptr; \ typedef const mytype * mytype ## Cptr; \ typedef mytype & mytype ## Ref; \ typedef const mytype & mytype ## Cref;