The Battle for Wesnoth  1.19.0-dev
Public Member Functions | List of all members
storyscreen::story_parser Class Referenceabstract

Small helper class to encapsulate the common logic for parsing storyscreen WML. More...

#include <parser.hpp>

Inheritance diagram for storyscreen::story_parser:

Public Member Functions

 story_parser ()=default
 
virtual ~story_parser ()=default
 
 story_parser (const story_parser &)=delete
 
story_parseroperator= (const story_parser &)=delete
 
virtual void resolve_wml (const vconfig &cfg)
 Takes care of initializing and branching properties. More...
 
virtual bool resolve_wml_helper (const std::string &key, const vconfig &node)=0
 May be implemented by derived classes to perform additional actions When executing resolve_wml. More...
 

Detailed Description

Small helper class to encapsulate the common logic for parsing storyscreen WML.

Definition at line 28 of file parser.hpp.

Constructor & Destructor Documentation

◆ story_parser() [1/2]

storyscreen::story_parser::story_parser ( )
default

◆ ~story_parser()

virtual storyscreen::story_parser::~story_parser ( )
virtualdefault

◆ story_parser() [2/2]

storyscreen::story_parser::story_parser ( const story_parser )
delete

Member Function Documentation

◆ operator=()

story_parser& storyscreen::story_parser::operator= ( const story_parser )
delete

◆ resolve_wml()

void storyscreen::story_parser::resolve_wml ( const vconfig cfg)
virtual

◆ resolve_wml_helper()

virtual bool storyscreen::story_parser::resolve_wml_helper ( const std::string &  key,
const vconfig node 
)
pure virtual

May be implemented by derived classes to perform additional actions When executing resolve_wml.

Implemented in storyscreen::part, and storyscreen::controller.

Referenced by resolve_wml().


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