MuseScore  3.4
Music composition and notation
Classes | Public Member Functions | Private Attributes | List of all members
Ms::SegmentList Class Reference

#include <segmentlist.h>

Collaboration diagram for Ms::SegmentList:
Collaboration graph
[legend]

Classes

class  const_iterator
 
class  iterator
 

Public Member Functions

 SegmentList ()
 
void clear ()
 
void check ()
 
SegmentList clone () const
 
int size () const
 
Segmentfirst () const
 
Segmentfirst (SegmentType) const
 
Segmentfirst (ElementFlag) const
 
Segmentlast () const
 
SegmentfirstCRSegment () const
 
void remove (Segment *)
 
void push_back (Segment *)
 
void push_front (Segment *)
 
void insert (Segment *e, Segment *el)
 Insert Segment e before Segment el. More...
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Private Attributes

Segment_first
 First item of segment list. More...
 
Segment_last
 Last item of segment list. More...
 
int _size
 Number of items in segment list. More...
 

Constructor & Destructor Documentation

◆ SegmentList()

Ms::SegmentList::SegmentList ( )
inline

Member Function Documentation

◆ begin() [1/2]

iterator Ms::SegmentList::begin ( )
inline

◆ begin() [2/2]

const_iterator Ms::SegmentList::begin ( ) const
inline

◆ check()

void Ms::SegmentList::check ( )

◆ clear()

void Ms::SegmentList::clear ( )
inline

◆ clone()

SegmentList Ms::SegmentList::clone ( ) const

◆ end() [1/2]

iterator Ms::SegmentList::end ( )
inline

◆ end() [2/2]

const_iterator Ms::SegmentList::end ( ) const
inline

◆ first() [1/3]

Segment* Ms::SegmentList::first ( ) const
inline

◆ first() [2/3]

Segment * Ms::SegmentList::first ( SegmentType  types) const

◆ first() [3/3]

Segment * Ms::SegmentList::first ( ElementFlag  flags) const

◆ firstCRSegment()

Segment * Ms::SegmentList::firstCRSegment ( ) const

◆ insert()

void Ms::SegmentList::insert ( Segment e,
Segment el 
)

Insert Segment e before Segment el.

◆ last()

Segment* Ms::SegmentList::last ( ) const
inline

◆ push_back()

void Ms::SegmentList::push_back ( Segment e)

◆ push_front()

void Ms::SegmentList::push_front ( Segment e)

◆ remove()

void Ms::SegmentList::remove ( Segment e)

◆ size()

int Ms::SegmentList::size ( ) const
inline

Member Data Documentation

◆ _first

Segment* Ms::SegmentList::_first
private

First item of segment list.

◆ _last

Segment* Ms::SegmentList::_last
private

Last item of segment list.

◆ _size

int Ms::SegmentList::_size
private

Number of items in segment list.


The documentation for this class was generated from the following files: