Lines Matching refs:A1
15 struct A1 struct
18 virtual ~A1() {} in ~A1() argument
20 A1* getA1() {return this;} in getA1() argument
32 : public virtual A1,
38 A1* getA1() {return A1::getA1();} in getA1()
50 t1::A1* getA1() {return A3::getA1();} in getA1()
63 t1::A1* getA1() {return A4::getA1();} in getA1()
72 A1 a1; in test()
78 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
79 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
80 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
81 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
82 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
83 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
84 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
85 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1()); in test()
86 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
87 assert(dynamic_cast<A1*>(a5.getA1()) == a5.getA1()); in test()
88 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
89 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1()); in test()
90 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA1()); in test()
91 assert(dynamic_cast<A1*>(a5.getA5()) == a5.getA1()); in test()
159 struct A1 struct
162 virtual ~A1() {} in ~A1() argument
164 A1* getA1() {return this;} in getA1() argument
176 : public virtual A1,
182 A1* getA1() {return A1::getA1();} in getA1()
194 t2::A1* getA1() {return A3::getA1();} in getA1()
207 t2::A1* getA1() {return A4::getA1();} in getA1()
216 A1 a1; in test()
222 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
223 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
224 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
225 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
226 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
227 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
228 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
229 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1()); in test()
230 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
231 assert(dynamic_cast<A1*>(a5.getA1()) == a5.getA1()); in test()
232 assert(dynamic_cast<A1*>(a5.getA2()) == a5.getA1()); in test()
233 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1()); in test()
234 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA1()); in test()
235 assert(dynamic_cast<A1*>(a5.getA5()) == a5.getA1()); in test()
303 struct A1 struct
306 virtual ~A1() {} in ~A1() argument
308 A1* getA1() {return this;} in getA1() argument
320 : public A1,
326 A1* getA1() {return A1::getA1();} in getA1()
332 : public A1,
338 A1* getA1() {return A1::getA1();} in getA1()
350 A1* getA14() {return A4::getA1();} in getA14()
351 A1* getA13() {return A3::getA1();} in getA13()
360 A1 a1; in test()
366 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
367 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
368 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
369 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
370 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
371 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
372 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
373 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
374 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
375 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
376 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
377 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
378 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
446 struct A1 struct
449 virtual ~A1() {} in ~A1() argument
451 A1* getA1() {return this;} in getA1() argument
463 : protected A1,
469 A1* getA1() {return A1::getA1();} in getA1()
475 : public A1,
481 A1* getA1() {return A1::getA1();} in getA1()
493 A1* getA14() {return A4::getA1();} in getA14()
494 A1* getA13() {return A3::getA1();} in getA13()
503 A1 a1; in test()
509 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
510 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
511 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
512 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
514 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
515 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
516 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
517 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
518 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
519 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
521 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
589 struct A1 struct
592 virtual ~A1() {} in ~A1() argument
594 A1* getA1() {return this;} in getA1() argument
606 : public A1,
612 A1* getA1() {return A1::getA1();} in getA1()
618 : public A1,
624 A1* getA1() {return A1::getA1();} in getA1()
636 A1* getA14() {return A4::getA1();} in getA14()
637 A1* getA13() {return A3::getA1();} in getA13()
646 A1 a1; in test()
652 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
653 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
654 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
655 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
656 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
657 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
658 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
659 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
660 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
661 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
662 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
663 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
664 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
732 struct A1 struct
735 virtual ~A1() {} in ~A1() argument
737 A1* getA1() {return this;} in getA1() argument
749 : public A1,
755 A1* getA1() {return A1::getA1();} in getA1()
761 : protected A1,
767 A1* getA1() {return A1::getA1();} in getA1()
779 A1* getA14() {return A4::getA1();} in getA14()
780 A1* getA13() {return A3::getA1();} in getA13()
789 A1 a1; in test()
795 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
796 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
797 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
798 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
799 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
800 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
801 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
803 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
804 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
805 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
806 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
875 struct A1 struct
878 virtual ~A1() {} in ~A1() argument
880 A1* getA1() {return this;} in getA1() argument
892 : public A1,
898 A1* getA1() {return A1::getA1();} in getA1()
904 : public A1,
910 A1* getA1() {return A1::getA1();} in getA1()
922 A1* getA14() {return A4::getA1();} in getA14()
923 A1* getA13() {return A3::getA1();} in getA13()
932 A1 a1; in test()
938 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
939 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
940 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
941 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
942 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
943 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
944 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
945 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
946 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
947 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
948 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
949 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
950 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
1018 struct A1 struct
1021 virtual ~A1() {} in ~A1() argument
1023 A1* getA1() {return this;} in getA1() argument
1035 : public A1,
1041 A1* getA1() {return A1::getA1();} in getA1()
1047 : public A1,
1053 A1* getA1() {return A1::getA1();} in getA1()
1065 A1* getA14() {return A4::getA1();} in getA14()
1066 A1* getA13() {return A3::getA1();} in getA13()
1075 A1 a1; in test()
1081 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1082 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1083 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1084 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1085 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1086 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
1087 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1088 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
1089 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
1090 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
1091 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1092 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
1093 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
1161 struct A1 struct
1164 virtual ~A1() {} in ~A1() argument
1166 A1* getA1() {return this;} in getA1() argument
1178 : public A1,
1184 A1* getA1() {return A1::getA1();} in getA1()
1190 : public A1,
1196 A1* getA1() {return A1::getA1();} in getA1()
1208 A1* getA14() {return A4::getA1();} in getA14()
1209 A1* getA13() {return A3::getA1();} in getA13()
1218 A1 a1; in test()
1224 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1225 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1226 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1227 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1228 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1229 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
1230 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1231 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
1232 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
1233 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
1234 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1235 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
1236 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()