当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 1 Fork 5.3K

fork_ohos_wj / docs
关闭

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
parameteritem.md 7.06 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

ParameterItem

Overview

Related Modules:

Format

Description:

Defines a structure for configuring and obtaining dynamic parameters.

Summary

Data Fields

Variable Name

Description

key

uint32_t

size

int32_t

union {

  

int32_t s32Value

  

uint32_t u32Value

  

int64_t s64Value

  

uint64_t u64Value

  

float fValue

  

double dValue

  

const void * pValue

value

}

Defines value types of the parameters.

Details

Field Documentation

dValue

double ParameterItem::dValue

Description:

Double-precision floating point number

fValue

float ParameterItem::fValue

Description:

Single-precision floating point number

key

uint32_t ParameterItem::key

Description:

Key type. For details, see KeyType

pValue

const void* ParameterItem::pValue

Description:

Pointer

s32Value

int32_t ParameterItem::s32Value

Description:

32-bit integer

s64Value

int64_t ParameterItem::s64Value

Description:

64-bit integer

size

int32_t ParameterItem::size

Description:

Data size, which indicates the size of the buffer memory pointed by pValue

u32Value

uint32_t ParameterItem::u32Value

Description:

32-bit unsigned integer

u64Value

uint64_t ParameterItem::u64Value

Description:

64-bit unsigned integer

1
https://gitee.com/fork_ohos_wj/docs.git
git@gitee.com:fork_ohos_wj/docs.git
fork_ohos_wj
docs
docs
master

搜索帮助