|
resonance 1.0.1
|
The riffs of one phrase, one per difficulty level. More...
#include <riffset.h>

Public Member Functions | |
| void * | operator new (size_t nSize) |
| Allocate a set from the tagged heap under the tag RiffSet. | |
| void | operator delete (void *pBlock) |
| Release a set to the tagged heap. | |
| RiffSet () | |
| Construct a set with no riff at any level. | |
| ~RiffSet () | |
| Give back the reference to every riff the set has. | |
| void | Print (std::ostream &stream) |
| Write every level to a diagnostic stream, one line each, with [empty] for a missing riff. | |
Public Attributes | |
| Riff * | mRiffs [kRiffSetLevelCount] |
The riffs of one phrase, one per difficulty level.
The class emits no RTTI and is not polymorphic. Its title is attested by the allocation tag RiffSet, under which TrackData allocates it and its destructor releases it. The object is 0x10 bytes of four riff pointers indexed by Riff::mId.
TrackData deletes every RiffSet it creates through TrackData::mRiffSetsOwned, and each bar the set covers refers to it from the bar's riff list.
| RiffSet::RiffSet | ( | ) |
Construct a set with no riff at any level.
| RiffSet::~RiffSet | ( | ) |
Give back the reference to every riff the set has.
|
inline |
|
inline |
Release a set to the tagged heap.
No out-of-line body exists. The deleting destructor expands the call inline.
| pBlock | The block. |
| void RiffSet::Print | ( | std::ostream & | stream | ) |
Write every level to a diagnostic stream, one line each, with [empty] for a missing riff.
| stream | The stream to write to. |
| Riff* RiffSet::mRiffs[kRiffSetLevelCount] |
The riff of each level, or null. +0x00