8 #ifndef __VRV_PAGES_H__
9 #define __VRV_PAGES_H__
11 #include "atts_shared.h"
17 class ScoreOrPartElement;
27 class Pages :
public Object,
public AttLabelled,
public AttNNumberLike {
38 std::string GetClassName()
const override {
return "pages"; }
68 FunctorCode AcceptEnd(
Functor &functor)
override;
69 FunctorCode AcceptEnd(
ConstFunctor &functor)
const override;
106 void Evaluate(
const Object *
object);
108 void EvaluateSpanningElementsIn(
const Object *measure);
118 std::list<Page *> m_pageBefore;
119 std::list<Page *> m_pageAfter;
This abstract class is the base class for all const functors.
Definition: functor.h:126
This class is a hold the data and corresponds to the model of a MVC design pattern.
Definition: doc.h:41
This abstract class is the base class for all mutable functors.
Definition: functor.h:101
This class represents a basic object.
Definition: object.h:66
This class represents a page in a laid-out score (Doc).
Definition: page.h:31
This class represent a page range not owning child pages.
Definition: pages.h:87
void SetAsFocus(Page *page)
The the specified page as focus page in the range.
void Reset() override
Reset the object, that is 1) removing all children and 2) resetting all attributes.
This class represent a <pages> in page-based MEI.
Definition: pages.h:27
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
void Reset() override
Reset the object, that is 1) removing all children and 2) resetting all attributes.
bool IsSupportedChild(ClassId classId) override
Base method for checking if a child can be added.
void LayOutAll()
Refresh the layout of all the child pages.
This class represents a <score> or a <part> in MEI.
Definition: scoreorpartelement.h:33