Freeciv21
Develop your civilization from humble roots to a global empire
option_enum_vtable Struct Reference
+ Collaboration diagram for option_enum_vtable:

Public Attributes

int(* get )(const struct option *)
 
int(* def )(const struct option *)
 
const QVector< QString > *(* values )(const struct option *)
 
bool(* set )(struct option *, int)
 
int(* cmp )(const char *, const char *)
 

Detailed Description

Definition at line 177 of file options.cpp.

Member Data Documentation

◆ cmp

int(* option_enum_vtable::cmp) (const char *, const char *)

Definition at line 182 of file options.cpp.

Referenced by option_enum_str_to_int().

◆ def

int(* option_enum_vtable::def) (const struct option *)

Definition at line 179 of file options.cpp.

Referenced by option_enum_def_int().

◆ get

int(* option_enum_vtable::get) (const struct option *)

Definition at line 178 of file options.cpp.

Referenced by option_enum_get_int().

◆ set

bool(* option_enum_vtable::set) (struct option *, int)

Definition at line 181 of file options.cpp.

Referenced by option_enum_set_int().

◆ values

const QVector<QString>*(* option_enum_vtable::values) (const struct option *)

Definition at line 180 of file options.cpp.

Referenced by option_enum_int_to_str(), and option_enum_str_to_int().