Unity  0.8
Parser for unit strings
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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_definition * definition
 The definition of the function used.
 
const char * name
 The name of an unreognised function used.
 
struct unit_structoperand
 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 unreognised function used.

Precisely one of definition and name should be non-null

struct unit_struct* operand

The parsed units to which the function is applied.


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