file common_headers/scripts/BOSS/common_headers/wrapperbase.hpp

[No description available]

Classes

Name
classWrapperBase

Source code

#ifndef __WRAPPERBASE__
#define __WRAPPERBASE__

__START_GAMBIT_NAMESPACE__

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() {}
};

__END_GAMBIT_NAMESPACE__

#endif /* __WRAPPERBASE__ */

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