mbsim 4.0.0 MBSim Kernel

Public Member Functions | List of all members
MBSim::Allocate< CreateType > Struct Template Reference
Inheritance diagram for MBSim::Allocate< CreateType >:
[legend]

## Public Member Functions

fmatvec::Atom * | operator() () const override
| Implement this function to allocate a new object.
bool | isEqual (const AllocateBase &other) const override

## Member Function Documentation

## ◆ isEqual()

template<class CreateType >

bool MBSim::Allocate< CreateType >::isEqual | ( | const AllocateBase & | other | ) | const

inline override virtual

Implement this function to compare whether this class and the instance other allocate the same object type when calling operator(). (we use isEqual here instead of operator== to avoid problems with some swig versions)

Implements MBSim::AllocateBase.

The documentation for this struct was generated from the following file:

- /mbsim-env/mbsim/kernel/mbsim/objectfactory.h