class Symbol

Instances of this class are symbols (or text-elements). More...

Definition#include <symbol.h>
InheritsEvent [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

Instances of this class are symbols (or text-elements). They do not need a (graphical) presentation of their own. They can be displayed graphically within the presentation of the parts, they belong to.

Symbols have an ID number, a displacement, in some cases an additional parameter and in some cases a text.

These symbols are not associated with a certain note. So far the following symbol IDs exist:



 AS_LABEL1
 AS_LABEL2
 AS_LABEL3
 AS_CASE1
 AS_CASE2
 AS_PEDAL1
 AS_PEDAL2
 AS_NOTEDOT
 AS_NOTE3
 AS_NOTE6
 AS_NOTEXX
 AS_8VA
 AS_15VA
 AS_TRILLX
 AS_TRILLX2
 AS_DECRESCENDO
 AS_CRESCENDO
 AS_BRACKETUP
 AS_BRACKETDOWN
 AS_ARPEGGIO
 AS_TEXT
 DYN_PPP
 DYN_PP
 DYN_P
 DYN_MP
 DYN_MF
 DYN_F
 DYN_FF
 DYN_FFF
 DYN_SFZ
 DYN_SF
 DYN_SFF
 DYN_FP

 Symbol ()

Symbol

Default constructor

 Symbol (Position p, int sym)

Symbol

Constructor defining a symbol sym at a position p

 Symbol (Position p, int sym, int displ)

Symbol

Constructor defining a symbol sym at a position p with a displacement displ

 Symbol (Position p, int sym, int displ, int par)

Symbol

Constructor defining a symbol sym at a position p with a displacement displ and a parameter par

 Symbol (Position p, char * tx)

Symbol

Constructor defining a text tx at a position p

 Symbol (Position p, char * tx, int displ)

Symbol

Constructor defining a text tx at a position p with a displacement displ

 Symbol (const Symbol&)

Symbol

Copy Constructor

bool  isParameterized ()

isParameterized

[const]

Returns true if this symbol contains an additional parameter

bool  isText ()

isText

[const]

Returns true if this symbol contains text

int  symbol ()

symbol

[const]

Returns the symbol ID

int  displacement ()

displacement

[const]

Returns the displacement

const char *  text ()

text

[const]

Returns the text

int  parameter ()

parameter

[const]

Returns the additional parameter

void  setSymbol (int)

setSymbol

Sets the symbol ID

void  setDisplacement (int)

setDisplacement

Sets the displacement

void  setText (char*)

setText

Sets the text

void  setParameter (int)

setParameter

Sets the additional parameter

ostream &  print (int,ostream&)

print

[const virtual]

Implementation of the print method

Reimplemented from Event.

void  flush (const char*)

flush

[const virtual]

Implementation of the flush method

Reimplemented from Event.

Element *  copy ()

copy

[const virtual]

Implementation of the copy method

Reimplemented from Event.

Element *  load (char*,ifstream*&,Element*)

load

[static]

Implementation of the load method


Generated by: wuerthne on al on Sun Jan 6 22:32:42 2002, using kdoc 2.0a53.