GUIDOLib  1.7.7
Guido Engine Internal Documentation
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GRPositionTag Class Reference

The GRPositionTag is the base class for representing range tags. More...

Inheritance diagram for GRPositionTag:
GRTag GRCluster GRGrace GROctava GRPTagARNotationElement GRRange GRArpeggio GRBeam GRBowing GRChordTag GRDynamics GRGlissando GRGlobalLocation GRGlobalStem GRHarmony GRSymbol GRTempoChange GRText GRTremolo GRTrill GRTuplet GRVolta

Classes

class  GRSaveStruct
 

Public Member Functions

 GRPositionTag (const ARMusicalTag *armt=0)
 
 GRPositionTag (GuidoPos p_ep, const ARMusicalTag *armt=0)
 
virtual ~GRPositionTag ()
 
virtual void ResumeTag (GRStaff *grstaff, GuidoPos assocpos)
 
virtual void BreakTag (GRStaff *grstaff, GuidoPos &assocpos)
 
virtual void StaffBegin (GRStaff *grstaff=0)
 
virtual void StaffFinished (GRStaff *grstaff=0)
 
virtual void FinishPTag (GRStaff *)
 
virtual void RangeEnd (GRStaff *grstaff=0)
 
virtual bool DeleteStaff (GRStaff *grstaff)
 
void changeCurrentSystem (GRSystem *psystem)
 
void DeleteAllSSEs ()
 
GuidoPos getEndPos () const
 
GRSystemStartEndStructgetSystemStartEndStruct (const GRSystem *grsystem) const
 
void addSystemStartEndStruct (GRSystemStartEndStruct *sse)
 
- Public Member Functions inherited from GRTag
 GRTag (const ARMusicalTag *artag=0, float curLSPACE=50.0f)
 
virtual ~GRTag ()
 
virtual bool operator!= (const GRTag &tag) const
 
virtual bool operator== (const GRTag &tag) const
 
int getIsAuto () const
 
bool IsStateTag () const
 
virtual const NVPointgetOffset () const
 
virtual float getSize () const
 
virtual float getSConst () const
 
virtual const char * getFont () const
 
virtual const char * getFontAttrib () const
 
virtual int getFontSize () const
 
virtual const unsigned char * getColRef () const
 
virtual void setSConst (float val)
 
void setTagType (TAGTYPE ntyp)
 
TAGTYPE getTagType () const
 
void setError (int p_error)
 
int getError () const
 

Protected Member Functions

virtual void setStartElement (const GRStaff *grstaff, GRNotationElement *n_element)
 
virtual void setEndElement (const GRStaff *grstaff, GRNotationElement *n_element)
 
virtual void addAssociation (GRNotationElement *grnot)
 
virtual void removeAssociation (GRNotationElement *grnot)
 
virtual GRPositionTag::GRSaveStructgetNewGRSaveStruct ()
 

Protected Attributes

SSEList mStartEndList
 
GRSystemStartEndStruct::setflag lastendflag
 
GRNotationElementlastendElement
 
GuidoPos lastendpos
 
- Protected Attributes inherited from GRTag
int isautotag
 
float sconst
 
unsigned char * mColRef
 
std::string fFontName
 
std::string fFontAttrib
 
int fFontSize
 
float mTagSize
 
NVPoint mTagOffset
 

Additional Inherited Members

- Public Types inherited from GRTag
enum  TAGTYPE {
  VOICETAG, STAFFTAG, SYSTEMTAG, PAGETAG,
  VOICEANDSYSTEMTAG
}
 

Detailed Description

The GRPositionTag is the base class for representing range tags.

The GRPositionTag also has a list of staffs, start and end elements as well as a void-pointer that is used to handle position tags that reach over multiple systems, that is, that they have been broken either by newSystem/newPage or by automatic Break-routines.

Constructor & Destructor Documentation

◆ GRPositionTag() [1/2]

GRPositionTag::GRPositionTag ( const ARMusicalTag armt = 0)

◆ GRPositionTag() [2/2]

GRPositionTag::GRPositionTag ( GuidoPos  p_ep,
const ARMusicalTag armt = 0 
)

◆ ~GRPositionTag()

virtual GRPositionTag::~GRPositionTag ( )
inlinevirtual

Member Function Documentation

◆ addAssociation()

virtual void GRPositionTag::addAssociation ( GRNotationElement grnot)
protectedvirtual

◆ addSystemStartEndStruct()

void GRPositionTag::addSystemStartEndStruct ( GRSystemStartEndStruct sse)
inline

◆ BreakTag()

virtual void GRPositionTag::BreakTag ( GRStaff grstaff,
GuidoPos &  assocpos 
)
virtual

Reimplemented in GRBeam, and GRGlissando.

◆ changeCurrentSystem()

void GRPositionTag::changeCurrentSystem ( GRSystem psystem)

◆ DeleteAllSSEs()

void GRPositionTag::DeleteAllSSEs ( )

◆ DeleteStaff()

virtual bool GRPositionTag::DeleteStaff ( GRStaff grstaff)
virtual

Reimplemented in GROctava.

◆ FinishPTag()

virtual void GRPositionTag::FinishPTag ( GRStaff )
inlinevirtual

Reimplemented in GRVolta.

◆ getEndPos()

GuidoPos GRPositionTag::getEndPos ( ) const
inline

◆ getNewGRSaveStruct()

virtual GRPositionTag::GRSaveStruct* GRPositionTag::getNewGRSaveStruct ( )
inlineprotectedvirtual

Reimplemented in GRBeam, GRBowing, GRText, GRHarmony, GRSymbol, and GRTuplet.

◆ getSystemStartEndStruct()

GRSystemStartEndStruct* GRPositionTag::getSystemStartEndStruct ( const GRSystem grsystem) const

◆ RangeEnd()

virtual void GRPositionTag::RangeEnd ( GRStaff grstaff = 0)
virtual

Reimplemented from GRTag.

Reimplemented in GRGlobalStem, GRBeam, GRChordTag, and GRGlobalLocation.

◆ removeAssociation()

virtual void GRPositionTag::removeAssociation ( GRNotationElement grnot)
protectedvirtual

◆ ResumeTag()

virtual void GRPositionTag::ResumeTag ( GRStaff grstaff,
GuidoPos  assocpos 
)
virtual

Reimplemented in GRBeam.

◆ setEndElement()

virtual void GRPositionTag::setEndElement ( const GRStaff grstaff,
GRNotationElement n_element 
)
protectedvirtual

◆ setStartElement()

virtual void GRPositionTag::setStartElement ( const GRStaff grstaff,
GRNotationElement n_element 
)
protectedvirtual

◆ StaffBegin()

virtual void GRPositionTag::StaffBegin ( GRStaff grstaff = 0)
virtual

Reimplemented from GRTag.

Reimplemented in GRBeam.

◆ StaffFinished()

virtual void GRPositionTag::StaffFinished ( GRStaff grstaff = 0)
virtual

Reimplemented from GRTag.

Reimplemented in GRBeam.

Member Data Documentation

◆ lastendElement

GRNotationElement* GRPositionTag::lastendElement
protected

◆ lastendflag

GRSystemStartEndStruct::setflag GRPositionTag::lastendflag
protected

◆ lastendpos

GuidoPos GRPositionTag::lastendpos
protected

◆ mStartEndList

SSEList GRPositionTag::mStartEndList
protected

Guido Project Copyright © 2019 Grame-CNCM