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

Entry pool. More...

#include <ObjectPool.h>

Public Member Functions

 EntryPool (const DocumentWeakPtr &document)
 Constructor function.
 
bool empty () const
 Returns whether the pool contains no entries.
 
void add (EntryNumber entryNumber, std::shared_ptr< Entry > instance)
 Add an entry to the EntryPool. (Used by the factory.)
 
void integrityCheckAll () const
 Validates every entry in entry-number order.
 
MusxInstance< Entryget (EntryNumber entryNumber) const
 Get an entry from the EntryPool.
 

Friends

class bench::PoolAccessor< EntryPool >
 

Detailed Description

Entry pool.