MUSX Document Model
|
Text pool. More...
#include <ObjectPool.h>
Public Member Functions | |
TextsPool (const DocumentWeakPtr &document) | |
Constructor fundtion. | |
void | add (std::string_view nodeName, const std::shared_ptr< TextsBase > &instance) |
Texts version of ObjectPool::add. | |
template<typename T > | |
MusxInstanceList< T > | getArray (std::optional< Cmper > cmper=std::nullopt) const |
Texts version of ObjectPool::getArray. | |
template<typename T > | |
MusxInstance< T > | get (Cmper cmper) const |
Get a single item out of the pool. | |
Friends | |
class | bench::PoolAccessor< TextsPool > |
Text pool.