VAPOR3 3.9.4
Typedefs | Functions
converter.h File Reference
#include <stddef.h>
#include "udunits2.h"

Go to the source code of this file.

Typedefs

typedef union cv_converter cv_converter
 

Functions

UDUNITS2_API cv_convertercv_get_trivial (void)
 
UDUNITS2_API cv_convertercv_get_inverse (void)
 
UDUNITS2_API cv_convertercv_get_scale (const double slope)
 
UDUNITS2_API cv_convertercv_get_offset (const double intercept)
 
UDUNITS2_API cv_convertercv_get_galilean (const double slope, const double intercept)
 
UDUNITS2_API cv_convertercv_get_log (const double base)
 
UDUNITS2_API cv_convertercv_get_pow (const double base)
 
UDUNITS2_API cv_convertercv_combine (cv_converter *const first, cv_converter *const second)
 
UDUNITS2_API void cv_free (cv_converter *const conv)
 
UDUNITS2_API float cv_convert_float (const cv_converter *converter, const float value)
 
UDUNITS2_API double cv_convert_double (const cv_converter *converter, const double value)
 
UDUNITS2_API float * cv_convert_floats (const cv_converter *converter, const float *const in, const size_t count, float *out)
 
UDUNITS2_API double * cv_convert_doubles (const cv_converter *converter, const double *const in, const size_t count, double *out)
 
UDUNITS2_API int cv_get_expression (const cv_converter *const conv, char *const buf, size_t max, const char *const variable)
 

Typedef Documentation

◆ cv_converter

typedef union cv_converter cv_converter

Definition at line 22 of file converter.h.

Function Documentation

◆ cv_combine()

UDUNITS2_API cv_converter * cv_combine ( cv_converter *const  first,
cv_converter *const  second 
)

◆ cv_convert_double()

UDUNITS2_API double cv_convert_double ( const cv_converter converter,
const double  value 
)

◆ cv_convert_doubles()

UDUNITS2_API double * cv_convert_doubles ( const cv_converter converter,
const double *const  in,
const size_t  count,
double *  out 
)

◆ cv_convert_float()

UDUNITS2_API float cv_convert_float ( const cv_converter converter,
const float  value 
)

◆ cv_convert_floats()

UDUNITS2_API float * cv_convert_floats ( const cv_converter converter,
const float *const  in,
const size_t  count,
float *  out 
)

◆ cv_free()

UDUNITS2_API void cv_free ( cv_converter *const  conv)

◆ cv_get_expression()

UDUNITS2_API int cv_get_expression ( const cv_converter *const  conv,
char *const  buf,
size_t  max,
const char *const  variable 
)

◆ cv_get_galilean()

UDUNITS2_API cv_converter * cv_get_galilean ( const double  slope,
const double  intercept 
)

◆ cv_get_inverse()

UDUNITS2_API cv_converter * cv_get_inverse ( void  )

◆ cv_get_log()

UDUNITS2_API cv_converter * cv_get_log ( const double  base)

◆ cv_get_offset()

UDUNITS2_API cv_converter * cv_get_offset ( const double  intercept)

◆ cv_get_pow()

UDUNITS2_API cv_converter * cv_get_pow ( const double  base)

◆ cv_get_scale()

UDUNITS2_API cv_converter * cv_get_scale ( const double  slope)

◆ cv_get_trivial()

UDUNITS2_API cv_converter * cv_get_trivial ( void  )