| 125 |
|
return next; |
| 126 |
|
} |
| 127 |
|
|
| 128 |
< |
void setValue(double theDval){ |
| 128 |
> |
void GenericData::setValue(double theDval){ |
| 129 |
|
dVal = theDval; |
| 130 |
|
} |
| 131 |
|
|
| 132 |
< |
void setValue(char* theCval){ |
| 132 |
> |
void GenericData::setValue(char* theCval){ |
| 133 |
|
strcpy( cVal, theCval ); |
| 134 |
|
} |
| 135 |
|
|
| 136 |
< |
void setValue(double* theDarray, int theArrayLength){ |
| 136 |
> |
void GenericData::setValue(double* theDarray, int theArrayLength){ |
| 137 |
|
|
| 138 |
|
int i; |
| 139 |
|
|
| 147 |
|
strcpy( id, theID ); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
< |
int getDarray( double* &outArray ){ |
| 150 |
> |
int GenericData::getDarray( double* &outArray ){ |
| 151 |
|
|
| 152 |
|
int i; |
| 153 |
|
|
| 154 |
< |
outArray = new outArray[arrayLength]; |
| 154 |
> |
outArray = new double[arrayLength]; |
| 155 |
|
for(i=0;i<arrayLength;i++) |
| 156 |
|
outArray[i] = dArray[i]; |
| 157 |
|
|