8 #ifndef __VRV_SYMBOLDEF_H__
9 #define __VRV_SYMBOLDEF_H__
11 #include "atts_shared.h"
30 std::string GetClassName()
const override {
return "symbolDef"; }
44 int GetSymbolWidth(
Doc *doc,
int staffSize,
bool dimin)
const;
45 int GetSymbolHeight(
Doc *doc,
int staffSize,
bool dimin)
const;
54 void SetTemporaryParent(
Object *parent);
55 void ResetTemporaryParent();
60 std::pair<int, int> GetSymbolSize(
Doc *doc,
int staffSize,
bool dimin)
const;
This class is a hold the data and corresponds to the model of a MVC design pattern.
Definition: doc.h:41
This class represents a basic object.
Definition: object.h:61
Definition: symboldef.h:20
bool IsSupportedChild(ClassId classId) override
Base method for checking if a child can be added.
void Reset() override
Reset the object, that is 1) removing all children and 2) resetting all attributes.