• Home
  • Raw
  • Download

Lines Matching refs:A3

38 struct A3  struct
43 virtual ~A3() {} in ~A3() argument
47 A3* getA3() {return this;} in getA3() argument
51 : public A3,
57 t1::A1* getA1() {return A3::getA1();} in getA1()
58 A2* getA2() {return A3::getA2();} in getA2()
59 A3* getA3() {return A3::getA3();} in getA3()
65 public A3
72 A3* getA3() {return A4::getA3();} in getA3()
81 A3 a3; in test()
115 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
116 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
117 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
118 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
119 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
120 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3()); in test()
121 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
122 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3()); in test()
123 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3()); in test()
124 assert(dynamic_cast<A3*>(a5.getA1()) == 0); in test()
125 assert(dynamic_cast<A3*>(a5.getA2()) == 0); in test()
126 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
127 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
182 struct A3 struct
187 virtual ~A3() {} in ~A3() argument
191 A3* getA3() {return this;} in getA3() argument
195 : public A3,
201 t2::A1* getA1() {return A3::getA1();} in getA1()
202 A2* getA2() {return A3::getA2();} in getA2()
203 A3* getA3() {return A3::getA3();} in getA3()
209 public A3
216 A3* getA3() {return A4::getA3();} in getA3()
225 A3 a3; in test()
259 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
260 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
261 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
262 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
263 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
264 assert(dynamic_cast<A3*>(a4.getA1()) == a4.getA3()); in test()
265 assert(dynamic_cast<A3*>(a4.getA2()) == a4.getA3()); in test()
266 assert(dynamic_cast<A3*>(a4.getA3()) == a4.getA3()); in test()
267 assert(dynamic_cast<A3*>(a4.getA4()) == a4.getA3()); in test()
268 assert(dynamic_cast<A3*>(a5.getA1()) == 0); in test()
269 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
270 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
271 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
326 struct A3 struct
331 virtual ~A3() {} in ~A3() argument
335 A3* getA3() {return this;} in getA3() argument
351 : public A3,
358 A1* getA13() {return A3::getA1();} in getA13()
360 A3* getA3() {return A3::getA3();} in getA3()
369 A3 a3; in test()
402 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
403 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
404 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
405 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
406 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
407 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
408 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
409 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
410 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
411 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
412 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
413 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
414 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
415 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
469 struct A3 struct
474 virtual ~A3() {} in ~A3() argument
478 A3* getA3() {return this;} in getA3() argument
494 : public A3,
501 A1* getA13() {return A3::getA1();} in getA13()
503 A3* getA3() {return A3::getA3();} in getA3()
512 A3 a3; in test()
545 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
546 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
547 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
548 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
549 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
550 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
551 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
552 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
553 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
554 assert(dynamic_cast<A3*>(a5.getA13()) == 0); in test()
555 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
556 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
557 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
558 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
612 struct A3 struct
617 virtual ~A3() {} in ~A3() argument
621 A3* getA3() {return this;} in getA3() argument
637 : public A3,
644 A1* getA13() {return A3::getA1();} in getA13()
646 A3* getA3() {return A3::getA3();} in getA3()
655 A3 a3; in test()
688 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
689 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
690 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
691 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
692 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
693 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
694 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
695 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
696 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
697 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
698 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
699 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
700 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
701 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
755 struct A3 struct
760 virtual ~A3() {} in ~A3() argument
764 A3* getA3() {return this;} in getA3() argument
780 : public A3,
787 A1* getA13() {return A3::getA1();} in getA13()
789 A3* getA3() {return A3::getA3();} in getA3()
798 A3 a3; in test()
831 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
832 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
833 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
834 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
835 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
836 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
837 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
838 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
839 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
840 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
841 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
842 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
843 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
844 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
898 struct A3 struct
903 virtual ~A3() {} in ~A3() argument
907 A3* getA3() {return this;} in getA3() argument
923 : public A3,
930 A1* getA13() {return A3::getA1();} in getA13()
932 A3* getA3() {return A3::getA3();} in getA3()
941 A3 a3; in test()
974 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
975 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
976 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
977 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
978 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
979 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
980 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
981 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
982 assert(dynamic_cast<A3*>(a5.getA14()) == a5.getA3()); in test()
983 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
984 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
985 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
986 assert(dynamic_cast<A3*>(a5.getA4()) == a5.getA3()); in test()
987 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()
1041 struct A3 struct
1046 virtual ~A3() {} in ~A3() argument
1050 A3* getA3() {return this;} in getA3() argument
1066 : protected A3,
1073 A1* getA13() {return A3::getA1();} in getA13()
1075 A3* getA3() {return A3::getA3();} in getA3()
1084 A3 a3; in test()
1117 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
1118 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1119 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1120 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1121 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1122 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
1123 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1124 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
1125 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
1126 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
1127 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1128 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
1129 assert(dynamic_cast<A3*>(a5.getA4()) == 0); in test()
1184 struct A3 struct
1189 virtual ~A3() {} in ~A3() argument
1193 A3* getA3() {return this;} in getA3() argument
1209 : public A3,
1216 A1* getA13() {return A3::getA1();} in getA13()
1218 A3* getA3() {return A3::getA3();} in getA3()
1227 A3 a3; in test()
1260 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test()
1261 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1262 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1263 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1264 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1265 assert(dynamic_cast<A3*>(a4.getA1()) == 0); in test()
1266 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test()
1267 assert(dynamic_cast<A3*>(a4.getA4()) == 0); in test()
1268 assert(dynamic_cast<A3*>(a5.getA14()) == 0); in test()
1269 assert(dynamic_cast<A3*>(a5.getA13()) == a5.getA3()); in test()
1270 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test()
1271 assert(dynamic_cast<A3*>(a5.getA3()) == a5.getA3()); in test()
1272 assert(dynamic_cast<A3*>(a5.getA4()) == 0); in test()
1273 assert(dynamic_cast<A3*>(a5.getA5()) == a5.getA3()); in test()