• Home
  • Raw
  • Download

Lines Matching refs:A2

24 struct A2  struct
27 virtual ~A2() {} in ~A2() argument
29 A2* getA2() {return this;} in getA2() argument
34 private A2
40 A2* getA2() {return A2::getA2();} in getA2()
46 public A2
52 A2* getA2() {return A3::getA2();} in getA2()
65 A2* getA2() {return A4::getA2();} in getA2()
74 A2 a2; in test()
94 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
95 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
96 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
97 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
99 assert(dynamic_cast<A2*>(a4.getA1()) == 0); in test()
100 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
103 assert(dynamic_cast<A2*>(a5.getA1()) == 0); in test()
104 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
168 struct A2 struct
171 virtual ~A2() {} in ~A2() argument
173 A2* getA2() {return this;} in getA2() argument
178 public A2
184 A2* getA2() {return A2::getA2();} in getA2()
190 public A2
196 A2* getA2() {return A3::getA2();} in getA2()
209 A2* getA2() {return A4::getA2();} in getA2()
218 A2 a2; in test()
238 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
239 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
240 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
241 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
242 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
243 assert(dynamic_cast<A2*>(a4.getA1()) == 0); in test()
244 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
245 assert(dynamic_cast<A2*>(a4.getA3()) == a4.getA2()); in test()
247 assert(dynamic_cast<A2*>(a5.getA1()) == 0); in test()
248 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
249 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
312 struct A2 struct
315 virtual ~A2() {} in ~A2() argument
317 A2* getA2() {return this;} in getA2() argument
322 public virtual A2
328 A2* getA2() {return A2::getA2();} in getA2()
334 public virtual A2
340 A2* getA2() {return A2::getA2();} in getA2()
353 A2* getA2() {return A4::getA2();} in getA2()
362 A2 a2; in test()
381 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
382 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
383 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
384 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
385 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
386 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
387 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
388 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
389 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
390 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
391 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
392 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
393 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
394 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
455 struct A2 struct
458 virtual ~A2() {} in ~A2() argument
460 A2* getA2() {return this;} in getA2() argument
465 public virtual A2
471 A2* getA2() {return A2::getA2();} in getA2()
477 public virtual A2
483 A2* getA2() {return A2::getA2();} in getA2()
496 A2* getA2() {return A4::getA2();} in getA2()
505 A2 a2; in test()
524 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
525 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
526 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
527 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
528 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
529 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
530 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
531 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
532 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
533 assert(dynamic_cast<A2*>(a5.getA13()) == 0); in test()
534 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
535 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
536 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
537 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
598 struct A2 struct
601 virtual ~A2() {} in ~A2() argument
603 A2* getA2() {return this;} in getA2() argument
608 protected virtual A2
614 A2* getA2() {return A2::getA2();} in getA2()
620 public virtual A2
626 A2* getA2() {return A2::getA2();} in getA2()
639 A2* getA2() {return A4::getA2();} in getA2()
648 A2 a2; in test()
667 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
668 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
669 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
670 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
672 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
673 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
674 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
675 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
676 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
677 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
679 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
680 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
741 struct A2 struct
744 virtual ~A2() {} in ~A2() argument
746 A2* getA2() {return this;} in getA2() argument
751 public virtual A2
757 A2* getA2() {return A2::getA2();} in getA2()
763 public virtual A2
769 A2* getA2() {return A2::getA2();} in getA2()
782 A2* getA2() {return A4::getA2();} in getA2()
791 A2 a2; in test()
810 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
811 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
812 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
813 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
814 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
815 assert(dynamic_cast<A2*>(a4.getA1()) == 0); in test()
816 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
817 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
818 assert(dynamic_cast<A2*>(a5.getA14()) == 0); in test()
819 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
820 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
821 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
822 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
823 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
884 struct A2 struct
887 virtual ~A2() {} in ~A2() argument
889 A2* getA2() {return this;} in getA2() argument
894 public virtual A2
900 A2* getA2() {return A2::getA2();} in getA2()
906 protected virtual A2
912 A2* getA2() {return A2::getA2();} in getA2()
925 A2* getA2() {return A4::getA2();} in getA2()
934 A2 a2; in test()
953 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
954 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
955 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
956 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
957 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
958 assert(dynamic_cast<A2*>(a4.getA1()) == 0); in test()
959 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
961 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
962 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
963 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
964 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
966 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
1027 struct A2 struct
1030 virtual ~A2() {} in ~A2() argument
1032 A2* getA2() {return this;} in getA2() argument
1037 public virtual A2
1043 A2* getA2() {return A2::getA2();} in getA2()
1049 public virtual A2
1055 A2* getA2() {return A2::getA2();} in getA2()
1068 A2* getA2() {return A4::getA2();} in getA2()
1077 A2 a2; in test()
1096 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
1097 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1098 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1099 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1100 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1101 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
1102 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
1103 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
1104 assert(dynamic_cast<A2*>(a5.getA14()) == a5.getA2()); in test()
1105 assert(dynamic_cast<A2*>(a5.getA13()) == 0); in test()
1106 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
1107 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
1108 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
1109 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()
1170 struct A2 struct
1173 virtual ~A2() {} in ~A2() argument
1175 A2* getA2() {return this;} in getA2() argument
1180 public virtual A2
1186 A2* getA2() {return A2::getA2();} in getA2()
1192 public virtual A2
1198 A2* getA2() {return A2::getA2();} in getA2()
1211 A2* getA2() {return A4::getA2();} in getA2()
1220 A2 a2; in test()
1239 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
1240 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1241 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1242 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1243 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1244 assert(dynamic_cast<A2*>(a4.getA1()) == a4.getA2()); in test()
1245 assert(dynamic_cast<A2*>(a4.getA2()) == a4.getA2()); in test()
1246 assert(dynamic_cast<A2*>(a4.getA4()) == a4.getA2()); in test()
1247 assert(dynamic_cast<A2*>(a5.getA14()) == 0); in test()
1248 assert(dynamic_cast<A2*>(a5.getA13()) == a5.getA2()); in test()
1249 assert(dynamic_cast<A2*>(a5.getA2()) == a5.getA2()); in test()
1250 assert(dynamic_cast<A2*>(a5.getA3()) == a5.getA2()); in test()
1251 assert(dynamic_cast<A2*>(a5.getA4()) == a5.getA2()); in test()
1252 assert(dynamic_cast<A2*>(a5.getA5()) == a5.getA2()); in test()