#include "config.hpp"#include "serialization/string_utils.hpp"

Go to the source code of this file.
Classes | |
| class | unit_race |
Namespaces | |
| namespace | rand_rng |
Typedefs | |
| typedef std::map< wide_string, std::vector< wchar_t > > | markov_prefix_map |
| typedef std::map< std::string, unit_race > | race_map |
Functions | |
| unit_race::GENDER | string_gender (const std::string &str, unit_race::GENDER def=unit_race::MALE) |
| std::string const & | gender_string (unit_race::GENDER gender) |
Definition in file race.hpp.
| typedef std::map<wide_string, std::vector<wchar_t> > markov_prefix_map |
| std::string const& gender_string | ( | unit_race::GENDER | gender | ) |
Definition at line 218 of file race.cpp.
References unit_race::FEMALE, and unit_race::MALE.
Referenced by unit::add_trait_description(), dialogs::unit_types_preview_pane::get_details(), string_gender(), and unit::write().

| unit_race::GENDER string_gender | ( | const std::string & | str, | |
| unit_race::GENDER | def = unit_race::MALE | |||
| ) |
Definition at line 230 of file race.cpp.
References unit_race::FEMALE, gender_string(), and unit_race::MALE.
Referenced by unit_type::build_help_index(), generate_gender(), and unit::internal_matches_filter().


| Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:45 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |