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. |
describe femCommon.hpp here
#define DECLARE_CLASS | ( | tag | ) |
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 );
tag | The class being declared |
#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;