Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

TPartGroup Class Reference

Indicates groupings of parts in a score. More...

#include <TPartGroup.h>

Inheritance diagram for TPartGroup:

TPartListElement visitable smartable List of all members.

Public Types

enum  symbol {
  undefined = -1, none = 1, brace, line,
  bracket, last = bracket
}
 the possible values for the group symbol


Public Member Functions

virtual void accept (TScoreVisitor &visitor)
void setType (StartStop::type type)
 the required type attribute

void setNumber (int num)
 the optional group number

void setGroupName (string name)
 optional group name

void setGroupAbbrev (string abbrev)
 optional name abbreviation

void setSymbol (symbol sym)
 optional group symbol

StartStop::type getType () const
int getNumber () const
string getGroupName () const
string getGroupAbbrev () const
symbol getSymbol () const

Static Public Member Functions

const string xmlsymbol (symbol d)
 convert an integer dynamic to a MusicXML string

symbol xmlsymbol (const string str)
 convert an MusicXML string to an integer dynamic


Protected Member Functions

 TPartGroup (StartStop::type type)

Friends

EXP friend SMARTP< TPartGroupnewPartGroup (StartStop::type type)

Detailed Description

Groupings of parts in the score are usually indicated by braces and brackets. The number attribute is used to distinguish overlapping and nested part-groups, not the sequence of groups. As with parts, groups can have a name and abbreviation. The group-symbol element indicates how the group is indicated on the score. Values include none (default), brace, line, and bracket. Values for the child elements are ignored at the stop of a group.
TPartGroup corresponds to the MusicXML score-part element as defined in score.dtd.


Generated on Tue Mar 23 09:50:12 2004 for LibMusicXML by doxygen 1.3.3