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

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 >
 

Detailed Description

Text pool.