#ifndef FAKE_OCC_GENERIC_HANDLE #define FAKE_OCC_GENERIC_HANDLE #include namespace FakeOcc { template class GenericHandle { public: GenericHandle() { } GenericHandle(const GenericHandle&) { } GenericHandle(const T*) { } Standard_Boolean IsNull() const { return Standard_True; } T* operator->() const { return NULL; } GenericHandle& operator=(const T*) { return *this; } }; } // namespace FakeOcc #endif // FAKE_OCC_GENERIC_HANDLE