Lines Matching refs:Example2
15 namespace Example2 {
48 namespace Example2 {
68 namespace Example2 {
178 template<> struct AnyTraits<MyGame::Example2::Monster> {
229 MyGame::Example2::MonsterT *AsMyGame_Example2_Monster() {
231 reinterpret_cast<MyGame::Example2::MonsterT *>(value) : nullptr;
233 const MyGame::Example2::MonsterT *AsMyGame_Example2_Monster() const {
235 reinterpret_cast<const MyGame::Example2::MonsterT *>(value) : nullptr;
255 return *(reinterpret_cast<const MyGame::Example2::MonsterT *>(lhs.value)) ==
256 *(reinterpret_cast<const MyGame::Example2::MonsterT *>(rhs.value));
314 template<> struct AnyUniqueAliasesTraits<MyGame::Example2::Monster> {
365 MyGame::Example2::MonsterT *AsM2() {
367 reinterpret_cast<MyGame::Example2::MonsterT *>(value) : nullptr;
369 const MyGame::Example2::MonsterT *AsM2() const {
371 reinterpret_cast<const MyGame::Example2::MonsterT *>(value) : nullptr;
391 return *(reinterpret_cast<const MyGame::Example2::MonsterT *>(lhs.value)) ==
392 *(reinterpret_cast<const MyGame::Example2::MonsterT *>(rhs.value));
716 namespace Example2 {
1244 const MyGame::Example2::Monster *test_as_MyGame_Example2_Monster() const {
1245 …return test_type() == Any_MyGame_Example2_Monster ? static_cast<const MyGame::Example2::Monster *>…
1478 const MyGame::Example2::Monster *any_unique_as_M2() const {
1479 …return any_unique_type() == AnyUniqueAliases_M2 ? static_cast<const MyGame::Example2::Monster *>(a…
1605 template<> inline const MyGame::Example2::Monster *Monster::test_as<MyGame::Example2::Monster>() co…
1617 template<> inline const MyGame::Example2::Monster *Monster::any_unique_as<MyGame::Example2::Monster…
2297 namespace Example2 {
2318 return MyGame::Example2::CreateMonster(
2654 auto ptr = reinterpret_cast<const MyGame::Example2::Monster *>(obj);
2684 auto ptr = reinterpret_cast<const MyGame::Example2::Monster *>(obj);
2702 auto ptr = reinterpret_cast<const MyGame::Example2::MonsterT *>(value);
2720 … value = new MyGame::Example2::MonsterT(*reinterpret_cast<MyGame::Example2::MonsterT *>(u.value));
2741 auto ptr = reinterpret_cast<MyGame::Example2::MonsterT *>(value);
2765 auto ptr = reinterpret_cast<const MyGame::Example2::Monster *>(obj);
2795 auto ptr = reinterpret_cast<const MyGame::Example2::Monster *>(obj);
2813 auto ptr = reinterpret_cast<const MyGame::Example2::MonsterT *>(value);
2831 … value = new MyGame::Example2::MonsterT(*reinterpret_cast<MyGame::Example2::MonsterT *>(u.value));
2852 auto ptr = reinterpret_cast<MyGame::Example2::MonsterT *>(value);
3004 MyGame::Example2::MonsterTypeTable
3028 MyGame::Example2::MonsterTypeTable
3073 namespace Example2 {