UnitsApi.cpp File Reference

#include "PreCompiled.h"
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaInternal.h"
#include "UnitsSchemaImperial1.h"
#include "UnitsSchemaMKS.h"
#include "UnitsApi.tab.c"

Go to the source code of this file.

Classes

union  UnitParser::yyalloc

Namespaces

namespace  UnitParser

Defines

#define DOUBLE_MAX   1.7976931348623157E+308
#define DOUBLE_MIN   2.2250738585072014E-308
#define M_E   2.71828182845904523536
#define yylex   UnitsApilex

Typedefs

typedef short int UnitParser::yytype_int16
typedef short int UnitParser::yytype_int8
typedef unsigned short int UnitParser::yytype_uint16
typedef unsigned char UnitParser::yytype_uint8

Enumerations

enum  UnitParser::yytokentype {
  UnitParser::ACOS = 258, UnitParser::ASIN = 259, UnitParser::ATAN = 260, UnitParser::ATAN2 = 261,
  UnitParser::COS = 262, UnitParser::EXP = 263, UnitParser::ABS = 264, UnitParser::MOD = 265,
  UnitParser::LOG = 266, UnitParser::LOG10 = 267, UnitParser::POW = 268, UnitParser::SIN = 269,
  UnitParser::SINH = 270, UnitParser::TAN = 271, UnitParser::TANH = 272, UnitParser::SQRT = 273,
  UnitParser::UNIT = 274, UnitParser::NUM = 275, UnitParser::NEG = 276
}

Functions

 UnitParser::if (!yymsg) yymsg
 UnitParser::switch (yytype)
void Unit_yyerror (char *errorinfo)
int UnitParser::UnitsApilex (void)
 UnitParser::YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp)
static void UnitParser::yydestruct (yymsg, yytype, yyvaluep) const char *yymsg
int UnitParser::yyparse ()
 UnitParser::YYUSE (yyvaluep)

Variables

char * QuantityNames []
double ScanResult = 0
bool UU = false
int UnitParser::yychar
static const yytype_int8 UnitParser::yycheck []
static const yytype_uint8 UnitParser::yydefact []
static const yytype_int8 UnitParser::yydefgoto []
YYSTYPE UnitParser::yylval
int UnitParser::yynerrs
static const yytype_int16 UnitParser::yypact []
static const yytype_int8 UnitParser::yypgoto []
static const yytype_uint8 UnitParser::yyr1 []
static const yytype_uint8 UnitParser::yyr2 []
static const yytype_uint8 UnitParser::yystos []
static const yytype_int8 UnitParser::yytable []
static const yytype_uint8 UnitParser::yytranslate []
int UnitParser::yytype
YYSTYPE * UnitParser::yyvaluep

Define Documentation

#define DOUBLE_MAX   1.7976931348623157E+308

Definition at line 44 of file UnitsApi.cpp.

#define DOUBLE_MIN   2.2250738585072014E-308

Definition at line 47 of file UnitsApi.cpp.

Referenced by Base::UnitsApi::parse().

#define M_E   2.71828182845904523536

Definition at line 41 of file UnitsApi.cpp.

#define yylex   UnitsApilex

Definition at line 237 of file UnitsApi.cpp.


Function Documentation

void Unit_yyerror ( char *  errorinfo  ) 

Definition at line 224 of file UnitsApi.cpp.


Variable Documentation

char* QuantityNames[]
Initial value:
 {
        "length"      ,   
        "area"        ,   
        "volume"      ,   
        "angle"       , 
        "time span"    , 
        "velocity"    , 
        "acceleration", 
        "mass"        ,
        "temperature"
}

Definition at line 63 of file UnitsApi.cpp.

Referenced by Base::UnitsApi::getQuantityName().

double ScanResult = 0

Definition at line 220 of file UnitsApi.cpp.

Referenced by Base::UnitsApi::parse(), and yyparse().

bool UU = false

Definition at line 221 of file UnitsApi.cpp.

Referenced by Base::UnitsApi::parse(), and yyparse().


Generated on Wed Nov 23 19:01:25 2011 for FreeCAD by  doxygen 1.6.1