Lines Matching refs:A4
43 struct A4 struct
48 virtual ~A4() {} in ~A4() argument
53 A4* getA4() {return this;} in getA4() argument
57 : public A4,
63 t1::A1* getA1() {return A4::getA1();} in getA1()
64 A2* getA2() {return A4::getA2();} in getA2()
65 A3* getA3() {return A4::getA3();} in getA3()
66 A4* getA4() {return A4::getA4();} in getA4()
75 A4 a4; in test()
123 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
124 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
125 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
126 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
127 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
128 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
129 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
130 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4()); in test()
131 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
132 assert(dynamic_cast<A4*>(a5.getA1()) == a5.getA4()); in test()
133 assert(dynamic_cast<A4*>(a5.getA2()) == 0); in test()
134 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
135 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
136 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
187 struct A4 struct
192 virtual ~A4() {} in ~A4() argument
197 A4* getA4() {return this;} in getA4() argument
201 : public A4,
207 t2::A1* getA1() {return A4::getA1();} in getA1()
208 A2* getA2() {return A4::getA2();} in getA2()
209 A3* getA3() {return A4::getA3();} in getA3()
210 A4* getA4() {return A4::getA4();} in getA4()
219 A4 a4; in test()
267 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
268 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
269 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
270 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
271 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
272 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
273 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
274 assert(dynamic_cast<A4*>(a4.getA3()) == a4.getA4()); in test()
275 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
276 assert(dynamic_cast<A4*>(a5.getA1()) == a5.getA4()); in test()
277 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
278 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
279 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
280 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
331 struct A4 struct
336 virtual ~A4() {} in ~A4() argument
340 A4* getA4() {return this;} in getA4() argument
345 public A4
350 A1* getA14() {return A4::getA1();} in getA14()
352 A2* getA2() {return A4::getA2();} in getA2()
354 A4* getA4() {return A4::getA4();} in getA4()
363 A4 a4; in test()
410 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
411 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
412 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
413 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
414 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
415 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
416 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
417 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
418 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
419 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
420 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
421 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
422 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
423 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
474 struct A4 struct
479 virtual ~A4() {} in ~A4() argument
483 A4* getA4() {return this;} in getA4() argument
488 public A4
493 A1* getA14() {return A4::getA1();} in getA14()
495 A2* getA2() {return A4::getA2();} in getA2()
497 A4* getA4() {return A4::getA4();} in getA4()
506 A4 a4; in test()
553 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
554 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
555 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
556 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
557 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
558 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
559 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
560 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
561 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
562 assert(dynamic_cast<A4*>(a5.getA13()) == 0); in test()
563 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
564 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
565 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
566 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
617 struct A4 struct
622 virtual ~A4() {} in ~A4() argument
626 A4* getA4() {return this;} in getA4() argument
631 public A4
636 A1* getA14() {return A4::getA1();} in getA14()
638 A2* getA2() {return A4::getA2();} in getA2()
640 A4* getA4() {return A4::getA4();} in getA4()
649 A4 a4; in test()
696 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
697 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
698 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
699 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
700 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
701 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
702 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
703 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
704 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
705 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
706 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
707 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
708 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
709 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
760 struct A4 struct
765 virtual ~A4() {} in ~A4() argument
769 A4* getA4() {return this;} in getA4() argument
774 public A4
779 A1* getA14() {return A4::getA1();} in getA14()
781 A2* getA2() {return A4::getA2();} in getA2()
783 A4* getA4() {return A4::getA4();} in getA4()
792 A4 a4; in test()
839 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
840 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
841 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
842 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
843 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
844 assert(dynamic_cast<A4*>(a4.getA1()) == 0); in test()
845 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
846 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
847 assert(dynamic_cast<A4*>(a5.getA14()) == 0); in test()
848 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
849 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
850 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
851 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
852 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
903 struct A4 struct
908 virtual ~A4() {} in ~A4() argument
912 A4* getA4() {return this;} in getA4() argument
917 public A4
922 A1* getA14() {return A4::getA1();} in getA14()
924 A2* getA2() {return A4::getA2();} in getA2()
926 A4* getA4() {return A4::getA4();} in getA4()
935 A4 a4; in test()
982 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
983 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
984 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
985 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
986 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
987 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
988 assert(dynamic_cast<A4*>(a4.getA2()) == 0); in test()
989 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
990 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
991 assert(dynamic_cast<A4*>(a5.getA13()) == a5.getA4()); in test()
992 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
993 assert(dynamic_cast<A4*>(a5.getA3()) == a5.getA4()); in test()
994 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
995 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
1046 struct A4 struct
1051 virtual ~A4() {} in ~A4() argument
1055 A4* getA4() {return this;} in getA4() argument
1060 public A4
1065 A1* getA14() {return A4::getA1();} in getA14()
1067 A2* getA2() {return A4::getA2();} in getA2()
1069 A4* getA4() {return A4::getA4();} in getA4()
1078 A4 a4; in test()
1125 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
1126 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1127 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
1128 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1129 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
1130 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
1131 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1132 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
1133 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
1134 assert(dynamic_cast<A4*>(a5.getA13()) == 0); in test()
1135 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1136 assert(dynamic_cast<A4*>(a5.getA3()) == 0); in test()
1137 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()
1138 assert(dynamic_cast<A4*>(a5.getA5()) == a5.getA4()); in test()
1189 struct A4 struct
1194 virtual ~A4() {} in ~A4() argument
1198 A4* getA4() {return this;} in getA4() argument
1203 protected A4
1208 A1* getA14() {return A4::getA1();} in getA14()
1210 A2* getA2() {return A4::getA2();} in getA2()
1212 A4* getA4() {return A4::getA4();} in getA4()
1221 A4 a4; in test()
1268 assert(dynamic_cast<A4*>(a1.getA1()) == 0); in test()
1269 assert(dynamic_cast<A4*>(a2.getA2()) == 0); in test()
1270 assert(dynamic_cast<A4*>(a3.getA1()) == 0); in test()
1271 assert(dynamic_cast<A4*>(a3.getA2()) == 0); in test()
1272 assert(dynamic_cast<A4*>(a3.getA3()) == 0); in test()
1273 assert(dynamic_cast<A4*>(a4.getA1()) == a4.getA4()); in test()
1274 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test()
1275 assert(dynamic_cast<A4*>(a4.getA4()) == a4.getA4()); in test()
1276 assert(dynamic_cast<A4*>(a5.getA14()) == a5.getA4()); in test()
1277 assert(dynamic_cast<A4*>(a5.getA13()) == 0); in test()
1278 assert(dynamic_cast<A4*>(a5.getA2()) == a5.getA4()); in test()
1279 assert(dynamic_cast<A4*>(a5.getA3()) == 0); in test()
1280 assert(dynamic_cast<A4*>(a5.getA4()) == a5.getA4()); in test()