MUSX Document Model
|
A pool that manages collections of OthersBase
objects.
More...
#include <ObjectPool.h>
Public Member Functions | |
OthersPool (const DocumentWeakPtr &document) | |
Constructor. | |
void | add (std::string_view nodeName, const std::shared_ptr< OthersBase > &instance) |
OthersPool version of ObjectPool::add. | |
template<typename T > | |
MusxInstanceList< T > | getArray (Cmper partId, std::optional< Cmper > cmper=std::nullopt) const |
OthersPool version of ObjectPool::getArray. | |
template<typename T > | |
MusxInstance< T > | get (Cmper partId, Cmper cmper, std::optional< Inci > inci=std::nullopt) const |
Get a single item out of the pool. | |
Friends | |
class | bench::PoolAccessor< OthersPool > |
MusxInstance< others::StaffComposite > | others::StaffComposite::createCurrent (const DocumentPtr &document, Cmper partId, StaffCmper staffId, MeasCmper measId, Edu eduPosition) |
A pool that manages collections of OthersBase
objects.