Unity: FunctionApplication Struct Reference

Unity 1.0 Parser for unit strings

- Main Page
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
FunctionApplication Struct Reference

A unit corresponding to an application of a function to a unit sequence. More...

`#include <unity.h>`

Collaboration diagram for FunctionApplication:
[legend]

## Data Fields
struct function_definition * | definition
| The definition of the function used.
const char * | name
| The name of an unrecognised function used.
UnitExpression | operand
| The parsed units to which the function is applied.

## Detailed Description

A unit corresponding to an application of a function to a unit sequence.

In the case of `log(V^2/Hz)`, for example, the function is ‘log’ and the operand is the parsed units corresponding to ‘V^2/Hz’.

## Field Documentation

struct function_definition* definition

The definition of the function used.

Precisely one of definition and name should be non-null

const char* name

The name of an unrecognised function used.

Precisely one of definition and name should be non-null

UnitExpression operand

The parsed units to which the function is applied.

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

- unity.h

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines