OpenLexocad  27.1
DocumentFactory Class Referenceabstract

#include <CoreDocument.h>

Public Member Functions

 DocumentFactory ()
 
 ~DocumentFactory ()
 

Static Public Attributes

static std::map< std::string, Core::DocumentFactory * > registry
 

Protected Member Functions

virtual Core::CoreDocumentcreateByFactory ()=0
 

Static Protected Member Functions

static Core::CoreDocumentcreate (const std::string &type)
 

Friends

class CoreApplication
 

Constructor & Destructor Documentation

◆ DocumentFactory()

DocumentFactory::DocumentFactory ( )
inline

◆ ~DocumentFactory()

DocumentFactory::~DocumentFactory ( )
inline

Member Function Documentation

◆ create()

static Core::CoreDocument* DocumentFactory::create ( const std::string &  type)
staticprotected

◆ createByFactory()

virtual Core::CoreDocument* DocumentFactory::createByFactory ( )
protectedpure virtual

Friends And Related Function Documentation

◆ CoreApplication

friend class CoreApplication
friend

Member Data Documentation

◆ registry

std::map<std::string, Core::DocumentFactory*> DocumentFactory::registry
static

The documentation for this class was generated from the following file: