MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::OptionsPool Class Reference

A pool that manages collections of OptionsBase objects that have no Cmper value. More...

#include <ObjectPool.h>

Public Member Functions

 OptionsPool (const DocumentWeakPtr &document)
 Constructor function.
 
void add (std::string_view nodeName, const std::shared_ptr< OptionsBase > &instance)
 Scalar version of ObjectPool::add.
 
template<typename T >
MusxInstanceList< T > getArray () const
 Scalar version of ObjectPool::getArray.
 
template<typename T >
MusxInstance< T > get () const
 Get a single item out of the pool.
 

Friends

class bench::PoolAccessor< OptionsPool >
 

Detailed Description

A pool that manages collections of OptionsBase objects that have no Cmper value.