My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
netdefs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  node_t
 
struct  value_t
 
struct  pair_t
 
struct  definition_t
 
struct  property_t
 
struct  define_t
 

Macros

#define MAX_PORTS   256
 
#define PROP_ACTION   1
 
#define PROP_COMPONENT   0
 
#define PROP_SUBSTRATE   1
 
#define PROP_NO_SUBSTRATE   0
 
#define PROP_NONLINEAR   1
 
#define PROP_LINEAR   0
 
#define PROP_NODES   -1
 
#define PROP_NO_PROP
 
#define PROP_NO_VAL   0.0
 
#define PROP_NO_STR   ((char *) -1)
 
#define PROP_NO_RANGE   { '.', 0, 0, '.', { NULL } }
 
#define PROP_VAL_MAX   NR_MAX
 
#define PROP_VAL_MIN   NR_MIN
 
#define PROP_POS_RANGE   { '[', 0, 0, '.', { NULL } }
 
#define PROP_NEG_RANGE   { '.', 0, 0, ']', { NULL } }
 
#define PROP_POS_RANGEX   { ']', 0, 0, '.', { NULL } }
 
#define PROP_NEG_RANGEX   { '.', 0, 0, '[', { NULL } }
 
#define PROP_MIN_VAL(k)   { '[', k, 0, '.', { NULL } }
 
#define PROP_MAX_VAL(k)   { '.', 0, k, ']', { NULL } }
 
#define PROP_MIN_VALX(k)   { ']', k, 0, '.', { NULL } }
 
#define PROP_MAX_VALX(k)   { '.', 0, k, '[', { NULL } }
 
#define PROP_RNG_X01I   { ']', 0, 1, ']', { NULL } }
 
#define PROP_RNGII(f, t)   { '[', f, t, ']', { NULL } }
 
#define PROP_RNGXI(f, t)   { ']', f, t, ']', { NULL } }
 
#define PROP_RNGIX(f, t)   { '[', f, t, '[', { NULL } }
 
#define PROP_RNGXX(f, t)   { ']', f, t, '[', { NULL } }
 
#define PROP_RNG_STR1(s)   { '.', 0, 0, '.', { s, NULL } }
 
#define PROP_RNG_STR2(s1, s2)   { '.', 0, 0, '.', { s1, s2, NULL } }
 
#define PROP_RNG_STR3(s1, s2, s3)   { '.', 0, 0, '.', { s1, s2, s3, NULL } }
 
#define PROP_RNG_STR4(s1, s2, s3, s4)   { '.', 0, 0, '.', { s1, s2, s3, s4, NULL } }
 
#define PROP_RNG_STR5(s1, s2, s3, s4, s5)   { '.', 0, 0, '.', { s1, s2, s3, s4, s5, NULL } }
 
#define PROP_RNG_STR6(s1, s2, s3, s4, s5, s6)   { '.', 0, 0, '.', { s1, s2, s3, s4, s5, s6, NULL } }
 
#define PROP_RNG_STR7(s1, s2, s3, s4, s5, s6, s7)   { '.', 0, 0, '.', { s1, s2, s3, s4, s5, s6, s7, NULL } }
 
#define PROP_RNG_YESNO   PROP_RNG_STR2 ("yes", "no")
 
#define PROP_RNG_BJT   PROP_RNG_STR2 ("npn", "pnp")
 
#define PROP_RNG_FET   PROP_RNG_STR2 ("nfet", "pfet")
 
#define PROP_RNG_MOS   PROP_RNG_STR2 ("nmos", "pmos")
 
#define PROP_RNG_TYP   PROP_RNG_STR4 ("lin", "log", "list", "const")
 
#define PROP_RNG_SOL
 
#define PROP_RNG_DIS
 
#define PROP_RNG_MOD   PROP_RNG_STR3 ("Wheeler", "Schneider", "Hammerstad")
 
#define PROP_NONE   -1
 
#define PROP_INT   0
 
#define PROP_REAL   1
 
#define PROP_STR   2
 
#define PROP_LIST   3
 
#define PROP_IS_PROP(prop)   ((prop).key != NULL)
 
#define PROP_IS_VAL(prop)   ((prop).type != PROP_STR)
 
#define PROP_IS_INT(prop)   ((prop).type == PROP_INT)
 
#define PROP_IS_STR(prop)   (!PROP_IS_VAL (prop))
 
#define PROP_IS_LST(prop)   ((prop).type == PROP_LIST)
 
