8 #ifndef __VRV_ALTSYM_INTERFACE_H__
9 #define __VRV_ALTSYM_INTERFACE_H__
12 #include "atts_usersymbols.h"
13 #include "interface.h"
18 class PrepareAltSymFunctor;
19 class ResetDataFunctor;
40 InterfaceId
IsInterface()
const override {
return INTERFACE_ALT_SYM; }
48 void SetAltSymbolDef(
SymbolDef *symbolDef);
49 SymbolDef *GetAltSymbolDef() {
return m_symbolDef; }
50 const SymbolDef *GetAltSymbolDef()
const {
return m_symbolDef; }
86 std::string m_symbolDefID;
This class is an interface for elements having a @altsym It is not an abstract class but should not b...
Definition: altsyminterface.h:30
void SetIDStr()
Extract the fragment of the start or end @xml:id if given.
bool HasAltSymbolDef() const
Return true if a symbolDef is given and resolved.
Definition: altsyminterface.h:57
InterfaceId IsInterface() const override
Virtual method returning the InterfaceId of the interface.
Definition: altsyminterface.h:40
FunctorCode InterfacePrepareAltSym(PrepareAltSymFunctor &functor, Object *object)
We have functor code in the interface for avoiding code duplication in each implementation class.
void Reset() override
Virtual reset method.
This is a base class for regrouping MEI att classes.
Definition: interface.h:32
This class represents a basic object.
Definition: object.h:61
This class matches the @altsym element to the corresponding symbolDef.
Definition: preparedatafunctor.h:156
This class resets the drawing values before calling PrepareData after changes.
Definition: resetfunctor.h:22
Definition: symboldef.h:20