Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Namespaces | Macros | Functions | Variables
parse_citi.y File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "logging.h"
#include "complex.h"
#include "object.h"
#include "vector.h"
#include "dataset.h"
#include "strlist.h"
#include "check_citi.h"

Go to the source code of this file.

Data Structures

class  qucs::object
 generic object class. More...
 
class  qucs::vector
 
class  qucs::dataset
 
struct  qucs::strlist_t
 
class  qucs::strlist
 
class  qucs::strlistiterator
 
struct  citi_header_t
 
struct  citi_package_t
 

Namespaces

 qucs
 

Macros

#define YYERROR_VERBOSE   42
 
#define YYDEBUG   1
 
#define YYMAXDEPTH   1000000
 

Functions

void loginit (void)
 
void logprogressbar (nr_double_t, nr_double_t, int)
 
void logprogressclear (int)
 
qucs::vector qucs::linspace (nr_double_t, nr_double_t, int)
 
qucs::vector qucs::logspace (nr_double_t, nr_double_t, int)
 
qucs::vector qucs::runavg (qucs::vector, const int)
 
qucs::vector qucs::runavg (const nr_complex_t, const int)
 
nr_complex_t qucs::sum (vector)
 
nr_complex_t qucs::prod (vector)
 
nr_complex_t qucs::avg (vector)
 
vector qucs::cumsum (vector)
 
vector qucs::cumprod (vector)
 
vector qucs::cumavg (vector)
 
vector qucs::dbm (vector, const nr_complex_t z=50.0)
 
nr_complex_t qucs::integrate (vector v, const nr_complex_t)
 
nr_double_t qucs::integrate (vector v, const nr_double_t)
 
vector qucs::real (vector)
 
vector qucs::imag (vector)
 
vector qucs::conj (vector)
 
vector qucs::norm (vector)
 
vector qucs::arg (vector)
 
vector qucs::dB (vector)
 
vector qucs::log (vector)
 
vector qucs::log2 (vector)
 
vector qucs::pow (vector, const nr_complex_t)
 
vector qucs::pow (vector, const nr_double_t)
 
vector qucs::pow (const nr_complex_t, vector)
 
vector qucs::pow (const nr_double_t, vector)
 
vector qucs::pow (vector, vector)
 
vector qucs::ztor (vector, nr_complex_t zref=50.0)
 
vector qucs::rtoz (vector, nr_complex_t zref=50.0)
 
vector qucs::ytor (vector, nr_complex_t zref=50.0)
 
vector qucs::rtoy (vector, nr_complex_t zref=50.0)
 
vector qucs::diff (vector, vector, int n=1)
 
vector qucs::unwrap (vector, nr_double_t tol=M_PI, nr_double_t step=2 *M_PI)
 
vector qucs::polar (vector, const nr_complex_t)
 
vector qucs::polar (const nr_complex_t, vector)
 
vector qucs::polar (vector, vector)
 
vector qucs::atan2 (vector, const nr_double_t)
 
vector qucs::atan2 (const nr_double_t, vector)
 
vector qucs::atan2 (vector, vector)
 
vector qucs::dbm2w (vector)
 
vector qucs::w2dbm (vector)
 
vector qucs::xhypot (vector, vector)
 
vector qucs::xhypot (vector, const nr_complex_t)
 
vector qucs::xhypot (vector, const nr_double_t)
 
vector qucs::xhypot (const nr_complex_t, vector)
 
vector qucs::xhypot (const nr_double_t, vector)
 
vector qucs::abs (vector)
 
vector qucs::log10 (vector)
 
vector qucs::exp (vector)
 
vector qucs::limexp (vector)
 
vector qucs::sqrt (vector)
 
vector qucs::sin (vector)
 
vector qucs::asin (vector)
 
vector qucs::cos (vector)
 
vector qucs::acos (vector)
 
vector qucs::tan (vector)
 
vector qucs::atan (vector)
 
vector qucs::cot (vector)
 
vector qucs::acot (vector)
 
vector qucs::sinh (vector)
 
vector qucs::asinh (vector)
 
vector qucs::cosh (vector)
 
vector qucs::sech (vector)
 
vector qucs::cosech (vector)
 
vector qucs::acosh (vector)
 
vector qucs::asech (vector)
 
vector qucs::tanh (vector)
 
vector qucs::atanh (vector)
 
vector qucs::coth (vector)
 
vector qucs::acoth (vector)
 
vector qucs::signum (vector)
 
vector qucs::sign (vector)
 
vector qucs::sinc (vector)
 
vector qucs::ceil (vector)
 
vector qucs::floor (vector)
 
vector qucs::fix (vector)
 
vector qucs::round (vector)
 
vector qucs::sqr (vector)
 
vector qucs::step (vector)
 
vector qucs::jn (const int, vector)
 
vector qucs::yn (const int, vector)
 
vector qucs::i0 (vector)
 
vector qucs::erf (vector)
 
vector qucs::erfc (vector)
 
vector qucs::erfinv (vector)
 
vector qucs::erfcinv (vector)
 
void citi_restart (FILE *)
 
int citi_parse (void)
 
int citi_error (const char *)
 
