SoundFontInfoLib
2.21.6
Library for parsing and rendering SF2 files
|
Base class for entities that contain a collection of zones. More...
#include <WithZones.hpp>
Public Types | |
using | ZoneType = T |
using | EntityType = E |
using | WithZoneCollection = ZoneCollection< ZoneType > |
Public Member Functions | |
bool | hasGlobalZone () const |
const ZoneType * | globalZone () const |
const WithZoneCollection & | zones () const |
const EntityType & | configuration () const |
Protected Member Functions | |
WithZones (size_t zoneCount, const EntityType &configuration) | |
Protected Attributes | |
WithZoneCollection | zones_ |
const EntityType & | configuration_ |
Base class for entities that contain a collection of zones.
T
is an SF2::Zone class (PresetZone or InstrumentZone) to hold in the collectionE
is the SF2::Entity class that defines the zone configuration in the SF2 file. using SF2::Render::WithZones< T, E >::EntityType = E |
using SF2::Render::WithZones< T, E >::WithZoneCollection = ZoneCollection<ZoneType> |
using SF2::Render::WithZones< T, E >::ZoneType = T |
|
inlineprotected |
|
inline |
References SF2::Render::WithZones< T, E >::configuration_.
|
inline |
References SF2::Render::ZoneCollection< Kind >::global(), and SF2::Render::WithZones< T, E >::zones_.
|
inline |
References SF2::Render::ZoneCollection< Kind >::hasGlobal(), and SF2::Render::WithZones< T, E >::zones_.
|
inline |
References SF2::Render::WithZones< T, E >::zones_.
|
protected |
Referenced by SF2::Render::WithZones< T, E >::configuration().
|
protected |