Lines Matching refs:A4
44 struct A4 struct
49 virtual ~A4() {} in ~A4() argument
54 A4* getA4() {return this;} in getA4() argument
58 : public A4,
64 t1::A1* getA1() {return A4::getA1();} in getA1()
65 A2* getA2() {return A4::getA2();} in getA2()
66 A3* getA3() {return A4::getA3();} in getA3()
67 A4* getA4() {return A4::getA4();} in getA4()
76 A4 a4; in test()
124 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
125 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
126 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
127 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
128 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
129 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
130 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
131 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4()); in test()
132 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
133 assert(dynamic_cast<A4*>(a5.getA1()) == a5.getA4()); in test()
134 assert(dynamic_cast<A4*>(a5.getA2()) == 0); in test()
135 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
136 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
137 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
188 struct A4 struct
193 virtual ~A4() {} in ~A4() argument
198 A4* getA4() {return this;} in getA4() argument
202 : public A4,
208 t2::A1* getA1() {return A4::getA1();} in getA1()
209 A2* getA2() {return A4::getA2();} in getA2()
210 A3* getA3() {return A4::getA3();} in getA3()
211 A4* getA4() {return A4::getA4();} in getA4()
220 A4 a4; in test()
268 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
269 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
270 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
271 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
272 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
273 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
274 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
275 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4()); in test()
276 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
277 assert(dynamic_cast<A4*>(a5.getA1()) == a5.getA4()); in test()
278 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
279 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
280 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
281 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
332 struct A4 struct
337 virtual ~A4() {} in ~A4() argument
341 A4* getA4() {return this;} in getA4() argument
346 public A4
351 A1* getA14() {return A4::getA1();} in getA14()
353 A2* getA2() {return A4::getA2();} in getA2()
355 A4* getA4() {return A4::getA4();} in getA4()
364 A4 a4; in test()
411 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
412 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
413 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
414 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
415 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
416 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
417 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
418 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
419 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
420 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
421 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
422 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
423 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
424 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
475 struct A4 struct
480 virtual ~A4() {} in ~A4() argument
484 A4* getA4() {return this;} in getA4() argument
489 public A4
494 A1* getA14() {return A4::getA1();} in getA14()
496 A2* getA2() {return A4::getA2();} in getA2()
498 A4* getA4() {return A4::getA4();} in getA4()
507 A4 a4; in test()
554 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
555 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
556 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
557 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
558 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
559 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
560 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
561 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
562 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
563 assert(dynamic_cast<A4*>(a5.getA13()) == 0); in test()
564 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
565 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
566 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
567 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
618 struct A4 struct
623 virtual ~A4() {} in ~A4() argument
627 A4* getA4() {return this;} in getA4() argument
632 public A4
637 A1* getA14() {return A4::getA1();} in getA14()
639 A2* getA2() {return A4::getA2();} in getA2()
641 A4* getA4() {return A4::getA4();} in getA4()
650 A4 a4; in test()
697 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
698 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
699 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
700 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
701 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
702 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
703 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
704 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
705 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
706 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
707 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
708 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
709 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
710 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
761 struct A4 struct
766 virtual ~A4() {} in ~A4() argument
770 A4* getA4() {return this;} in getA4() argument
775 public A4
780 A1* getA14() {return A4::getA1();} in getA14()
782 A2* getA2() {return A4::getA2();} in getA2()
784 A4* getA4() {return A4::getA4();} in getA4()
793 A4 a4; in test()
840 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
841 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
842 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
843 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
844 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
845 assert(dynamic_cast<A4*>(a4.getA1()) == 0); in test()
846 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
847 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
848 assert(dynamic_cast<A4*>(a5.getA14()) == 0); in test()
849 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
850 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
851 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
852 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
853 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
904 struct A4 struct
909 virtual ~A4() {} in ~A4() argument
913 A4* getA4() {return this;} in getA4() argument
918 public A4
923 A1* getA14() {return A4::getA1();} in getA14()
925 A2* getA2() {return A4::getA2();} in getA2()
927 A4* getA4() {return A4::getA4();} in getA4()
936 A4 a4; in test()
983 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
984 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
985 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
986 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
987 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
988 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
989 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
990 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
991 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
992 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
993 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
994 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
995 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
996 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
1047 struct A4 struct
1052 virtual ~A4() {} in ~A4() argument
1056 A4* getA4() {return this;} in getA4() argument
1061 public A4
1066 A1* getA14() {return A4::getA1();} in getA14()
1068 A2* getA2() {return A4::getA2();} in getA2()
1070 A4* getA4() {return A4::getA4();} in getA4()
1079 A4 a4; in test()
1126 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
1127 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1128 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
1129 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1130 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
1131 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
1132 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1133 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
1134 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
1135 assert(dynamic_cast<A4*>(a5.getA13()) == 0); in test()
1136 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1137 assert(dynamic_cast<A4*>(a5.getA3()) == 0); in test()
1138 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
1139 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
1190 struct A4 struct
1195 virtual ~A4() {} in ~A4() argument
1199 A4* getA4() {return this;} in getA4() argument
1204 protected A4
1209 A1* getA14() {return A4::getA1();} in getA14()
1211 A2* getA2() {return A4::getA2();} in getA2()
1213 A4* getA4() {return A4::getA4();} in getA4()
1222 A4 a4; in test()
1269 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
1270 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1271 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
1272 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1273 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
1274 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
1275 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1276 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
1277 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
1278 assert(dynamic_cast<A4*>(a5.getA13()) == 0); in test()
1279 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1280 assert(dynamic_cast<A4*>(a5.getA3()) == 0); in test()
1281 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()