- Main
- Tutorials
- Library
- Samples

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Data Fields
_MX_NODE_VARIANT Struct Reference
Library » MX_Node_SDK » Node_Type

A variant structure is used to store different type's data. More...

`#include <mx_node_node_def.h>`

## Data Fields
MX_NODE_VALUE_TYPE | type
union {
bool b
int8_t i8
int16_t i16
int32_t i32
int64_t i64
uint8_t u8
uint16_t u16
uint32_t u32
uint64_t u64
float f
double d
char * s
void * other
} | value

## Detailed Description

A variant structure is used to store different type's data.

Note
  value's other is used to pointer to other type's data.

Definition at line 97 of file mx_node_node_def.h.

## Field Documentation

MX_NODE_VALUE_TYPE type

Definition at line 99 of file mx_node_node_def.h.

bool b

Definition at line 102 of file mx_node_node_def.h.

int8_t i8

Definition at line 103 of file mx_node_node_def.h.

int16_t i16

Definition at line 104 of file mx_node_node_def.h.

int32_t i32

Definition at line 105 of file mx_node_node_def.h.

int64_t i64

Definition at line 106 of file mx_node_node_def.h.

uint8_t u8

Definition at line 107 of file mx_node_node_def.h.

uint16_t u16

Definition at line 108 of file mx_node_node_def.h.

uint32_t u32

Definition at line 109 of file mx_node_node_def.h.

uint64_t u64

Definition at line 110 of file mx_node_node_def.h.

float f

Definition at line 111 of file mx_node_node_def.h.

double d

Definition at line 112 of file mx_node_node_def.h.

char* s

Definition at line 113 of file mx_node_node_def.h.

void* other

Definition at line 114 of file mx_node_node_def.h.

union { ... } value

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

- library/mx_node_sdk/c/mx_node_node_def.h