8 #ifndef __VRV_SYMBOL_H__
9 #define __VRV_SYMBOL_H__
11 #include "atts_externalsymbols.h"
12 #include "atts_shared.h"
13 #include "atts_visual.h"
14 #include "textelement.h"
25 class Symbol :
public TextElement,
public AttColor,
public AttExtSymAuth,
public AttExtSymNames,
public AttTypography {
36 std::string GetClassName()
const override {
return "symbol"; }
55 FunctorCode AcceptEnd(
Functor &functor)
override;
56 FunctorCode AcceptEnd(
ConstFunctor &functor)
const override;
This abstract class is the base class for all const functors.
Definition: functor.h:126
This abstract class is the base class for all mutable functors.
Definition: functor.h:101
This class represents a basic object.
Definition: object.h:61
This class models the MEI <symbol> element.
Definition: symbol.h:25
bool IsSupportedChild(ClassId classId) override
Only supported elements will be actually added to the child list.
Object * Clone() const override
Method call for copying child classes.
Definition: symbol.h:34
void Reset() override
Reset the object, that is 1) removing all children and 2) resetting all attributes.
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
char32_t GetSymbolGlyph() const
Get the SMuFL glyph for the symbol based on glyph.num or glyph.name.
Definition: textelement.h:22