Verovio
Source code documentation
fb.h
1 // Name: fb.h
3 // Author: Rodolfo Zitellini
4 // Created: 2017
5 // Copyright (c) Authors and others. All rights reserved.
7 
8 #ifndef __VRV_FB_H__
9 #define __VRV_FB_H__
10 
11 #include "atts_shared.h"
12 #include "textelement.h"
13 
14 namespace vrv {
15 
16 //----------------------------------------------------------------------------
17 // Fb (figured bass)
18 //----------------------------------------------------------------------------
19 
23 class Fb : public Object {
24 public:
29  Fb();
31  virtual ~Fb();
32  Object *Clone() const override { return new Fb(*this); }
33  void Reset() override;
34  std::string GetClassName() const override { return "fb"; }
36 
41  bool IsSupportedChild(ClassId classId) override;
42 
46  FunctorCode Accept(Functor &functor) override;
48  FunctorCode Accept(ConstFunctor &functor) const override;
49  FunctorCode AcceptEnd(Functor &functor) override;
50  FunctorCode AcceptEnd(ConstFunctor &functor) const override;
52 
53 private:
54  //
55 public:
56  //
57 private:
58 };
59 
60 } // namespace vrv
61 
62 #endif
vrv::Fb::Clone
Object * Clone() const override
Method call for copying child classes.
Definition: fb.h:32
vrv::Object
This class represents a basic object.
Definition: object.h:59
vrv::Fb
This class models the MEI <fb> element.
Definition: fb.h:23
vrv::Fb::Accept
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
vrv::Fb::IsSupportedChild
bool IsSupportedChild(ClassId classId) override
Add an element (f) to an fb.
vrv::Fb::Reset
void Reset() override
Reset the object, that is 1) removing all children and 2) resetting all attributes.