Logo Search packages:      
Sourcecode: units-filter version File versions  Download package

unites.h

#ifndef UNITES_H
#define UNITES_H

typedef enum {
  TUh, TUmin,
  TUm, TUg, TUs, TUA, TUK, TUmol, TUcd, TUHz, TUN, TUPa, TUJ, TUW, 
  TUC, TUV, TUohm, TUS, TUF, TUT, TUWb, TUH, TUlm, TUlx, TUBq, 
  TUGy, TUSv, TUrad, TUsr, TUnull, TUda, TUma, TUsa, TUangs, TUbarn, 
  TUare, TUl, TUt, TUbar, TUeV, TUuam,
  TU_LAST /* doit rester en dernier */
} uniteSI;

typedef enum {
 BUM,BUK,BUS,BUA,BUKel,BUmol,BUcd,
 BU_LAST /* doit rester en dernier */
} baseSI;

typedef struct{
  char sym[8];
  char nom[12]; 
  double multiplicateur;
  int base[BU_LAST];
} unite_data;

extern double val_real;

double atof1(char* s);

#endif

Generated by  Doxygen 1.6.0   Back to index