flatbuffers/tests/MyGame/Example
Christian Helmich 9ce98dd77d Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643)
* added intended use-cases to monster_test.fbs

* added check for `cpp_ptr_type` on hashed fields
added default value 'naked' to `cpp_ptr_type` on hashed fields

* added C++ generation of cpp_type vectors
removed ctor call for vector fields
added condition !vector for cpp_type check
added Pack() and UnPack() code generation for vector of hashes
added generation of correct resolve/rehash for cpp_type elements

* added attribute 'cpp_ptr_type_get' to hold accessor for pointer types possible where '.get()' does not work
use case: cpp_ptr_type:"std::weak_ptr", cpp_ptr_type_get:".lock().get()"

* run flatc to re-generate headers

* added bool param is_ctor to GetDefaultScalarValue() to differentiate between usage places

* modified monster_test.fbs to remove usage of shared_ptr/weak_ptr
reason: STLport does not support std::shared_ptr and std::weak_ptr

* run flatc again to re-generate headers

* fixed symbol unique_ptr not in namespace std when building with STLport
2018-03-05 08:40:55 -08:00
..
__init__.py
Ability.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Ability.go Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Ability.java Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Ability.php Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Ability.py Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Any.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Any.go
Any.java
Any.php
Any.py
Color.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Color.go
Color.java
Color.php
Color.py
Monster.cs Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
Monster.go Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
Monster.java Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
Monster.php Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
Monster.py Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
MonsterStorage_grpc.go Re-applied reverted fix, adding missing codegen files. 2017-01-04 10:41:31 -08:00
MonsterStorageGrpc.java Removed date/time from generated code, causing commit polution. 2018-01-18 11:21:10 -08:00
Stat.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Stat.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
Stat.java Java + C#, reuse object in lookup_by_key (#4648) 2018-03-02 15:22:46 -08:00
Stat.php
Stat.py Fix issue #4389, if field is ommitted the return type is the same for… (#4444) 2017-10-05 14:07:42 -07:00
Test.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Test.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
Test.java Switched C# accessors from classes to structs 2016-08-31 17:34:51 -07:00
Test.php
Test.py
TestSimpleTableWithEnum.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
TestSimpleTableWithEnum.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
TestSimpleTableWithEnum.java Switched C# accessors from classes to structs 2016-08-31 17:34:51 -07:00
TestSimpleTableWithEnum.php
TestSimpleTableWithEnum.py
TypeAliases.cs Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
TypeAliases.go Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
TypeAliases.java Java + C#, reuse object in lookup_by_key (#4648) 2018-03-02 15:22:46 -08:00
TypeAliases.php Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
TypeAliases.py Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
Vec3.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Vec3.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
Vec3.java Switched C# accessors from classes to structs 2016-08-31 17:34:51 -07:00
Vec3.php
Vec3.py