Small helper class to encapsulate the common logic for parsing storyscreen WML. More...
#include <parser.hpp>
Public Member Functions | |
story_parser ()=default | |
virtual | ~story_parser ()=default |
story_parser (const story_parser &)=delete | |
story_parser & | operator= (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... | |
Small helper class to encapsulate the common logic for parsing storyscreen WML.
Definition at line 28 of file parser.hpp.
|
default |
|
virtualdefault |
|
delete |
|
delete |
|
virtual |
Takes care of initializing and branching properties.
Reimplemented in storyscreen::part.
Definition at line 29 of file parser.cpp.
References vconfig::all_ordered(), game_events::conditional_passed(), deprecated_message(), resources::game_events, resources::gamedata, game_data::get_variable_const(), game_config::images::level, game_events::manager::pump(), game_events::wml_event_pump::put_wml_message(), and resolve_wml_helper().
Referenced by storyscreen::controller::controller(), and storyscreen::part::resolve_wml().
|
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().