Lines Matching refs:getA3
41 A3* getA3() {return this;}
53 A3* getA3() {return A3::getA3();}
66 A3* getA3() {return A4::getA3();}
83 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
86 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1());
90 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1());
98 // assert(dynamic_cast<A2*>(a3.getA3()) == 0); // cast to private base
101 // assert(dynamic_cast<A2*>(a4.getA3()) == 0); // cast to private base
105 // assert(dynamic_cast<A2*>(a5.getA3()) == 0); // cast to private base
111 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
113 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
114 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3());
116 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3());
117 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3());
120 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
121 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
128 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
131 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4());
135 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
143 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
146 assert(dynamic_cast<A5*>(a4.getA3()) == 0);
150 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
185 A3* getA3() {return this;}
197 A3* getA3() {return A3::getA3();}
210 A3* getA3() {return A4::getA3();}
227 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
230 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1());
234 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1());
242 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
245 assert(dynamic_cast<A2*>(a4.getA3()) == a4.getA2());
249 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
255 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
256 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
257 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
258 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3());
259 assert(dynamic_cast<A3*>(a4.getA2()) == a4.getA3());
260 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3());
261 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3());
263 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
264 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
265 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
272 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
275 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4());
279 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
287 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
290 assert(dynamic_cast<A5*>(a4.getA3()) == 0);
294 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
329 A3* getA3() {return this;}
354 A3* getA3() {return A3::getA3();}
371 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
378 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
385 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
392 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
398 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
399 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
400 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
404 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
405 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
406 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
407 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
408 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
409 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
415 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
422 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
430 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
437 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
472 A3* getA3() {return this;}
497 A3* getA3() {return A3::getA3();}
514 // assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); // cast to protected base
521 // assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); // cast to protected base
528 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
535 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
542 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
543 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
547 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
549 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
550 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
551 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
552 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
558 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
565 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
573 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
580 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
615 A3* getA3() {return this;}
640 A3* getA3() {return A3::getA3();}
657 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
664 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
671 // assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); // cast to protected base
678 // assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); // cast to protected base
684 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
686 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
690 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
691 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
692 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
693 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
694 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
695 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
701 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
708 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
716 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
723 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
758 A3* getA3() {return this;}
783 A3* getA3() {return A3::getA3();}
800 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
807 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
814 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
821 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
827 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
828 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
829 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
834 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
835 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
836 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
837 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
838 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
844 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
851 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
859 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
866 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
901 A3* getA3() {return this;}
926 A3* getA3() {return A3::getA3();}
943 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
950 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
957 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
964 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
970 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
971 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
972 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
976 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3());
977 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
978 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
979 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
980 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3());
981 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
987 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
994 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4());
1002 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
1009 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());
1044 A3* getA3() {return this;}
1069 A3* getA3() {return A3::getA3();}
1086 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
1093 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
1100 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
1107 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
1113 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
1114 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
1115 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
1120 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
1121 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
1122 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
1124 // assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); // cast to protected base
1130 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
1137 assert(dynamic_cast<A4*>(a5.getA3()) == 0);
1145 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
1152 assert(dynamic_cast<A5*>(a5.getA3()) == 0);
1187 A3* getA3() {return this;}
1212 A3* getA3() {return A3::getA3();}
1229 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1());
1236 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13());
1243 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2());
1250 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2());
1256 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3());
1257 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3());
1258 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3());
1263 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3());
1264 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3());
1265 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3());
1267 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3());
1273 assert(dynamic_cast<A4*>(a3.getA3()) == 0);
1280 assert(dynamic_cast<A4*>(a5.getA3()) == 0);
1288 assert(dynamic_cast<A5*>(a3.getA3()) == 0);
1295 assert(dynamic_cast<A5*>(a5.getA3()) == a5.getA5());