Open CASCADE Technology  7.4.0
Macros
Plugin_Macro.hxx File Reference

Macros

#define PLUGIN(name)
 Macro implementing C-style interface function to get factory object from the dynamically loaded library. More...
 

Macro Definition Documentation

◆ PLUGIN

#define PLUGIN (   name)
Value:
extern "C" Standard_EXPORT Standard_Transient* PLUGINFACTORY(const Standard_GUID& aGUID) { \
return const_cast<Standard_Transient*>(name::Factory(aGUID).get()); \
}
Definition: Standard_GUID.hxx:37
Abstract class which forms the root of the entire Transient class hierarchy.
Definition: Standard_Transient.hxx:31

Macro implementing C-style interface function to get factory object from the dynamically loaded library.