#define PROP_HAS_RANGE(prop)
 
#define PROP_HAS_STR(prop)   ((prop).range.str[0] != NULL)
 
#define PROP_REQ   static struct property_t required
 
#define PROP_OPT   static struct property_t optional
 
#define PROP_DEF   required, optional
 
#define create_definition()   ((struct definition_t *) calloc (sizeof (struct definition_t), 1))
 
#define create_value()   ((struct value_t *) calloc (sizeof (struct value_t), 1))
 
#define create_node()   ((struct node_t *) calloc (sizeof (struct node_t), 1))
 
#define create_pair()   ((struct pair_t *) calloc (sizeof (struct pair_t), 1))
 

Macro Definition Documentation

#define create_definition ( )    ((struct definition_t *) calloc (sizeof (struct definition_t), 1))

Definition at line 189 of file netdefs.h.

#define create_node ( )    ((struct node_t *) calloc (sizeof (struct node_t), 1))

Definition at line 193 of file netdefs.h.

#define create_pair ( )    ((struct pair_t *) calloc (sizeof (struct pair_t), 1))

Definition at line 195 of file netdefs.h.

#define create_value ( )    ((struct value_t *) calloc (sizeof (struct value_t), 1))

Definition at line 191 of file netdefs.h.

#define MAX_PORTS   256

Definition at line 111 of file netdefs.h.

#define PROP_ACTION   1

Definition at line 113 of file netdefs.h.

#define PROP_COMPONENT   0

Definition at line 114 of file netdefs.h.

#define PROP_DEF   required, optional

Definition at line 187 of file netdefs.h.

#define PROP_HAS_RANGE (   prop)
Value:
((prop).range.l != 0 || (prop).range.h != 0 || \
(prop).range.il != '.' || (prop).range.ih != '.')

Definition at line 181 of file netdefs.h.

#define PROP_HAS_STR (   prop)    ((prop).range.str[0] != NULL)

Definition at line 183 of file netdefs.h.

#define PROP_INT   0

Definition at line 171 of file netdefs.h.

#define PROP_IS_INT (   prop)    ((prop).type == PROP_INT)

Definition at line 178 of file netdefs.h.

#define PROP_IS_LST (   prop)    ((prop).type == PROP_LIST)

Definition at line 180 of file netdefs.h.

#define PROP_IS_PROP (   prop)    ((prop).key != NULL)

Definition at line 176 of file netdefs.h.

#define PROP_IS_STR (   prop)    (!PROP_IS_VAL (prop))

Definition at line 179 of file netdefs.h.

#define PROP_IS_VAL (   prop)    ((prop).type != PROP_STR)

Definition at line 177 of file netdefs.h.

#define PROP_LINEAR   0

Definition at line 118 of file netdefs.h.

#define PROP_LIST   3

Definition at line 174 of file netdefs.h.

#define PROP_MAX_VAL (   k)    { '.', 0, k, ']', { NULL } }

Definition at line 132 of file netdefs.h.

#define PROP_MAX_VALX (   k)    { '.', 0, k, '[', { NULL } }

Definition at line 134 of file netdefs.h.

#define PROP_MIN_VAL (   k)    { '[', k, 0, '.', { NULL } }

Definition at line 131 of file netdefs.h.

#define PROP_MIN_VALX (   k)    { ']', k, 0, '.', { NULL } }

Definition at line 133 of file netdefs.h.

#define PROP_NEG_RANGE   { '.', 0, 0, ']', { NULL } }

Definition at line 128 of file netdefs.h.

#define PROP_NEG_RANGEX   { '.', 0, 0, '[', { NULL } }

Definition at line 130 of file netdefs.h.

#define PROP_NO_PROP
Value:
PROP_NO_RANGE }

Definition at line 120 of file netdefs.h.

#define PROP_NO_RANGE   { '.', 0, 0, '.', { NULL } }

Definition at line 124 of file netdefs.h.

#define PROP_NO_STR   ((char *) -1)

Definition at line 123 of file netdefs.h.

#define PROP_NO_SUBSTRATE   0

Definition at line 116 of file netdefs.h.

#define PROP_NO_VAL   0.0

Definition at line 122 of file netdefs.h.

#define PROP_NODES   -1

Definition at line 119 of file netdefs.h.

#define PROP_NONE   -1

Definition at line 170 of file netdefs.h.

#define PROP_NONLINEAR   1

Definition at line 117 of file netdefs.h.

#define PROP_OPT   static struct property_t optional

