MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::MusxInstanceListBase< T > Class Template Reference

A container of pooled shared object instances from an ObjectPool. More...

#include <MusxInstance.h>

+ Inheritance diagram for musx::dom::MusxInstanceListBase< T >:

Public Member Functions

 MusxInstanceListBase (const std::weak_ptr< Document > &document, Cmper partId)
 Default constructor.
 
Cmper getRequestedPartId () const
 Gets the part id that was used to create this list.
 
std::shared_ptr< DocumentgetDocument () const
 Gets the document that was used to create this list.
 

Detailed Description

template<typename T>
class musx::dom::MusxInstanceListBase< T >

A container of pooled shared object instances from an ObjectPool.

This class wraps a std::vector of MusxInstance<T>.

Template Parameters
TThe object type stored in the list (e.g., StaffUsed, SmartShape, etc.).