Verovio
Source code documentation
phrase.h
1
// Name: phrase.h
3
// Author: Laurent Pugin
4
// Created: 15/06/2020
5
// Copyright (c) Authors and others. All rights reserved.
7
8
#ifndef __VRV_PHRASE_H__
9
#define __VRV_PHRASE_H__
10
11
#include "slur.h"
12
13
namespace
vrv {
14
15
//----------------------------------------------------------------------------
16
// Phrase
17
//----------------------------------------------------------------------------
18
19
class
Phrase
:
public
Slur
{
20
public
:
25
Phrase
();
27
virtual
~
Phrase
();
28
Object
*
Clone
()
const override
{
return
new
Phrase
(*
this
); }
29
void
Reset
()
override
;
30
std::string GetClassName()
const override
{
return
"phrase"
; }
32
33
//----------//
34
// Functors //
35
//----------//
36
40
FunctorCode
Accept
(Functor &functor)
override
;
42
FunctorCode
Accept
(ConstFunctor &functor)
const override
;
43
FunctorCode AcceptEnd(Functor &functor)
override
;
44
FunctorCode AcceptEnd(ConstFunctor &functor)
const override
;
46
47
private
:
48
//
49
public
:
50
//
51
private
:
52
//
53
};
54
55
}
// namespace vrv
56
57
#endif
vrv::Phrase::Accept
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
vrv::Phrase
Definition:
phrase.h:19
vrv::Object
This class represents a basic object.
Definition:
object.h:59
vrv::Slur
Definition:
slur.h:53
vrv::Phrase::Reset
void Reset() override
Virtual reset method.
vrv::Phrase::Clone
Object * Clone() const override
Method call for copying child classes.
Definition:
phrase.h:28
include
vrv
phrase.h
Generated on Fri Apr 4 2025 06:58:35 for Verovio by
1.8.17