载入中...
搜索中...
未找到
eve::dialogue::Dialogue::VarValue结构体 参考
#include <Dialogue.h>
Public 类型 | |
| enum class | Type { Int , Float , Bool , String } |
Public 成员函数 | |
| std::string | toString () const |
| std::string | typeName () const |
| bool | isNumeric () const |
静态 Public 成员函数 | |
| static VarValue | integer (long long v) |
| static VarValue | number (double v) |
| static VarValue | boolean (bool v) |
| static VarValue | string (std::string v) |
Public 属性 | |
| Type | type = Type::String |
| long long | i = 0 |
| double | f = 0.0 |
| bool | b = false |
| std::string | s |
详细描述
在文件 Dialogue.h 第 157 行定义.
成员枚举类型说明
◆ Type
|
strong |
| 枚举值 | |
|---|---|
| Int | |
| Float | |
| Bool | |
| String | |
在文件 Dialogue.h 第 158 行定义.
成员函数说明
◆ boolean()
|
static |
在文件 Dialogue.cpp 第 274 行定义.
◆ integer()
|
static |
◆ isNumeric()
|
inline |
在文件 Dialogue.h 第 168 行定义.
◆ number()
|
static |
在文件 Dialogue.cpp 第 267 行定义.
◆ string()
|
static |
◆ toString()
| std::string eve::dialogue::Dialogue::VarValue::toString | ( | ) | const |
◆ typeName()
| std::string eve::dialogue::Dialogue::VarValue::typeName | ( | ) | const |
类成员变量说明
◆ b
| bool eve::dialogue::Dialogue::VarValue::b = false |
在文件 Dialogue.h 第 163 行定义.
◆ f
| double eve::dialogue::Dialogue::VarValue::f = 0.0 |
在文件 Dialogue.h 第 162 行定义.
◆ i
| long long eve::dialogue::Dialogue::VarValue::i = 0 |
在文件 Dialogue.h 第 161 行定义.
◆ s
| std::string eve::dialogue::Dialogue::VarValue::s |
在文件 Dialogue.h 第 164 行定义.
◆ type
| Type eve::dialogue::Dialogue::VarValue::type = Type::String |
在文件 Dialogue.h 第 160 行定义.
被这些函数引用 boolean(), integer(), isNumeric(), number() , 以及 string().
该结构体的文档由以下文件生成:
- src/modules/dialogue/Dialogue.h
- src/modules/dialogue/Dialogue.cpp