20 #ifndef _MBSIM_OBJECTFACTORY_PART_H_ 21 #define _MBSIM_OBJECTFACTORY_PART_H_ 27 namespace MBXMLUtils {
52 virtual void operator()(fmatvec::Atom *obj)
const = 0;
61 template<
class EV>
void registerEnum_internal(
const MBXMLUtils::FQN &name,
const EV& value);
63 template<
class EV>
void deregisterEnum_internal(
const MBXMLUtils::FQN &name);
virtual fmatvec::Atom * operator()() const =0
Implement this function to allocate a new object.
Definition: objectfactory_part.h:49
virtual bool isEqual(const AllocateBase &other) const =0
Definition: objectfactory_part.h:37
virtual void operator()(fmatvec::Atom *obj) const =0
Implement this function to deallocate the object obj.
namespace MBSim
Definition: bilateral_constraint.cc:29