Definition at line 186 of file netdefs.h.

#define PROP_POS_RANGE   { '[', 0, 0, '.', { NULL } }

Definition at line 127 of file netdefs.h.

#define PROP_POS_RANGEX   { ']', 0, 0, '.', { NULL } }

Definition at line 129 of file netdefs.h.

#define PROP_REAL   1

Definition at line 172 of file netdefs.h.

#define PROP_REQ   static struct property_t required

Definition at line 185 of file netdefs.h.

#define PROP_RNG_BJT   PROP_RNG_STR2 ("npn", "pnp")

Definition at line 157 of file netdefs.h.

#define PROP_RNG_DIS
Value:
PROP_RNG_STR7 ("Kirschning", "Kobayashi", "Yamashita", "Getsinger", \
"Schneider", "Pramanick", "Hammerstad")

Definition at line 164 of file netdefs.h.

#define PROP_RNG_FET   PROP_RNG_STR2 ("nfet", "pfet")

Definition at line 158 of file netdefs.h.

#define PROP_RNG_MOD   PROP_RNG_STR3 ("Wheeler", "Schneider", "Hammerstad")

Definition at line 167 of file netdefs.h.

#define PROP_RNG_MOS   PROP_RNG_STR2 ("nmos", "pmos")

Definition at line 159 of file netdefs.h.

#define PROP_RNG_SOL
Value:
PROP_RNG_STR5 ("CroutLU", "DoolittleLU", "HouseholderQR", \
"HouseholderLQ", "GolubSVD")

Definition at line 161 of file netdefs.h.

#define PROP_RNG_STR1 (   s)    { '.', 0, 0, '.', { s, NULL } }

Definition at line 141 of file netdefs.h.

#define PROP_RNG_STR2 (   s1,
  s2 
)    { '.', 0, 0, '.', { s1, s2, NULL } }

Definition at line 143 of file netdefs.h.

#define PROP_RNG_STR3 (   s1,
  s2,
  s3 
)    { '.', 0, 0, '.', { s1, s2, s3, NULL } }

Definition at line 145 of file netdefs.h.

#define PROP_RNG_STR4 (   s1,
  s2,
  s3,
  s4 
)    { '.', 0, 0, '.', { s1, s2, s3, s4, NULL } }

Definition at line 147 of file netdefs.h.

#define PROP_RNG_STR5 (   s1,
  s2,
  s3,
  s4,
  s5 
)    { '.', 0, 0, '.', { s1, s2, s3, s4, s5, NULL } }

Definition at line 149 of file netdefs.h.

#define PROP_RNG_STR6 (   s1,
  s2,
  s3,
  s4,
  s5,
  s6 
)    { '.', 0, 0, '.', { s1, s2, s3, s4, s5, s6, NULL } }

Definition at line 151 of file netdefs.h.

#define PROP_RNG_STR7 (   s1,
  s2,
  s3,
  s4,
  s5,
  s6,
  s7 
)    { '.', 0, 0, '.', { s1, s2, s3, s4, s5, s6, s7, NULL } }

Definition at line 153 of file netdefs.h.

#define PROP_RNG_TYP   PROP_RNG_STR4 ("lin", "log", "list", "const")

Definition at line 160 of file netdefs.h.

#define PROP_RNG_X01I   { ']', 0, 1, ']', { NULL } }

Definition at line 135 of file netdefs.h.

#define PROP_RNG_YESNO   PROP_RNG_STR2 ("yes", "no")

Definition at line 156 of file netdefs.h.

#define PROP_RNGII (   f,
  t 
)    { '[', f, t, ']', { NULL } }

Definition at line 136 of file netdefs.h.

#define PROP_RNGIX (   f,
  t 
)    { '[', f, t, '[', { NULL } }

Definition at line 138 of file netdefs.h.

#define PROP_RNGXI (   f,
  t 
)    { ']', f, t, ']', { NULL } }

Definition at line 137 of file netdefs.h.

#define PROP_RNGXX (   f,
  t 
)    { ']', f, t, '[', { NULL } }

Definition at line 139 of file netdefs.h.

#define PROP_STR   2

Definition at line 173 of file netdefs.h.

#define PROP_SUBSTRATE   1

Definition at line 115 of file netdefs.h.

#define PROP_VAL_MAX   NR_MAX

Definition at line 125 of file netdefs.h.

#define PROP_VAL_MIN   NR_MIN

Definition at line 126 of file netdefs.h.