Lines Matching refs:getA3
47 A3* getA3() {return this;}
59 A3* getA3() {return A3::getA3();}
72 A3* getA3() {return A4::getA3();}
89 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
92 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1());
96 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1());
104 // assert(dynamic_cast<A2*>(a3.getA3()) == 0); // cast to private base
107 // assert(dynamic_cast<A2*>(a4.getA3()) == 0); // cast to private base
111 // assert(dynamic_cast<A2*>(a5.getA3()) == 0); // cast to private base
117 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
119 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
120 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3());
122 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3());
123 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3());
126 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
127 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
134 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
137 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4());
141 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
149 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
152 assert(dynamic_cast<A5*>(a4.getA3()) == 0);
156 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
191 A3* getA3() {return this;}
203 A3* getA3() {return A3::getA3();}
216 A3* getA3() {return A4::getA3();}
233 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
236 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1());
240 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1());
248 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
251 assert(dynamic_cast<A2*>(a4.getA3()) == a4.getA2());
255 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
261 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
262 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
263 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
264 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3());
265 assert(dynamic_cast<A3*>(a4.getA2()) == a4.getA3());
266 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3());
267 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3());
269 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
270 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
271 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
278 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
281 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4());
285 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
293 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
296 assert(dynamic_cast<A5*>(a4.getA3()) == 0);
300 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
335 A3* getA3() {return this;}
360 A3* getA3() {return A3::getA3();}
377 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
384 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
391 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
398 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
404 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
405 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
406 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
410 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
411 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
412 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
413 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
414 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
415 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
421 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
428 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
436 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
443 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
478 A3* getA3() {return this;}
503 A3* getA3() {return A3::getA3();}
520 // assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); // cast to protected base
527 // assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); // cast to protected base
534 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
541 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
548 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
549 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
553 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
555 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
556 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
557 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
558 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
564 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
571 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
579 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
586 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
621 A3* getA3() {return this;}
646 A3* getA3() {return A3::getA3();}
663 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
670 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
677 // assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); // cast to protected base
684 // assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); // cast to protected base
690 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
692 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
696 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
697 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
698 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
699 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
700 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
701 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
707 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
714 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
722 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
729 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
764 A3* getA3() {return this;}
789 A3* getA3() {return A3::getA3();}
806 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
813 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
820 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
827 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
833 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
834 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
835 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
840 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
841 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
842 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
843 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
844 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
850 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
857 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
865 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
872 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
907 A3* getA3() {return this;}
932 A3* getA3() {return A3::getA3();}
949 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
956 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
963 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
970 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
976 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
977 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
978 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
982 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
983 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
984 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
985 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
986 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
987 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
993 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
1000 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
1008 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
1015 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
1050 A3* getA3() {return this;}
1075 A3* getA3() {return A3::getA3();}
1092 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
1099 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
1106 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
1113 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
1119 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
1120 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
1121 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
1126 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
1127 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
1128 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
1130 // assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); // cast to protected base
1136 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
1143 assert(dynamic_cast<A4*>(a5.getA3()) == 0);
1151 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
1158 assert(dynamic_cast<A5*>(a5.getA3()) == 0);
1193 A3* getA3() {return this;}
1218 A3* getA3() {return A3::getA3();}
1235 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
1242 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
1249 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
1256 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
1262 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
1263 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
1264 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
1269 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
1270 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
1271 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
1273 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
1279 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
1286 assert(dynamic_cast<A4*>(a5.getA3()) == 0);
1294 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
1301 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());