funkalicious 0.1

postproc_generic.h File Reference

#include <libdotcode/binary_data_common.h>
Include dependency graph for postproc_generic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  postproc_coord { POSTPROC_X, POSTPROC_Y, POSTPROC_Z }
enum  postproc_type {
  POSTPROC_INVALID_TYPE = -1, POSTPROC_DOUBLE, POSTPROC_FLOAT, POSTPROC_INT,
  POSTPROC_DOUBLE_COMPLEX
}

Functions

enum postproc_type dotcode_type_to_postproc_type (enum dotcode_type t)

Enumeration Type Documentation

Enumerator:
POSTPROC_X 
POSTPROC_Y 
POSTPROC_Z 

Definition at line 32 of file postproc_generic.h.

Enumerator:
POSTPROC_INVALID_TYPE 
POSTPROC_DOUBLE 
POSTPROC_FLOAT 
POSTPROC_INT 
POSTPROC_DOUBLE_COMPLEX 

Definition at line 34 of file postproc_generic.h.


Function Documentation

enum postproc_type dotcode_type_to_postproc_type ( enum dotcode_type  t)

Definition at line 30 of file postproc_generic.c.

References DOTCODE_FLOAT4, DOTCODE_FLOAT8, DOTCODE_INT, POSTPROC_DOUBLE, POSTPROC_FLOAT, POSTPROC_INT, and POSTPROC_INVALID_TYPE.

Referenced by main().

                                                                      {
  switch(t) {
  case DOTCODE_INT:
    return POSTPROC_INT;
  case DOTCODE_FLOAT8:
    return POSTPROC_DOUBLE;
  case DOTCODE_FLOAT4:
    return POSTPROC_FLOAT;
  default:
    return POSTPROC_INVALID_TYPE;
  }
}

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines