Unity 1.0
Parser for unit strings
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:
Collaboration graph
[legend]

Data Fields

struct function_definitiondefinition
 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

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

The parsed units to which the function is applied.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines