The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
bad_enum_cast Class Reference

#include <make_enum.hpp>

Inheritance diagram for bad_enum_cast:
Inheritance graph

Public Member Functions

 bad_enum_cast (const std::string &enumname, const std::string &str)
 
virtual ~bad_enum_cast () throw ()
 
const char * what () const throw ()
 
const char * type () const throw ()
 
const char * value () const throw ()
 

Private Attributes

std::string message
 
std::string name
 
std::string bad_val
 

Detailed Description

Definition at line 92 of file make_enum.hpp.

Constructor & Destructor Documentation

bad_enum_cast::bad_enum_cast ( const std::string enumname,
const std::string str 
)
inline

Definition at line 95 of file make_enum.hpp.

virtual bad_enum_cast::~bad_enum_cast ( )
throw (
)
inlinevirtual

Definition at line 101 of file make_enum.hpp.

Member Function Documentation

const char* bad_enum_cast::type ( ) const
throw (
)
inline

Definition at line 108 of file make_enum.hpp.

const char* bad_enum_cast::value ( ) const
throw (
)
inline

Definition at line 113 of file make_enum.hpp.

References bad_val.

Referenced by ai::lua_goal::add_targets().

const char* bad_enum_cast::what ( ) const
throw (
)
inline

Definition at line 103 of file make_enum.hpp.

Referenced by make_enum_detail::debug_conversion_error().

Member Data Documentation

std::string bad_enum_cast::bad_val
private

Definition at line 119 of file make_enum.hpp.

Referenced by value().

std::string bad_enum_cast::message
private

Definition at line 119 of file make_enum.hpp.

std::string bad_enum_cast::name
private

Definition at line 119 of file make_enum.hpp.


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