目录

Rcp_FormFieldValue

概述

简单表单数据字段值,参见Rcp_Form和Rcp_MultipartFormFieldValue。

起始版本: 5.0.0(12)

相关模块: RemoteCommunication

所在头文件: rcp.h

汇总

[h2]成员变量

名称 描述
Rcp_FormValueType type 表示union中使用的数据类型。

union {

uint8_t varBool;

int32_t varInt32;

int64_t varInt64;

double varDouble;

Rcp_Buffer varStr;

} data

bool类型。值为0表示false,值大于0表示true。

int32类型。

int64类型。

double类型。

string类型。

struct Rcp_FormFieldValue * next 指向下一个Rcp_FormFieldValue。链式存储。

结构体成员变量说明

[h2]type

Rcp_FormValueType Rcp_FormFieldValue::type

描述

表示union中使用的数据类型。

[h2]varBool

uint8_t Rcp_FormFieldValue::varBool

描述

bool类型。值为0表示false,值大于0表示true。

[h2]varDouble

double Rcp_FormFieldValue::varDouble

描述

double类型。

[h2]varInt32

int32_t Rcp_FormFieldValue::varInt32

描述

int32类型。

[h2]varInt64

int64_t Rcp_FormFieldValue::varInt64

描述

int64类型。

[h2]varStr

Rcp_Buffer Rcp_FormFieldValue::varStr

描述

string类型。