Definition at line 100 of file clientConf.cpp. 00100 { 00101 int tmp = 6; 00102 int counter = 0; 00103 validValues = values; 00104 isInt = tmpInt; 00105 validValuesCount = tmp; 00106 regExp = "^[ \t]*([A-Za-z0-9]+)[ \t]*=[ \t]*([A-Za-z0-9.]+)"; 00107 subExpCount = 2; 00108 confDef = "p:i:c:n:o:a:"; 00109 intArray = new int[tmp];//(int*)malloc(sizeof(int) * tmp); 00110 confFound = new int[tmp];//(int*)malloc(sizeof(int) * tmp); 00111 charArray = new char*[tmp];//(char**)malloc(sizeof(char*) * tmp); 00112 while(counter < tmp){ 00113 intArray[counter] = 0; 00114 confFound[counter] = 0; 00115 charArray[counter] = NULL; 00116 counter = counter + 1; 00117 } 00118 }
|
1.5.1