The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Private Attributes | List of all members
proxy_name_generator Class Reference

#include <name_generator.hpp>

Inheritance diagram for proxy_name_generator:

Public Member Functions

 proxy_name_generator (const name_generator &b)
 
std::string generate () const override
 
- Public Member Functions inherited from name_generator
std::string generate (const std::map< std::string, std::string > &variables) const
 
 name_generator ()
 
virtual ~name_generator ()
 

Private Attributes

const name_generatorbase
 

Detailed Description

Definition at line 41 of file name_generator.hpp.

Constructor & Destructor Documentation

◆ proxy_name_generator()

proxy_name_generator::proxy_name_generator ( const name_generator b)
inline

Definition at line 44 of file name_generator.hpp.

Member Function Documentation

◆ generate()

std::string proxy_name_generator::generate ( ) const
inlineoverridevirtual

Reimplemented from name_generator.

Definition at line 45 of file name_generator.hpp.

References base, and name_generator::generate().

Member Data Documentation

◆ base

const name_generator& proxy_name_generator::base
private

Definition at line 42 of file name_generator.hpp.

Referenced by generate().


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