Searched refs:getA2 (Results 1 – 6 of 6) sorted by relevance
34 A2* getA2() {return this;} in getA2() function51 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()54 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()57 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()87 A2* getA2() {return this;} in getA2() function105 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()110 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()115 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()138 A2* getA2() {return this;} in getA2() function156 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()[all …]
28 A2* getA2() {return this;} in getA2() function39 A2* getA2() {return A2::getA2();} in getA2() function51 A2* getA2() {return A3::getA2();} in getA2() function64 A2* getA2() {return A4::getA2();} in getA2() function79 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()81 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()84 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()88 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()94 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()96 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()[all …]
28 A2* getA2() {return this;} in getA2() function39 A2* getA2() {return A2::getA2();} in getA2() function51 A2* getA2() {return A2::getA2();} in getA2() function64 A2* getA2() {return A3::getA2();} in getA2() function90 A2* getA2() {return A5::getA2();} in getA2() function107 A2* getA2() {return A7::getA2();} in getA2() function135 A2* getA2() {return A8::getA2();} in getA2() function156 A2* getA2() {return A8::getA2();} in getA2() function178 A2* getA2() {return A10::getA2();} in getA2() function201 A2* getA2() {return A12::getA2();} in getA2() function[all …]