Avis Client Library: Value Struct Reference

# Value Struct Reference

`#include <avis/values.h>`

## Detailed Description

A polymorphic value: either an int32, int64, real64, string or opaque (an array of bytes).

## Data Fields
ValueType | type
| The type of value.
union {
int32_t int32
int64_t int64
real64_t real64
char * str
Array bytes
} | value
| The actual wrapped value (discriminated by type).

## Field Documentation

ValueType Value::type

The type of value.

int32_t Value::int32

int64_t Value::int64

real64_t Value::real64

char* Value::str

Array Value::bytes

union { ... } Value::value

The actual wrapped value (discriminated by type).

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

- avis/values.h