Lines Matching refs:getA2
28 A2* getA2() {return this;} in getA2() function
39 A2* getA2() {return A2::getA2();} in getA2() function
51 A2* getA2() {return A3::getA2();} in getA2() function
64 A2* getA2() {return A4::getA2();} in getA2() function
79 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
81 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
84 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
88 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
94 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
96 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
99 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
103 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
109 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
111 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
114 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
118 assert(dynamic_cast<A3*>(a5.getA2()) == 0); in test()
124 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
126 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
129 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
133 assert(dynamic_cast<A4*>(a5.getA2()) == 0); in test()
139 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
141 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
144 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
148 assert(dynamic_cast<A5*>(a5.getA2()) == 0); in test()
172 A2* getA2() {return this;} in getA2() function
183 A2* getA2() {return A2::getA2();} in getA2() function
195 A2* getA2() {return A3::getA2();} in getA2() function
208 A2* getA2() {return A4::getA2();} in getA2() function
223 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
225 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
228 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
232 assert(dynamic_cast<A1*>(a5.getA2()) == a5.getA1()); in test()
238 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
239 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
240 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
241 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
243 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
244 assert(dynamic_cast<A2*>(a4.getA3()) == a4.getA2()); in test()
247 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
248 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
253 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
255 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
258 assert(dynamic_cast<A3*>(a4.getA2()) == a4.getA3()); in test()
262 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
268 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
270 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
273 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
277 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
283 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
285 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
288 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
292 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
316 A2* getA2() {return this;} in getA2() function
327 A2* getA2() {return A2::getA2();} in getA2() function
339 A2* getA2() {return A2::getA2();} in getA2() function
352 A2* getA2() {return A4::getA2();} in getA2() function
367 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
369 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
372 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
376 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
381 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
382 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
383 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
384 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
385 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
386 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
387 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
388 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
389 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
390 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
391 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
392 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
393 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
396 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
398 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
401 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
405 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
411 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
413 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
416 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
420 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
426 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
428 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
431 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
435 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
459 A2* getA2() {return this;} in getA2() function
470 A2* getA2() {return A2::getA2();} in getA2() function
482 A2* getA2() {return A2::getA2();} in getA2() function
495 A2* getA2() {return A4::getA2();} in getA2() function
510 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
512 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
515 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
519 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
524 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
526 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
527 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
528 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
529 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
530 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
531 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
533 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
534 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
535 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
536 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
539 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
541 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
544 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
548 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
554 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
556 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
559 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
563 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
569 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
571 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
574 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
578 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
602 A2* getA2() {return this;} in getA2() function
613 A2* getA2() {return A2::getA2();} in getA2() function
625 A2* getA2() {return A2::getA2();} in getA2() function
638 A2* getA2() {return A4::getA2();} in getA2() function
653 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
655 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
658 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
662 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
667 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
669 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
671 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
672 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
673 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
674 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
675 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
676 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
678 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
679 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
682 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
684 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
687 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
691 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
697 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
699 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
702 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
706 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
712 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
714 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
717 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
721 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
745 A2* getA2() {return this;} in getA2() function
756 A2* getA2() {return A2::getA2();} in getA2() function
768 A2* getA2() {return A2::getA2();} in getA2() function
781 A2* getA2() {return A4::getA2();} in getA2() function
796 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
798 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
801 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
805 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
810 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
811 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
812 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
813 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
815 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
816 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
818 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
819 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
820 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
821 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
822 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
825 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
827 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
830 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
834 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
840 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
842 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
845 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
849 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
855 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
857 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
860 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
864 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
888 A2* getA2() {return this;} in getA2() function
899 A2* getA2() {return A2::getA2();} in getA2() function
911 A2* getA2() {return A2::getA2();} in getA2() function
924 A2* getA2() {return A4::getA2();} in getA2() function
939 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
941 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
944 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
948 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
953 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
954 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
955 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
956 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
958 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
960 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
961 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
962 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
963 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
965 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
968 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
970 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
973 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
977 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
983 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
985 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
988 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
992 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
998 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
1000 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
1003 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
1007 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
1031 A2* getA2() {return this;} in getA2() function
1042 A2* getA2() {return A2::getA2();} in getA2() function
1054 A2* getA2() {return A2::getA2();} in getA2() function
1067 A2* getA2() {return A4::getA2();} in getA2() function
1082 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1084 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1087 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1091 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1096 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1097 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1098 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1099 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1100 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
1101 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
1102 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
1103 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
1105 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
1106 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
1107 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
1108 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
1111 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1113 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1116 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1120 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1126 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1128 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1131 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1135 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1141 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
1143 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
1146 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
1150 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
1174 A2* getA2() {return this;} in getA2() function
1185 A2* getA2() {return A2::getA2();} in getA2() function
1197 A2* getA2() {return A2::getA2();} in getA2() function
1210 A2* getA2() {return A4::getA2();} in getA2() function
1225 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1227 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1230 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1234 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1239 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1240 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1241 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1242 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1243 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
1244 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
1245 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
1247 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
1248 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
1249 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
1250 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
1251 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
1254 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1256 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1259 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1263 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1269 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1271 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1274 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1278 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1284 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
1286 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
1289 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
1293 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()