Lines Matching refs:A3

31 struct A3  struct
36 virtual ~A3() {} in ~A3() argument
40 A3* getA3() {return this;} in getA3() argument
44 : public A3,
50 t1::A1* getA1() {return A3::getA1();} in getA1()
51 A2* getA2() {return A3::getA2();} in getA2()
52 A3* getA3() {return A3::getA3();} in getA3()
58 public A3
65 A3* getA3() {return A4::getA3();} in getA3()
74 A3 a3; in test()
108 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
109 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
110 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
111 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
112 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
113 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3()); in test()
114 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
115 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3()); in test()
116 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3()); in test()
117 assert(dynamic_cast<A3*>(a5.getA1()) == 0); in test()
118 assert(dynamic_cast<A3*>(a5.getA2()) == 0); in test()
119 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
120 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
175 struct A3 struct
180 virtual ~A3() {} in ~A3() argument
184 A3* getA3() {return this;} in getA3() argument
188 : public A3,
194 t2::A1* getA1() {return A3::getA1();} in getA1()
195 A2* getA2() {return A3::getA2();} in getA2()
196 A3* getA3() {return A3::getA3();} in getA3()
202 public A3
209 A3* getA3() {return A4::getA3();} in getA3()
218 A3 a3; in test()
252 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
253 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
254 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
255 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
256 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
257 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3()); in test()
258 assert(dynamic_cast<A3*>(a4.getA2()) == a4.getA3()); in test()
259 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3()); in test()
260 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3()); in test()
261 assert(dynamic_cast<A3*>(a5.getA1()) == 0); in test()
262 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
263 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
264 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
319 struct A3 struct
324 virtual ~A3() {} in ~A3() argument
328 A3* getA3() {return this;} in getA3() argument
344 : public A3,
351 A1* getA13() {return A3::getA1();} in getA13()
353 A3* getA3() {return A3::getA3();} in getA3()
362 A3 a3; in test()
395 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
396 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
397 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
398 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
399 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
400 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
401 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
402 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
403 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
404 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
405 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
406 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
407 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
408 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
462 struct A3 struct
467 virtual ~A3() {} in ~A3() argument
471 A3* getA3() {return this;} in getA3() argument
487 : public A3,
494 A1* getA13() {return A3::getA1();} in getA13()
496 A3* getA3() {return A3::getA3();} in getA3()
505 A3 a3; in test()
538 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
539 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
540 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
541 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
542 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
543 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
544 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
545 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
546 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
547 assert(dynamic_cast<A3*>(a5.getA13()) == 0); in test()
548 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
549 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
550 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
551 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
605 struct A3 struct
610 virtual ~A3() {} in ~A3() argument
614 A3* getA3() {return this;} in getA3() argument
630 : public A3,
637 A1* getA13() {return A3::getA1();} in getA13()
639 A3* getA3() {return A3::getA3();} in getA3()
648 A3 a3; in test()
681 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
682 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
683 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
684 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
685 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
686 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
687 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
688 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
689 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
690 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
691 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
692 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
693 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
694 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
748 struct A3 struct
753 virtual ~A3() {} in ~A3() argument
757 A3* getA3() {return this;} in getA3() argument
773 : public A3,
780 A1* getA13() {return A3::getA1();} in getA13()
782 A3* getA3() {return A3::getA3();} in getA3()
791 A3 a3; in test()
824 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
825 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
826 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
827 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
828 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
829 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
830 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
831 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
832 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
833 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
834 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
835 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
836 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
837 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
891 struct A3 struct
896 virtual ~A3() {} in ~A3() argument
900 A3* getA3() {return this;} in getA3() argument
916 : public A3,
923 A1* getA13() {return A3::getA1();} in getA13()
925 A3* getA3() {return A3::getA3();} in getA3()
934 A3 a3; in test()
967 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
968 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
969 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
970 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
971 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
972 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
973 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
974 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
975 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
976 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
977 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
978 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
979 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
980 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
1034 struct A3 struct
1039 virtual ~A3() {} in ~A3() argument
1043 A3* getA3() {return this;} in getA3() argument
1059 : protected A3,
1066 A1* getA13() {return A3::getA1();} in getA13()
1068 A3* getA3() {return A3::getA3();} in getA3()
1077 A3 a3; in test()
1110 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
1111 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1112 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1113 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1114 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1115 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
1116 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1117 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
1118 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
1119 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
1120 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1121 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
1122 assert(dynamic_cast<A3*>(a5.getA4()) == 0); in test()
1177 struct A3 struct
1182 virtual ~A3() {} in ~A3() argument
1186 A3* getA3() {return this;} in getA3() argument
1202 : public A3,
1209 A1* getA13() {return A3::getA1();} in getA13()
1211 A3* getA3() {return A3::getA3();} in getA3()
1220 A3 a3; in test()
1253 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
1254 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1255 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1256 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1257 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1258 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
1259 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1260 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
1261 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
1262 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
1263 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1264 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
1265 assert(dynamic_cast<A3*>(a5.getA4()) == 0); in test()
1266 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()