52 |
|
|
53 |
|
#include "io/ParamConstraint.hpp" |
54 |
|
|
55 |
+ |
using namespace oopse; |
56 |
|
|
57 |
|
Globals::Globals(){ |
58 |
|
|
130 |
|
|
131 |
|
} |
132 |
|
|
133 |
+ |
Globals::~Globals(){ |
134 |
+ |
int i; |
135 |
+ |
if( components != NULL ){ |
136 |
+ |
for( i=0; i< getNComponents(); i++ ) delete components[i]; |
137 |
+ |
delete[] components; |
138 |
+ |
} |
139 |
+ |
|
140 |
+ |
if( zConstraints != NULL ){ |
141 |
+ |
for( i=0; i< getNZconstraints(); i++ ) delete zConstraints[i]; |
142 |
+ |
delete[] zConstraints; |
143 |
+ |
} |
144 |
+ |
|
145 |
+ |
} |
146 |
+ |
|
147 |
|
int Globals::globalAssign( event* the_event ){ |
148 |
|
char errorMessage[65535]; |
149 |
|
int key; |