Set and retrieve scorefile creation classes. Control of MusicKit-created objects.


Functions

BOOL MKSetNoteClass (id noteSubclass)
 When reading a scorefile, processing MIDI, etc., the MusicKit creates MKNote objects. Use MKSetNoteClass() to substitute your own MKNote subclass.
id MKGetNoteClass (void)
 Returns class set with MKSetNoteClass() or [MKNote class] if none.
BOOL MKSetPartClass (id partSubclass)
 Similar to MKSetNoteClass() for MKParts.
BOOL MKSetEnvelopeClass (id envelopeSubclass)
 Similar to MKSetNoteClass() for MKEnvelopes.
BOOL MKSetPartialsClass (id aPartialsSubclass)
 Similar to MKSetNoteClass() for MKPartials.
BOOL MKSetSamplesClass (id aSamplesSubclass)
 Set and retrieve scorefile creation classes.
id MKGetPartClass (void)
 Similar to MKGetNoteClass() for MKParts.
id MKGetEnvelopeClass (void)
 Similar to MKGetNoteClass() for MKEnvelopes.
id MKGetPartialsClass (void)
 Similar to MKGetNoteClass() for MKPartials.
id MKGetSamplesClass (void)
 Similar to MKGetNoteClass() for MKSamples.

Function Documentation

id MKGetEnvelopeClass ( void   ) 

Similar to MKGetNoteClass() for MKEnvelopes.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

The MKGetClassClass() functions return the requested classes as set through the functions above.

See also:
MKSetNoteClass().
Returns:
Returns an id.

id MKGetPartClass ( void   ) 

Similar to MKGetNoteClass() for MKParts.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

The MKGetClassClass() functions return the requested classes as set through the functions above.

Returns:
Returns an id.
See also:
MKSetNoteClass().

id MKGetPartialsClass ( void   ) 

Similar to MKGetNoteClass() for MKPartials.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

The MKGetClassClass() functions return the requested classes as set through the functions above.

Returns:
Returns an id.
See also:
MKSetNoteClass().

id MKGetSamplesClass ( void   ) 

Similar to MKGetNoteClass() for MKSamples.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

The MKGetClassClass() functions return the requested classes as set through the functions above.

Returns:
Returns an id.
See also:
MKSetNoteClass().

BOOL MKSetEnvelopeClass ( id  envelopeSubclass  ) 

Similar to MKSetNoteClass() for MKEnvelopes.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

Parameters:
envelopeSubclass is a MKEnvelope instance.
Returns:
MKSetClassClass() returns NO if the argument isn't a subclass of Class; otherwise it returns YES.
See also:
MKSetNoteClass().

BOOL MKSetNoteClass ( id  noteSubclass  ) 

When reading a scorefile, processing MIDI, etc., the MusicKit creates MKNote objects. Use MKSetNoteClass() to substitute your own MKNote subclass.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote. This function does not effect objects returned by [MKNote new]; these are instances of the MKNote class, as usual.

The MKGetClassClass() functions return the requested classes as set through the functions above.

Parameters:
noteSubclass is a MKNote.
Returns:
MKSetClassClass() returns NO if the argument isn't a subclass of Class; otherwise it returns YES.

BOOL MKSetPartClass ( id  partSubclass  ) 

Similar to MKSetNoteClass() for MKParts.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

The MKGetClassClass() functions return the requested classes as set through the functions above.

Parameters:
partSubclass is a MKPart instance.
Returns:
MKSetClassClass() returns NO if the argument isn't a subclass of Class; otherwise it returns YES.
See also:
MKSetNoteClass().

BOOL MKSetPartialsClass ( id  aPartialsSubclass  ) 

Similar to MKSetNoteClass() for MKPartials.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

Parameters:
aPartialsSubclass is a MKPartials instance.
Returns:
MKSetClassClass() returns NO if the argument isn't a subclass of Class; otherwise it returns YES.
See also:
MKSetNoteClass().

BOOL MKSetSamplesClass ( id  aSamplesSubclass  ) 

Set and retrieve scorefile creation classes.

When you read a scorefile into your application, some number of objects are automatically created. Specifically, these objects are instances of MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples. You can supply your own classes from which these instances are created through these functions. The one restriction is that the class that you set must be a subclass of the original class; for example, the class that you pass the argument to MKSetNoteClass() must be a subclass of MKNote.

Parameters:
aSamplesSubclass is a MKSamples.
Returns:
MKSetClassClass() returns NO if the argument isn't a subclass of Class; otherwise it returns YES.
See also:
MKSetNoteClass().


Generated on Sat Dec 5 17:01:14 2009 for MusicKit by  doxygen 1.5.6