Qucs-core
0.0.18
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
qucs-core
src
check_zvr.h
Go to the documentation of this file.
1
/*
2
* check_zvr.h - checker definitions for a zvr file
3
*
4
* Copyright (C) 2006 Stefan Jahn <stefan@lkcc.org>
5
*
6
* This is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* This software is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this package; see the file COPYING. If not, write to
18
* the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
19
* Boston, MA 02110-1301, USA.
20
*
21
* $Id$
22
*
23
*/
24
25
#ifndef __CHECK_ZVR_H__
26
#define __CHECK_ZVR_H__
27
28
// forward declarations
29
namespace
qucs
{
30
class
dataset;
31
class
vector;
32
}
33
34
/* Externalize variables used by the scanner and parser. */
35
extern
int
zvr_lineno
;
36
extern
FILE *
zvr_in
;
37
void
zvr_restart
(FILE *);
38
39
__BEGIN_DECLS
40
41
/* Available functions of the checker. */
42
int
zvr_check
(
void
);
43
int
zvr_parse
(
void
);
44
int
zvr_error
(
const
char
*);
45
int
zvr_lex
(
void
);
46
int
zvr_lex_destroy
(
void
);
47
void
zvr_destroy
(
void
);
48
void
zvr_init
(
void
);
49
50
__END_DECLS
51
52
/* Declaration of ZVR data structures. */
53
extern
qucs::dataset
*
zvr_result
;
54
extern
struct
zvr_data_t
*
zvr_root
;
55
56
struct
zvr_header_t
{
57
double
zref
;
58
double
start
;
59
double
stop
;
60
char
*
funit
;
61
int
points
;
62
char
*
d_TYP
;
63
char
*
d_UNT
;
64
char
*
d_FMT
;
65
};
66
67
struct
zvr_vector_t
{
68
char
*
n1
;
69
char
*
n2
;
70
char
*
nf
;
71
qucs::vector
*
vi
;
72
qucs::vector
*
vd
;
73
};
74
75
struct
zvr_line_t
{
76
double
d
;
77
double
r
,
i
;
78
struct
zvr_line_t
*
next
;
79
};
80
81
struct
zvr_data_t
{
82
struct
zvr_header_t
*
h
;
83
struct
zvr_vector_t
*
v
;
84
struct
zvr_line_t
*
d
;
85
struct
zvr_data_t
*
next
;
86
};
87
88
89
#endif
/* __CHECK_ZVR_H__ */
zvr_in
FILE * zvr_in
zvr_lex
int zvr_lex(void)
zvr_lineno
int zvr_lineno
zvr_line_t::d
double d
Definition:
check_zvr.h:76
qucs::vector
Definition:
parse_citi.y:47
zvr_header_t::points
int points
Definition:
check_zvr.h:61
zvr_data_t::d
struct zvr_line_t * d
Definition:
check_zvr.h:84
zvr_vector_t::nf
char * nf
Definition:
check_zvr.h:70
zvr_data_t
Definition:
check_zvr.h:81
qucs::dataset
Definition:
dataset.h:34
zvr_result
__END_DECLS qucs::dataset * zvr_result
Definition:
check_zvr.cpp:48
zvr_parse
int zvr_parse(void)
zvr_line_t::next
struct zvr_line_t * next
Definition:
check_zvr.h:78
zvr_header_t::d_UNT
char * d_UNT
Definition:
check_zvr.h:63
zvr_data_t::h
struct zvr_header_t * h
Definition:
check_zvr.h:82
zvr_restart
void zvr_restart(FILE *)
zvr_data_t::next
struct zvr_data_t * next
Definition:
check_zvr.h:85
zvr_vector_t::n2
char * n2
Definition:
check_zvr.h:69
zvr_lex_destroy
int zvr_lex_destroy(void)
qucs
Definition:
applications.h:30
zvr_line_t::i
double i
Definition:
check_zvr.h:77
zvr_vector_t::vi
qucs::vector * vi
Definition:
check_zvr.h:71
zvr_line_t::r
double r
Definition:
check_zvr.h:77
zvr_data_t::v
struct zvr_vector_t * v
Definition:
check_zvr.h:83
zvr_vector_t::n1
char * n1
Definition:
check_zvr.h:68
zvr_header_t::stop
double stop
Definition:
check_zvr.h:59
zvr_header_t::d_FMT
char * d_FMT
Definition:
check_zvr.h:64
zvr_header_t
Definition:
check_zvr.h:56
zvr_line_t
Definition:
check_zvr.h:75
zvr_header_t::zref
double zref
Definition:
check_zvr.h:57
zvr_vector_t
Definition:
check_zvr.h:67
zvr_header_t::funit
char * funit
Definition:
check_zvr.h:60
zvr_destroy
void zvr_destroy(void)
Definition:
check_zvr.cpp:255
zvr_error
int zvr_error(const char *)
Definition:
parse_zvr.y:195
zvr_vector_t::vd
qucs::vector * vd
Definition:
check_zvr.h:72
zvr_init
void zvr_init(void)
Definition:
check_zvr.cpp:268
zvr_header_t::d_TYP
char * d_TYP
Definition:
check_zvr.h:62
zvr_check
__BEGIN_DECLS int zvr_check(void)
Definition:
check_zvr.cpp:220
zvr_root
struct zvr_data_t * zvr_root
Definition:
check_zvr.cpp:49
zvr_header_t::start
double start
Definition:
check_zvr.h:58
Generated on Mon Sep 1 2014 20:08:25 for Qucs-core by
1.8.6