Verovio
Source code documentation
lb.h
1
// Name: lb.h
3
// Author: Laurent Pugin
4
// Created: 2017
5
// Copyright (c) Authors and others. All rights reserved.
7
8
#ifndef __VRV_LB_H__
9
#define __VRV_LB_H__
10
11
#include "atts_shared.h"
12
#include "textelement.h"
13
14
namespace
vrv {
15
16
//----------------------------------------------------------------------------
17
// Lb
18
//----------------------------------------------------------------------------
19
23
class
Lb
:
public
TextElement
{
24
public
:
29
Lb
();
31
virtual
~
Lb
();
32
Object
*
Clone
()
const override
{
return
new
Lb
(*
this
); }
33
void
Reset
()
override
;
34
std::string GetClassName()
const override
{
return
"lb"
; }
36
40
void
AddChild
(
Object
*
object
)
override
{};
41
45
FunctorCode
Accept
(
Functor
&functor)
override
;
47
FunctorCode
Accept
(
ConstFunctor
&functor)
const override
;
48
FunctorCode AcceptEnd(
Functor
&functor)
override
;
49
FunctorCode AcceptEnd(
ConstFunctor
&functor)
const override
;
51
52
private
:
53
//
54
public
:
55
//
56
private
:
57
};
58
59
}
// namespace vrv
60
61
#endif
vrv::Lb::Accept
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
vrv::TextElement
Definition:
textelement.h:22
vrv::Object
This class represents a basic object.
Definition:
object.h:59
vrv::Lb
This class models the MEI <lb>
Definition:
lb.h:23
vrv::Lb::Reset
void Reset() override
Reset the object, that is 1) removing all children and 2) resetting all attributes.
vrv::Functor
This abstract class is the base class for all mutable functors.
Definition:
functor.h:101
vrv::ConstFunctor
This abstract class is the base class for all const functors.
Definition:
functor.h:126
vrv::Lb::AddChild
void AddChild(Object *object) override
Lb is an empty element.
Definition:
lb.h:40
vrv::Lb::Clone
Object * Clone() const override
Method call for copying child classes.
Definition:
lb.h:32
include
vrv
lb.h
Generated on Fri Apr 4 2025 06:58:35 for Verovio by
1.8.17