• Home
  • Raw
  • Download

Lines Matching refs:getA2

35     A2* getA2() {return this;}  in getA2()  function
46 A2* getA2() {return A2::getA2();} in getA2() function
58 A2* getA2() {return A3::getA2();} in getA2() function
71 A2* getA2() {return A4::getA2();} in getA2() function
86 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
88 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
91 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
95 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
101 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
103 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
106 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
110 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
116 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
118 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
121 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
125 assert(dynamic_cast<A3*>(a5.getA2()) == 0); in test()
131 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
133 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
136 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
140 assert(dynamic_cast<A4*>(a5.getA2()) == 0); in test()
146 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
148 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
151 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
155 assert(dynamic_cast<A5*>(a5.getA2()) == 0); in test()
179 A2* getA2() {return this;} in getA2() function
190 A2* getA2() {return A2::getA2();} in getA2() function
202 A2* getA2() {return A3::getA2();} in getA2() function
215 A2* getA2() {return A4::getA2();} in getA2() function
230 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
232 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
235 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
239 assert(dynamic_cast<A1*>(a5.getA2()) == a5.getA1()); in test()
245 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
246 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
247 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
248 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
250 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
251 assert(dynamic_cast<A2*>(a4.getA3()) == a4.getA2()); in test()
254 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
255 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
260 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
262 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
265 assert(dynamic_cast<A3*>(a4.getA2()) == a4.getA3()); in test()
269 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
275 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
277 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
280 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
284 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
290 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
292 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
295 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
299 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
323 A2* getA2() {return this;} in getA2() function
334 A2* getA2() {return A2::getA2();} in getA2() function
346 A2* getA2() {return A2::getA2();} in getA2() function
359 A2* getA2() {return A4::getA2();} in getA2() function
374 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
376 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
379 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
383 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
388 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
389 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
390 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
391 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
392 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
393 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
394 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
395 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
396 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
397 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
398 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
399 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
400 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
403 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
405 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
408 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
412 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
418 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
420 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
423 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
427 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
433 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
435 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
438 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
442 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
466 A2* getA2() {return this;} in getA2() function
477 A2* getA2() {return A2::getA2();} in getA2() function
489 A2* getA2() {return A2::getA2();} in getA2() function
502 A2* getA2() {return A4::getA2();} in getA2() function
517 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
519 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
522 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
526 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
531 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
533 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
534 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
535 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
536 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
537 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
538 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
540 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
541 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
542 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
543 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
546 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
548 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
551 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
555 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
561 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
563 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
566 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
570 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
576 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
578 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
581 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
585 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
609 A2* getA2() {return this;} in getA2() function
620 A2* getA2() {return A2::getA2();} in getA2() function
632 A2* getA2() {return A2::getA2();} in getA2() function
645 A2* getA2() {return A4::getA2();} in getA2() function
660 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
662 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
665 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
669 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
674 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
676 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
678 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
679 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
680 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
681 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
682 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
683 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
685 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
686 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
689 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
691 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
694 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
698 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
704 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
706 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
709 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
713 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
719 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
721 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
724 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
728 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
752 A2* getA2() {return this;} in getA2() function
763 A2* getA2() {return A2::getA2();} in getA2() function
775 A2* getA2() {return A2::getA2();} in getA2() function
788 A2* getA2() {return A4::getA2();} in getA2() function
803 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
805 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
808 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
812 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
817 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
818 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
819 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
820 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
822 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
823 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
825 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
826 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
827 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
828 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
829 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
832 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
834 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
837 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
841 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
847 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
849 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
852 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
856 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
862 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
864 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
867 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
871 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
895 A2* getA2() {return this;} in getA2() function
906 A2* getA2() {return A2::getA2();} in getA2() function
918 A2* getA2() {return A2::getA2();} in getA2() function
931 A2* getA2() {return A4::getA2();} in getA2() function
946 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
948 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
951 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
955 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
960 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
961 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
962 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
963 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
965 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
967 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
968 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
969 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
970 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
972 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
975 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
977 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
980 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
984 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
990 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
992 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
995 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
999 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1005 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
1007 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
1010 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
1014 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
1038 A2* getA2() {return this;} in getA2() function
1049 A2* getA2() {return A2::getA2();} in getA2() function
1061 A2* getA2() {return A2::getA2();} in getA2() function
1074 A2* getA2() {return A4::getA2();} in getA2() function
1089 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1091 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1094 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1098 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1103 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1104 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1105 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1106 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1107 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
1108 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
1109 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
1110 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
1112 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
1113 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
1114 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
1115 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
1118 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1120 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1123 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1127 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1133 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1135 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1138 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1142 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1148 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
1150 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
1153 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
1157 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()
1181 A2* getA2() {return this;} in getA2() function
1192 A2* getA2() {return A2::getA2();} in getA2() function
1204 A2* getA2() {return A2::getA2();} in getA2() function
1217 A2* getA2() {return A4::getA2();} in getA2() function
1232 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1234 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1237 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1241 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1246 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1247 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1248 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1249 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1250 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
1251 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
1252 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
1254 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
1255 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
1256 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
1257 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
1258 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
1261 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1263 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1266 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1270 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1276 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1278 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1281 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1285 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1291 assert(dynamic_cast<A5*>(a2.getA2()) == 0); in test()
1293 assert(dynamic_cast<A5*>(a3.getA2()) == 0); in test()
1296 assert(dynamic_cast<A5*>(a4.getA2()) == 0); in test()
1300 assert(dynamic_cast<A5*>(a5.getA2()) == a5.getA5()); in test()