The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs
variable_info.hpp File Reference
#include <string>
#include "config.hpp"
#include "variable_info_detail.hpp"
Include dependency graph for variable_info.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  invalid_variablename_exception
 Information on a WML variable. More...
 
class  variable_info< vit >
 
class  non_const_variable_info< vit >
 Extends variable_info with methods that can only be applied if vit != vit_const. More...
 

Typedefs

typedef
non_const_variable_info
< variable_info_detail::vit_create_if_not_existent
variable_access_create
 this variable accessor will create a childtable when resolving name if it doesn't exist yet. More...
 
typedef
non_const_variable_info
< variable_info_detail::vit_throw_if_not_existent
variable_access_throw
 this variable accessor will throw an exception when trying to access a non existent table. More...
 
typedef variable_info
< variable_info_detail::vit_const
variable_access_const
 this variable accessor is takes a const reference and is guaranteed to not change the config. More...
 

Typedef Documentation

this variable accessor is takes a const reference and is guaranteed to not change the config.

Definition at line 114 of file variable_info.hpp.

this variable accessor will create a childtable when resolving name if it doesn't exist yet.

Definition at line 105 of file variable_info.hpp.

this variable accessor will throw an exception when trying to access a non existent table.

Note that the other types can throw too if name is invlid like '..[[[a'.

Definition at line 110 of file variable_info.hpp.