Lines Matching refs:A3
32 struct A3 struct
37 virtual ~A3() {} in ~A3() argument
41 A3* getA3() {return this;} in getA3() argument
45 : public A3,
51 t1::A1* getA1() {return A3::getA1();} in getA1()
52 A2* getA2() {return A3::getA2();} in getA2()
53 A3* getA3() {return A3::getA3();} in getA3()
59 public A3
66 A3* getA3() {return A4::getA3();} in getA3()
75 A3 a3; in test()
109 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
110 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
111 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
112 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
113 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
114 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3()); in test()
115 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
116 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3()); in test()
117 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3()); in test()
118 assert(dynamic_cast<A3*>(a5.getA1()) == 0); in test()
119 assert(dynamic_cast<A3*>(a5.getA2()) == 0); in test()
120 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
121 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
176 struct A3 struct
181 virtual ~A3() {} in ~A3() argument
185 A3* getA3() {return this;} in getA3() argument
189 : public A3,
195 t2::A1* getA1() {return A3::getA1();} in getA1()
196 A2* getA2() {return A3::getA2();} in getA2()
197 A3* getA3() {return A3::getA3();} in getA3()
203 public A3
210 A3* getA3() {return A4::getA3();} in getA3()
219 A3 a3; in test()
253 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
254 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
255 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
256 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
257 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
258 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3()); in test()
259 assert(dynamic_cast<A3*>(a4.getA2()) == a4.getA3()); in test()
260 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3()); in test()
261 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3()); in test()
262 assert(dynamic_cast<A3*>(a5.getA1()) == 0); in test()
263 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
264 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
265 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
320 struct A3 struct
325 virtual ~A3() {} in ~A3() argument
329 A3* getA3() {return this;} in getA3() argument
345 : public A3,
352 A1* getA13() {return A3::getA1();} in getA13()
354 A3* getA3() {return A3::getA3();} in getA3()
363 A3 a3; in test()
396 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
397 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
398 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
399 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
400 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
401 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
402 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
403 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
404 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
405 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
406 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
407 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
408 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
409 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
463 struct A3 struct
468 virtual ~A3() {} in ~A3() argument
472 A3* getA3() {return this;} in getA3() argument
488 : public A3,
495 A1* getA13() {return A3::getA1();} in getA13()
497 A3* getA3() {return A3::getA3();} in getA3()
506 A3 a3; in test()
539 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
540 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
541 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
542 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
543 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
544 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
545 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
546 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
547 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
548 assert(dynamic_cast<A3*>(a5.getA13()) == 0); in test()
549 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
550 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
551 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
552 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
606 struct A3 struct
611 virtual ~A3() {} in ~A3() argument
615 A3* getA3() {return this;} in getA3() argument
631 : public A3,
638 A1* getA13() {return A3::getA1();} in getA13()
640 A3* getA3() {return A3::getA3();} in getA3()
649 A3 a3; in test()
682 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
683 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
684 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
685 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
686 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
687 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
688 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
689 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
690 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
691 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
692 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
693 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
694 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
695 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
749 struct A3 struct
754 virtual ~A3() {} in ~A3() argument
758 A3* getA3() {return this;} in getA3() argument
774 : public A3,
781 A1* getA13() {return A3::getA1();} in getA13()
783 A3* getA3() {return A3::getA3();} in getA3()
792 A3 a3; in test()
825 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
826 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
827 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
828 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
829 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
830 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
831 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
832 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
833 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
834 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
835 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
836 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
837 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
838 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
892 struct A3 struct
897 virtual ~A3() {} in ~A3() argument
901 A3* getA3() {return this;} in getA3() argument
917 : public A3,
924 A1* getA13() {return A3::getA1();} in getA13()
926 A3* getA3() {return A3::getA3();} in getA3()
935 A3 a3; in test()
968 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
969 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
970 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
971 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
972 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
973 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
974 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
975 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
976 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
977 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
978 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
979 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
980 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
981 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
1035 struct A3 struct
1040 virtual ~A3() {} in ~A3() argument
1044 A3* getA3() {return this;} in getA3() argument
1060 : protected A3,
1067 A1* getA13() {return A3::getA1();} in getA13()
1069 A3* getA3() {return A3::getA3();} in getA3()
1078 A3 a3; in test()
1111 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
1112 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1113 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1114 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1115 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1116 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
1117 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1118 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
1119 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
1120 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
1121 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1122 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
1123 assert(dynamic_cast<A3*>(a5.getA4()) == 0); in test()
1178 struct A3 struct
1183 virtual ~A3() {} in ~A3() argument
1187 A3* getA3() {return this;} in getA3() argument
1203 : public A3,
1210 A1* getA13() {return A3::getA1();} in getA13()
1212 A3* getA3() {return A3::getA3();} in getA3()
1221 A3 a3; in test()
1254 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
1255 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1256 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1257 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1258 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1259 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
1260 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1261 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
1262 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
1263 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
1264 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1265 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
1266 assert(dynamic_cast<A3*>(a5.getA4()) == 0); in test()
1267 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()