58 name = n ? strdup (n) : NULL;
71 name = n ? strdup (n) : NULL;
72 str = val ? strdup (val) : NULL;
84 name = n ? strdup (n) : NULL;
97 name = n ? strdup (n) : NULL;
111 str = p.
str ? strdup (p.
str) : NULL;
113 txt = p.
txt ? strdup (p.
txt) : NULL;
123 constant *
c =
var->getConstant ();
138 name = n ? strdup (n) : NULL;
151 if (!strcmp (p->getName (),
n))
return p;
157 #define D(con) ((constant *) (con))->d
158 #define S(con) ((constant *) (con))->s
159 #define V(con) ((constant *) (con))->v
165 return V (
var->getConstant ());
167 return V (
var->getReference()->getResult ());
174 if (
var != NULL)
return S (
var->getConstant ());
180 if (
var != NULL)
return var->getName ();
188 return D (
var->getConstant ());
190 return D (
var->getReference()->getResult ());
223 str = val ? strdup (val) : NULL;
232 txt = strdup (
"(no such type)");
242 sprintf (text,
"%g", (
double)
value);
246 sprintf (text,
"%s",
var->getName ());
property * findProperty(const char *)
char * getReference(void)
qucs::vector * getVector(void)
nr_complex_t floor(const nr_complex_t z)
Complex floor.
nr_double_t getDouble(void)