8 #ifndef __VRV_GRAPHIC_H__
9 #define __VRV_GRAPHIC_H__
15 #include "atts_analytical.h"
16 #include "atts_shared.h"
30 class Graphic :
public Object,
public AttPointing,
public AttWidth,
public AttHeight,
public AttTyped {
40 std::string GetClassName()
const override {
return "graphic"; }
47 int GetDrawingWidth(
int unit,
int staffSize)
const;
48 int GetDrawingHeight(
int unit,
int staffSize)
const;
61 FunctorCode AcceptEnd(
Functor &functor)
override;
62 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
Implements the graphic element in MEI.
Definition: graphic.h:30
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.
Object * Clone() const override
Method call for copying child classes.
Definition: graphic.h:38
This class represents a basic object.
Definition: object.h:61