Lines Matching refs:cout

46 	cout << "\n     Simple Registry Test !!!     \n\n";	  in main()
49 cout << "\t0. creating registry \"test4.rdb\" failed\n"; in main()
51 cout << "0. registry test4.rdb is created\n"; in main()
54 cout << "1. open root key \"test4.rdb\" failed\n"; in main()
56 cout << "1. root key of \"test4.rdb\" is opened\n"; in main()
59 cout << "\t2. creating key \"myFirstKey\" failed\n"; in main()
61 cout << "2. key \"myFirstKey\" is created\n"; in main()
63 cout << "\t3. creating key \"mySecondKey\" failed\n"; in main()
65 cout << "3. key \"mySecondKey\" is created\n"; in main()
67 cout << "\t4. creating subkey \"myFirstSubKey\" failed\n"; in main()
69 cout << "4. subkey \"myFirstSubKey\" is created\n"; in main()
71 cout << "\t5. creating subkey \"mySecondSubKey\" failed\n"; in main()
73 cout << "5. subkey \"mySecondSubKey\" is created\n"; in main()
75 cout << "\t6. creating key \"myThirdKey\" is created\n\n"; in main()
77 cout << "6. key \"myThirdKey\" is created\n\n"; in main()
83 cout << "\t7. open subkeys of \"myfirstKey\" failed\n"; in main()
85 cout << "7. open " << nSubKeys << "subkeys of \"myfirstKey\"\n"; in main()
89cout << "\tname of subkey 1 = " << OUStringToOString(keyName, RTL_TEXTENCODING_ASCII_US).getStr() … in main()
91cout << "\tname of subkey 2 = " << OUStringToOString(keyName, RTL_TEXTENCODING_ASCII_US).getStr() … in main()
94 cout << "\t8. close subkeys of \"myfirstKey\" failed\n\n"; in main()
96 cout << "8. close " << nSubKeys << "subkeys of \"myfirstKey\"\n\n"; in main()
101 cout << "\t9. setValue of key \"mySecondKey\" failed\n"; in main()
103 cout << "9. setValue (string Value) of key \"mySecondKey\"\n"; in main()
109 cout << "\t10. getValueInfo of key \"mySecondKey\" failed\n"; in main()
111 cout << "10. getValueInfo of key \"mySecondKey\"\n"; in main()
115 cout << "\t11. getValue of key \"mySecondKey\" failed\n"; in main()
118 cout << "11. getValue of key \"mySecondKey\"\n"; in main()
120 cout << "read Value,\n\tvalueType = " << (long)valueType in main()
129 cout << "\t12. closing \"myFirstKey\" \"myfistSubKey\" \"mySecondSubKey\" failed\n"; in main()
131 cout << "12. keys \"myFirstKey\" \"myfistSubKey\" \"mySecondSubKey\" are closed\n"; in main()
134 cout << "13.\t delete key \"myFirstKey\" failed\n"; in main()
136 cout << "13. key \"myFirstKey\" is deleted\n"; in main()
139 cout << "\t14. closing key \"mySecondKey\" failed\n"; in main()
141 cout << "14. key \"mySecondKey\" is closed\n"; in main()
144 cout << "\n15. open key \"mySecondKey\" failed\n"; in main()
146 cout << "15. key \"mySecondKey\" is opended\n"; in main()
149 cout << "\t15. closing key \"myThirdSubKey\" failed\n"; in main()
151 cout << "15. key \"myThirdSubKey\" is closed\n"; in main()
153 cout << "\t16. delete key \"myThirdKey\" failed\n"; in main()
155 cout << "16. key \"myThirdKey\" is deleted\n"; in main()
158 cout << "\t17. open key \"myThirdKey\" failed\n"; in main()
160 cout << "17. key \"myThirdKey\" is opened\n"; in main()
162 cout << "\n close open keys\n\n"; in main()
165 cout << "\t18. closing key \"mySecondKey\" failed\n"; in main()
167 cout << "18. key \"mySecondKey\" is closed\n"; in main()
170 cout << "\t19. closing root key failed\n"; in main()
172 cout << "19. root key is closed\n"; in main()
175 cout << "\t20. closing registry \"test4.rdb\" failed\n"; in main()
177 cout << "20. registry \"test4.rdb\" is closed\n"; in main()
180 cout << "\nTest load key\n\n"; in main()
186 cout << "\t21. creating registry \"test5.rdb\" failed\n"; in main()
188 cout << "21. registry \"test5.rdb\" is created\n"; in main()
191 cout << "\t22. open root key of \"test5.rdb\" failed\n"; in main()
193 cout << "22. root key of \"test5.rdb\" is opened\n"; in main()
196 cout << "\t23. creating key \"reg2FirstKey\" failed\n"; in main()
198 cout << "23. key \"reg2FirstKey\" is created\n"; in main()
200 cout << "\t24. creating key \"reg2SecondKey\" failed\n"; in main()
202 cout << "24. key \"reg2SecondKey\" is created\n"; in main()
204 cout << "\t25. creating key \"reg2FirstSubKey\" failed\n"; in main()
206 cout << "25. key \"reg2FirstSubKey\" is created\n"; in main()
208 cout << "\26. creating key \"reg2SecondSubKey\" failed\n"; in main()
210 cout << "26. key \"reg2SecondSubKey\" is created\n"; in main()
212 cout << "\n27. creating key \"reg2ThirdKey\" failed\n"; in main()
214 cout << "27. key \"reg2ThirdKey\" is created\n"; in main()
218 cout << "\t27.b) setValue of key \"reg2FirstSubKey\" failed\n"; in main()
220 cout << "27.b). setValue (long Value) of key \"reg2FirstSubKey\"\n"; in main()
227 cout << "\n\t28. closing keys of \"test5.rdb\" failed\n"; in main()
229 cout << "\n28. all keys of \"test5.rdb\" closed\n"; in main()
232 cout << "\t29. root key of \"test5.rdb\" failed\n"; in main()
234 cout << "29. root key of \"test5.rdb\" is closed\n"; in main()
237 cout << "\t30. registry test5.rdb is closed\n"; in main()
239 cout << "30. registry test5.rdb is closed\n"; in main()
242 cout << "\t31. registry test4.rdb is opened\n"; in main()
244 cout << "31. registry test4.rdb is opened\n"; in main()
247 cout << "\t32. open root key of \"test4.rdb\" is failed\n"; in main()
249 cout << "32. root key of \"test4.rdb\" is opened\n"; in main()
253 cout << "\n\t33. load all keys from \"test5.rdb\" under key \"allFromTest2\" failed\n"; in main()
255 cout << "\n33. load all keys from test5.rdb under key \"allFromTest2\"\n"; in main()
259 cout << "\n\t34. save all keys under \"allFromTest2\" in test6.rdb\n"; in main()
261 cout << "\n34. save all keys under \"allFromTest2\" in test6.rdb\n"; in main()
265 cout << "\t35. creating key \"allFromTest3\" failed\n"; in main()
267 cout << "36. key \"allFromTest3\" is created\n"; in main()
269 cout << "\t37. creating key \"myFirstKey2\" failed\n"; in main()
271 cout << "37. key \"myFirstKey2\" is created\n"; in main()
273 cout << "\t38. creating key \"mySecondKey2\" failed\n"; in main()
275 cout << "38. key \"mySecondKey2\" is created\n"; in main()
279 cout << "\n\t39. merge all keys under \"allFromTest2\" with all in test6.rdb\n"; in main()
281 cout << "\n39. merge all keys under \"allFromTest2\" with all in test6.rdb\n"; in main()
284 cout << "\n\t40. closing key \"allFromTest3\" of \"test5.rdb\" failed\n"; in main()
286 cout << "\n40. closing key \"allFromTest3\" of \"test5.rdb\"\n"; in main()
288 cout << "\n\t41. closing key \"myFirstKey2\" of \"test5.rdb\" failed\n"; in main()
290 cout << "\n41. closing key \"myFirstKey2\" of \"test5.rdb\"\n"; in main()
292 cout << "\n\t42. closing key \"mySecondKey2\" of \"test5.rdb\" failed\n"; in main()
294 cout << "\n42. closing key \"mySecondKey2\" of \"test5.rdb\"\n"; in main()
298 cout << "\n\t43. delete key \"/allFromTest3/reg2FirstKey/reg2FirstSubKey\" failed\n"; in main()
300 cout << "\n43. key \"/allFromTest3/reg2FirstKey/reg2FirstSubKey\" is deleted\n"; in main()
303 cout << "\n\t44. registry test4.rdb is opened for read only\n"; in main()
305 cout << "\n44. registry test4.rdb is opened for read only\n"; in main()
309 cout << "\n\t44.a). registry test4.rdb is opened for read only\n"; in main()
311 cout << "\n44.a). registry test4.rdb is opened for read only\n"; in main()
314 cout << "\t45. closing registry \"test4.rdb\" failed\n"; in main()
316 cout << "45. registry \"test4.rdb\" is closed\n"; in main()
319 cout << "\n\t46. closing root key of \"test4.rdb\" failed\n"; in main()
321 cout << "\n46. root key of \"test4.rdb\" is closed\n"; in main()
324 cout << "\t47. closing registry \"test4.rdb\" failed\n"; in main()
326 cout << "47. registry \"test4.rdb\" is closed\n"; in main()
329 cout << "\t47.a). closing registry \"test4.rdb\" failed\n"; in main()
331 cout << "47.a). registry \"test4.rdb\" is closed\n"; in main()