int citi_lex (void)
 
int citi_lex_destroy (void)
 
int citi_check (void)
 
void citi_init (void)
 
void citi_destroy (void)
 
int citi_error (const char *error)
 

Variables

FILE * file_status
 
FILE * file_error
 
int progressbar_enable
 
int progressbar_gui
 
name prefix
 
PackageList __pad0__
 
Package PackageList
 
Package __pad1__
 
Package head = $1
 
 data = $2
 
Header __pad2__
 
HeaderList __pad3__
 
HeaderLine HeaderList
 
HeaderLine __pad4__
 
HeaderLine package = $2
 
VAR Identifier VarType Integer Eol
 
 var = $2
 
 type = $3
 
 n = $4
 
 i1 = $$->i2 = -1
 
 i2 = $6
 
ValueList __pad5__
 
List __pad6__
 
List int
 
DataList __pad7__
 
Data DataList
 
Data __pad8__
 
 List
 
FloatList __pad9__
 
Float Eol FloatList
 
 Float = $3
 
VarList __pad10__ = $5
 
Float Eol VarList
 

Macro Definition Documentation

#define YYDEBUG   1
#define YYERROR_VERBOSE   42
#define YYMAXDEPTH   1000000

Function Documentation

int citi_check ( void  )

Definition at line 175 of file check_citi.cpp.

void citi_destroy ( void  )

Definition at line 270 of file check_citi.cpp.

int citi_error ( const char *  )

Definition at line 230 of file parse_citi.y.

int citi_error ( const char *  error)

Definition at line 230 of file parse_citi.y.

void citi_init ( void  )

Definition at line 283 of file check_citi.cpp.

int citi_lex ( void  )
int citi_lex_destroy ( void  )
int citi_parse ( void  )
void citi_restart ( FILE *  )
void loginit ( void  )

Definition at line 51 of file logging.c.

void logprogressbar ( nr_double_t  ,
nr_double_t  ,
int   
)

Definition at line 63 of file logging.c.

void logprogressclear ( int  )

Definition at line 90 of file logging.c.

Variable Documentation

PackageList __pad0__

Definition at line 99 of file parse_citi.y.

VarList __pad10__ = $5

Definition at line 217 of file parse_citi.y.

Package __pad1__

Definition at line 115 of file parse_citi.y.

Header __pad2__

Definition at line 119 of file parse_citi.y.

HeaderList __pad3__

Definition at line 125 of file parse_citi.y.

HeaderLine __pad4__

Definition at line 140 of file parse_citi.y.

ValueList __pad5__

Definition at line 179 of file parse_citi.y.

List __pad6__

Definition at line 183 of file parse_citi.y.

DataList __pad7__

Definition at line 188 of file parse_citi.y.

Data __pad8__

Definition at line 203 of file parse_citi.y.

FloatList __pad9__

Definition at line 208 of file parse_citi.y.

data = $2

Definition at line 117 of file parse_citi.y.

Data DataList
Initial value:
{
if ($1) {
$1->setNext ($2);
$$ = $1;
} else {
$$ = $2;
}
}

Definition at line 191 of file parse_citi.y.

VarListBegin Eol VarList VarListEnd Eol
Initial value:
{
$$ = (struct citi_header_t *) calloc (sizeof (struct citi_header_t), 1)

Definition at line 143 of file parse_citi.y.

FILE* file_error

Definition at line 57 of file logging.c.

FILE* file_status

Definition at line 56 of file logging.c.

Float Float = $3

Definition at line 213 of file parse_citi.y.

Eol FloatList
Initial value:
{
$3->add ($1)

Definition at line 211 of file parse_citi.y.

Package head = $1

Definition at line 116 of file parse_citi.y.

HeaderLine HeaderList
Initial value:
{
if ($1) {
$1->next = $2;
$$ = $1;
} else {
$$ = $2;
}
}

Definition at line 128 of file parse_citi.y.

i1 = $$->i2 = -1

Definition at line 148 of file parse_citi.y.

i2 = $6

Definition at line 160 of file parse_citi.y.

List int

Definition at line 183 of file parse_citi.y.

List
Initial value:
{
$$ = $1

Definition at line 205 of file parse_citi.y.

< INITIAL >< IDENT > r n = $4

Definition at line 147 of file parse_citi.y.

HeaderLine package = $2

Definition at line 141 of file parse_citi.y.

Package PackageList
Initial value:
{
if ($1) {
$1->next = $2;
$$ = $1;
} else {
$$ = $2;
}
}
$$ = $2;
}
Package PackageList
Definition: parse_citi.y:100
VAR Identifier VarType Integer Eol
Definition: parse_citi.y:143

Definition at line 100 of file parse_citi.y.

name prefix

Definition at line 52 of file parse_citi.y.

int progressbar_enable

Definition at line 84 of file logging.c.

int progressbar_gui

Definition at line 87 of file logging.c.

type = $3

Definition at line 146 of file parse_citi.y.

var = $2

Definition at line 145 of file parse_citi.y.

Float Eol VarList
Initial value:
{
$3->add ($1)

Definition at line 222 of file parse_citi.y.