mbsim  4.0.0
MBSim Kernel
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. More...
 
bool isEqual (const AllocateBase &other) const override
 
virtual fmatvec::Atom * operator() () const =0
 Implement this function to allocate a new object. More...
 
virtual bool isEqual (const AllocateBase &other) const =0
 

Member Function Documentation

◆ isEqual()

template<class CreateType >
bool MBSim::Allocate< CreateType >::isEqual ( const AllocateBase other) const
inlineoverridevirtual

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.

◆ operator()()

template<class CreateType >
fmatvec::Atom * MBSim::Allocate< CreateType >::operator() ( ) const
inlineoverridevirtual

Implement this function to allocate a new object.

Implements MBSim::AllocateBase.


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