52 name = n ? strdup (n) : NULL;
79 name = n ? strdup (n) : NULL;
94 text = strdup (
"variable");
97 str =
value.
c->toString ();
98 text = (
char *) malloc (strlen (str) + 11);
99 sprintf (
text,
"constant: %s", str);
102 str =
value.
v->toString ();
103 text = (
char *) malloc (strlen (str) + 8);
104 sprintf (
text,
"value: %s", str);
107 str =
value.
r->toString ();
108 val =
value.
r->getResult()->toString ();
109 text = (
char *) malloc (strlen (str) + strlen (val) + 15);
110 sprintf (
text,
"reference: %s = %s", str, val);
114 text = (
char *) malloc (strlen (str) + 12);
115 sprintf (
text,
"substrate: %s", str);
118 str =
value.
a->getName ();
119 text = (
char *) malloc (strlen (str) + 11);
120 sprintf (
text,
"analysis: %s", str);
123 text = strdup (
"?variable?");
The analysis class header file.
union qucs::variable::value_t value
virtual ~variable()
Destructor deletes an instance of the variable class.