27#include "ObjectPool.h"
45using namespace header;
109 int m_maxBlankPages{};
Represents a document object that encapsulates the entire EnigmaXML structure.
Definition Document.h:51
const TextsPoolPtr & getTexts() const
Retrieves the const texts pool.
Definition Document.h:81
OthersPoolPtr & getOthers()
Retrieves the others pool.
Definition Document.h:64
std::shared_ptr< others::Page > calculatePageFromMeasure(Cmper partId, MeasCmper measureId) const
Searches pages to find the page that contains the measure.
Definition Implementations.cpp:220
const HeaderPtr & getHeader() const
Retrieves the const header.
Definition Document.h:56
int getMaxBlankPages() const
Returns the maximum number of blank pages in any part. This is calculated by factory::DocumentFactory...
Definition Document.h:94
const DetailsPoolPtr & getDetails() const
Retrieves the const others pool.
Definition Document.h:71
HeaderPtr & getHeader()
Retrieves the header.
Definition Document.h:54
const OptionsPoolPtr & getOptions() const
Retrieves the const options pool.
Definition Document.h:61
TextsPoolPtr & getTexts()
Retrieves the texts pool.
Definition Document.h:79
const OthersPoolPtr & getOthers() const
Retrieves the const others pool.
Definition Document.h:66
std::shared_ptr< others::StaffSystem > calculateSystemFromMeasure(Cmper partId, MeasCmper measureId) const
Searches systems to find the page that contains the measure.
Definition Implementations.cpp:238
const EntryPoolPtr & getEntries() const
Retrieves the entry others pool.
Definition Document.h:76
DetailsPoolPtr & getDetails()
Retrieves the details pool.
Definition Document.h:69
OptionsPoolPtr & getOptions()
Retrieves the options pool.
Definition Document.h:59
EntryPoolPtr & getEntries()
Retrieves the entry pool.
Definition Document.h:74
Factory class for creating Document objects from XML.
Definition DocumentFactory.h:38
std::shared_ptr< OthersPool > OthersPoolPtr
Shared OthersPool pointer.
Definition ObjectPool.h:358
int16_t MeasCmper
Enigma meas Cmper (may be negative when not applicable)
Definition Fundamentals.h:64
std::shared_ptr< DetailsPool > DetailsPoolPtr
Shared DetailsPool pointer.
Definition ObjectPool.h:429
uint16_t Cmper
Enigma "comperator" key type.
Definition Fundamentals.h:55
std::shared_ptr< TextsPool > TextsPoolPtr
Shared OthersPool pointer.
Definition ObjectPool.h:484
std::shared_ptr< OptionsPool > OptionsPoolPtr
Shared OptionsPool pointer.
Definition ObjectPool.h:319
std::shared_ptr< EntryPool > EntryPoolPtr
Shared EntryPool pointer.
Definition ObjectPool.h:458
object model for musx file (enigmaxml)
Definition BaseClasses.h:35