8#ifndef FF_ENTRYDETAILSCOLLECTION_H
9#define FF_ENTRYDETAILSCOLLECTION_H
11#include "ff_basecollection.h"
14#ifdef PDK_FRAMEWORK_ENTRIES
27#ifndef DOXYGEN_SHOULD_IGNORE_THIS
31 const char*
ClassName()
const override {
return "FCArticulations"; }
61#ifndef DOXYGEN_SHOULD_IGNORE_THIS
65 const char*
ClassName()
const override {
return "FCStemMods"; }
72#ifndef DOXYGEN_SHOULD_IGNORE_THIS
76 const char*
ClassName()
const override {
return "FCSecondaryBeamBreakMods"; }
83#ifndef DOXYGEN_SHOULD_IGNORE_THIS
87 const char*
ClassName()
const override {
return "FCCustomStemMods"; }
94#ifndef DOXYGEN_SHOULD_IGNORE_THIS
98 const char*
ClassName()
const override {
return "FCBrokenBeamMods"; }
118#ifndef DOXYGEN_SHOULD_IGNORE_THIS
122 const char*
ClassName()
const override {
return "FCPrimaryBeamMods"; }
156#ifndef DOXYGEN_SHOULD_IGNORE_THIS
160 const char*
ClassName()
const override {
return "FCSecondaryBeamMods"; }
172 _pNoteEntry = pConnectEntry;
187 _upstems = useupstem;
188 SetCustomTag(_upstems ? ed_BeamAboveModsSecondary : ed_BeamBelowModsSecondary);
211 if (beamno < 2)
return NULL;
212 if (beamno > 15)
return NULL;
215#ifdef PDK_FRAMEWORK_DIAGNOSE
216 DebugOut(
"No attached entry on FCSecondaryBeamMods::GetOrCreateBeam() call.");
221 for (
int i = 0; i <
GetCount(); i++)
248 for (
int i = 0; i <
GetCount(); i++)
263 if (!_pNoteEntry)
return false;
265 const int beamcount = _pNoteEntry->CalcBeamCount();
266 for (
int beamno = 2; beamno <= beamcount; beamno++)
267 if (!
GetBeam(beamno))
return false;
279 if (!_pNoteEntry)
return false;
281 const int beamcount = _pNoteEntry->CalcBeamCount();
282 for (
int beamno = 2; beamno <= beamcount; beamno++)
310#ifndef DOXYGEN_SHOULD_IGNORE_THIS
314 const char*
ClassName()
const override {
return "FCTuplets"; }
332#if (FXT_VERSION > FINALEVERSION_2012) || (DOXYGEN_SHOULD_SKIP_THIS)
349#ifndef DOXYGEN_SHOULD_IGNORE_THIS
353 const char*
ClassName()
const override {
return "FCVerseSyllables"; }
385#ifndef DOXYGEN_SHOULD_IGNORE_THIS
389 const char*
ClassName()
const override {
return "FCChorusSyllables"; }
420#ifndef DOXYGEN_SHOULD_IGNORE_THIS
424 const char*
ClassName()
const override {
return "FCSectionSyllables"; }
457#ifndef DOXYGEN_SHOULD_IGNORE_THIS
461 const char*
ClassName()
const override {
return "FCNoteheadMods"; }
492#ifndef DOXYGEN_SHOULD_IGNORE_THIS
496 const char*
ClassName()
const override {
return "FCAccidentalMods"; }
526#ifndef DOXYGEN_SHOULD_IGNORE_THIS
530 const char*
ClassName()
const override {
return "FCPercussionNoteMods"; }
563#ifndef DOXYGEN_SHOULD_IGNORE_THIS
567 const char*
ClassName()
const override {
return "FCTablatureNoteMods"; }
598#ifndef DOXYGEN_SHOULD_IGNORE_THIS
602 const char*
ClassName()
const override {
return "FCStartTieMods"; }
635#ifndef DOXYGEN_SHOULD_IGNORE_THIS
639 const char*
ClassName()
const override {
return "FCEndTieMods"; }
673#ifndef DOXYGEN_SHOULD_IGNORE_THIS
677 const char*
ClassName()
const override {
return "FCDotMods"; }
710#ifndef DOXYGEN_SHOULD_IGNORE_THIS
714 const char*
ClassName()
const override {
return "FCCrossStaffMods"; }
746#ifndef DOXYGEN_SHOULD_IGNORE_THIS
750 const char*
ClassName()
const override {
return "FCPerformanceMods"; }
Base class for all data-related classes (that handles Finale data).
Definition ff_base.h:676
static void DebugOut(const char *pszLine)
Static method to output a line of text for debugging purposes.
Definition finaleframework.cpp:526
void SetCustomTag(EXTAG tag)
Sets a custom Enigma tag for the elements of the collection.
Definition ff_basecollection.h:664
Base class specially designed for collections of entry detail classes.
Definition ff_basecollection.h:679
void Add(__FCBase *pNewItem)
Adds an element to the end of the collection.
Definition finaleframework.cpp:13726
int GetCount() const
Returns the number of elements of the collection.
Definition ff_basecollection.h:102
__FCBase * GetItemAt(int index) const
Returns the object at the index position. Index is 0-based.
Definition finaleframework.cpp:13767
Class for acciental modifications (as in Finale's Special Tools).
Definition ff_entrydetails.h:3559
Collection class for FCAccidentalMod class objects.
Definition ff_entrydetailscollection.h:490
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:496
FCAccidentalMod * GetItemAt(int index) const
Overridden version of GetItemAt()
Definition ff_entrydetailscollection.h:511
FCAccidentalMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:504
Class for attaching an articulation definition to an entry.
Definition ff_entrydetails.h:1839
Collection class for FCArticulation class objects.
Definition ff_entrydetailscollection.h:25
bool ContainsDefID(twobyte articulationID)
Returns true if the articulation definition ID is in the collection.
Definition finaleframework.cpp:23008
FCArticulations(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:39
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:31
FCArticulation * GetItemAt(int index) const
Overloaded method for GetItemAt.
Definition ff_entrydetailscollection.h:54
Class for custom beam adjustments (in Finale's Special Tools).
Definition ff_entrydetails.h:4279
void SetNoteEntry(FCNoteEntry *pEntry) override
Overridden method to assign a note entry with the data.
Definition ff_entrydetails.h:4449
void SetBeamNumber(twobyte beamnumber)
Sets the 1-based beam that the data is connected to. Don't change this for loaded data.
Definition ff_entrydetails.h:4573
twobyte GetBeamNumber()
Returns the 1-based number of the beam. 1 is the 8th-note beam.
Definition ff_entrydetails.h:4650
bool SaveNew() override
Overridden SaveNew() method for FCBeamMod.
Definition ff_entrydetails.h:4405
Class for manually broken beam adjustments (in Finale's Special Tools).
Definition ff_entrydetails.h:5696
Generic collection class for FCBrokenBeamMod class objects.
Definition ff_entrydetailscollection.h:92
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:98
The class for a chorus syllable.
Definition ff_entrydetails.h:3222
Collection class for FCChorusSyllable class objects.
Definition ff_entrydetailscollection.h:383
FCChorusSyllable * GetItemAt(int index) const
Definition ff_entrydetailscollection.h:404
FCChorusSyllables(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:397
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:389
Class that specifies the cross-staff connection for a note.
Definition ff_entrydetails.h:1087
Collection class for FCCrossStaffMod class objects.
Definition ff_entrydetailscollection.h:708
FCCrossStaffMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:722
FCCrossStaffMod * GetItemAt(int index) const
Overridden version of GetItemAt()
Definition ff_entrydetailscollection.h:729
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:714
Class for custom stem shapes (in Finale's Special Tools). The data is connected to either an upstem o...
Definition ff_entrydetails.h:4177
Generic collection class for FCCustomStemMods class objects.
Definition ff_entrydetailscollection.h:81
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:87
Class with adjustments to the augmentation dots (in Finale's Special Tools).
Definition ff_entrydetails.h:940
Collection class for FCDotMod class objects.
Definition ff_entrydetailscollection.h:671
FCDotMod * GetItemAt(int index) const
Overridden version of GetItemAt()
Definition ff_entrydetailscollection.h:692
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:677
FCDotMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:685
Collection class for FCTieMod class objects for end tie alterations.
Definition ff_entrydetailscollection.h:633
FCTieMod * GetItemAt(int index) const
Overridden version of GetItemAt()
Definition ff_entrydetailscollection.h:657
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:639
FCEndTieMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:647
Encapsulates a note entry from an owner class (for example FCNoteEntryCell, FCNoteEntryLayer) class.
Definition ff_noteframe.h:940
bool CalcStemUp()
Returns the direction of the beam.
Definition finaleframework.cpp:17999
Class for notehead modifications (as in Finale's Special Tools).
Definition ff_entrydetails.h:337
Collection class for FCNoteheadMod class objects. The collection would typically collect all notehead...
Definition ff_entrydetailscollection.h:455
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:461
FCNoteheadMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:469
FCNoteheadMod * GetItemAt(int index) const
Overridden implementation for GetItemAt().
Definition ff_entrydetailscollection.h:477
Class for percussion note modification.
Definition ff_entrydetails.h:4094
Collection class for FCPercussionNoteMod class objects.
Definition ff_entrydetailscollection.h:524
FCPercussionNoteMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:538
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:530
FCPercussionNoteMod * GetItemAt(int index) const
Overridden version of GetItemAt()
Definition ff_entrydetailscollection.h:546
Collection class for FCBeamMod class objects that belong specifically to primary beams....
Definition ff_entrydetailscollection.h:116
FCBeamMod * GetItemAt(int index) const
Overridden GetItemAt() method.
Definition ff_entrydetailscollection.h:137
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:122
FCPrimaryBeamMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:128
Class for secondary beam breaks (in Finale's Special Tools).
Definition ff_entrydetails.h:1197
Generic collection class for FCSecondaryBeamBreakMod class objects.
Definition ff_entrydetailscollection.h:70
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:76
Collection class for FCBeamMod class objects that belong specifically to secondary beams....
Definition ff_entrydetailscollection.h:153
bool AssureAllBeamsDataExists()
Makes sure that all secondary beams for the attached entry exist.
Definition ff_entrydetailscollection.h:277
void UseUpStemData(bool useupstem)
Sets if upstem or downstem data should be loaded/saved.
Definition ff_entrydetailscollection.h:185
FCSecondaryBeamMods(FCNoteEntry *pConnectEntry)
The constructor.
Definition ff_entrydetailscollection.h:168
FCBeamMod * GetOrCreateBeam(int beamno)
Returns a pointer to a beam object (based on the beam number). If it doesn't exist,...
Definition ff_entrydetailscollection.h:209
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:160
bool AllBeamsDataExists()
Returns true if all secondary beams have an object in the collection, based on the attached entry.
Definition ff_entrydetailscollection.h:261
FCBeamMod * GetItemAt(int index) const
Overridden GetItemAt() method.
Definition ff_entrydetailscollection.h:295
bool IsUpStem()
Returns true if it's upstem data.
Definition ff_entrydetailscollection.h:195
FCBeamMod * GetBeam(int beamno)
Returns a pointer to an existing beam object (based on the beam number).
Definition ff_entrydetailscollection.h:246
The class for a section syllable.
Definition ff_entrydetails.h:3241
Collection class for FCSectionSyllable class objects.
Definition ff_entrydetailscollection.h:418
FCSectionSyllables(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:432
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:424
FCSectionSyllable * GetItemAt(int index) const
Definition ff_entrydetailscollection.h:438
Collection class for FCTieMod class objects for start tie alterations.
Definition ff_entrydetailscollection.h:596
FCTieMod * GetItemAt(int index) const
Overridden version of GetItemAt()
Definition ff_entrydetailscollection.h:620
FCStartTieMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:610
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:602
Class for manual stem adjustments (in Finale's Special Tools).
Definition ff_entrydetails.h:1702
Generic collection class for FCStemMod class objects.
Definition ff_entrydetailscollection.h:59
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:65
Class with info about one tablature note.
Definition ff_entrydetails.h:5792
Collection class for FCPercussionNoteMod class objects.
Definition ff_entrydetailscollection.h:561
FCTablatureNoteMod * GetItemAt(int index) const
Overridden version of GetItemAt()
Definition ff_entrydetailscollection.h:582
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:567
FCTablatureNoteMods(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:575
Class with adjustments to the ties (in Finale's Special Tools).
Definition ff_entrydetails.h:4987
@ TIEMODTYPE_TIEEND
Definition ff_entrydetails.h:5036
@ TIEMODTYPE_TIESTART
Definition ff_entrydetails.h:5039
Class for attaching an tuplet to an entry.
Definition ff_entrydetails.h:2153
Collection class for FCTuplet class objects.
Definition ff_entrydetailscollection.h:308
FCTuplet * GetItemAt(int index) const
Definition ff_entrydetailscollection.h:329
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:314
FCTuplets(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:322
The class for a verse syllable.
Definition ff_entrydetails.h:3202
Collection class for FCVerseSyllable class objects.
Definition ff_entrydetailscollection.h:347
FCVerseSyllables(FCNoteEntry *pConnectEntry=NULL)
The constructor.
Definition ff_entrydetailscollection.h:361
FCVerseSyllable * GetItemAt(int index) const
Definition ff_entrydetailscollection.h:368
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_entrydetailscollection.h:353