file Backends/include/gambit/Backends/wrapperbase.hpp

[No description available]

Classes

Name
classWrapperBase

Source code

#ifndef __WRAPPERBASE__
#define __WRAPPERBASE__



class AbstractBase;

class WrapperBase
{
    protected:
        AbstractBase* BEptr;
        bool delete_BEptr;
    public:
        bool can_delete_BEptr() { return delete_BEptr; }
        void set_delete_BEptr(bool del_wrp_in) { delete_BEptr = del_wrp_in; }

    public:
        WrapperBase(AbstractBase* BEptr_in) : BEptr(BEptr_in), delete_BEptr(true) {}

        virtual ~WrapperBase() {}
};



#endif /* __WRAPPERBASE__ */

Updated on 2024-07-18 at 13:53:35 +0000