QuestWeaver
A procedural quest generator
weave::StoryTemplateFactory Class Referenceabstract

#include <StoryTemplateFactory.h>

Public Member Functions

virtual ~StoryTemplateFactory ()=default
 
virtual std::string GetNuggetFolder () const =0
 
std::map< std::string, std::shared_ptr< StoryTemplate > > GetTemplates ()
 

Protected Member Functions

virtual std::shared_ptr< StoryTemplatecreateFromJsonValues (const Json::Value &root) const =0
 
virtual const char * getTemplateFile () const =0
 
std::set< std::string > readRequired (const Json::Value &templateJson) const
 

Detailed Description

Definition at line 14 of file StoryTemplateFactory.h.

Constructor & Destructor Documentation

virtual weave::StoryTemplateFactory::~StoryTemplateFactory ( )
virtualdefault

Member Function Documentation

virtual std::shared_ptr<StoryTemplate> weave::StoryTemplateFactory::createFromJsonValues ( const Json::Value &  root) const
protectedpure virtual
virtual std::string weave::StoryTemplateFactory::GetNuggetFolder ( ) const
pure virtual
virtual const char* weave::StoryTemplateFactory::getTemplateFile ( ) const
protectedpure virtual
std::map<std::string, std::shared_ptr<StoryTemplate> > weave::StoryTemplateFactory::GetTemplates ( )
std::set<std::string> weave::StoryTemplateFactory::readRequired ( const Json::Value &  templateJson) const
protected

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