18#ifndef BIMHOMEAPP_APP_APPDOCOBSERVERDELEGATE_H
19#define BIMHOMEAPP_APP_APPDOCOBSERVERDELEGATE_H
virtual void appDocumentCreating()
应用文档开始创建时回调
Definition AppDocObserverDelegate.h:51
App::IDocument * m_pDoc
当前关联的文档指针
Definition AppDocObserverDelegate.h:96
virtual std::string delegateName()=0
获取代理名称
virtual void documentRestore(Base::XMLReader &reader)
恢复文档
Definition AppDocObserverDelegate.h:79
virtual void documentSave(Base::Writer &writer)
保存文档
Definition AppDocObserverDelegate.h:72
virtual ~AppDocObserverDelegate()
Definition AppDocObserverDelegate.h:45
virtual std::string getGuiDocDelegateName()
获取 GUI 文档代理名称
Definition AppDocObserverDelegate.h:93
void setDocument(App::IDocument *pDoc)
设置当前代理所关联的文档
Definition AppDocObserverDelegate.h:63
AppDocObserverDelegate()
Definition AppDocObserverDelegate.h:41
virtual void appDocumentIsBeingDestructed()
应用文档即将析构时回调
Definition AppDocObserverDelegate.h:57
应用文档观察者代理基类
Definition AppDocObserverDelegate.h:38
文档接口类
Definition IDocument.h:43
Writer 类,用于处理持久化对象的存储和检索
Definition Writer.h:51
XML 读取器类 这是 BIMHome 中对象存储和检索系统的一个重要辅助类。 这些类主要继承自 App::Persistence 基类,并实现了 Restore() 方法。
Definition Reader.h:117
Definition BaseFigureFactory.h:28
Definition BaseFigureFactory.h:24