|
Chaste
Release::2017.1
|
Go to the documentation of this file. 36 #ifndef SMARTPOINTERS_HPP_ 37 #define SMARTPOINTERS_HPP_ 45 #include <boost/shared_ptr.hpp> 54 #define MAKE_PTR_ABS(ABS_TYPE, TYPE, NAME, ARGS) boost::shared_ptr<ABS_TYPE> NAME(new TYPE ARGS) 62 #define MAKE_PTR_ARGS(TYPE, NAME, ARGS) MAKE_PTR_ABS(TYPE, TYPE, NAME, ARGS) 69 #define MAKE_PTR(TYPE, NAME) MAKE_PTR_ABS(TYPE, TYPE, NAME, ) 77 #define ASSIGN_PTR(NAME, TYPE, ARGS) NAME.reset(new TYPE ARGS) 79 #endif // SMARTPOINTERS_HPP_