History log of /external/flatbuffers/include/flatbuffers/reflection.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84033ae035208930fa8ccf2b1926be83cab90758 22-Dec-2016 Zarian Waheed <zarianwaheed@live.com> Added helper methods to access struct through reflection. (#4120)

* Added helper methods to access struct through reflection. Also added unit test for it.

* Added a TODO comment to check for the is_struct flag.
/external/flatbuffers/include/flatbuffers/reflection.h
6d6271db2f8c4a5b6f0ff82506da0b5252f0e3ca 16-Dec-2016 Zarian Waheed <zarianwaheed@live.com> Changes for verifying a buffer dynamically using reflection. (#4102)

* Changes for verifying a buffer dynamically using reflection.

* Fixing build issues on linux and applied code reformatting.

* Fixing the file order in cmake file that was messing up the macro based code inclusion.

Added tests for reflection based verification.

* Changes for verifying a buffer dynamically using reflection.

Fixing build issues on linux and applied code reformatting.

Fixing the file order in cmake file that was messing up the macro based code inclusion.

Added tests for reflection based verification.

* Incorporated the code review changes that were requested:

1. Changed the Verify function signature.
2. Changed the variable names to use snake_case.
3. Added better comments.
4. Refactored duplicate code.
5. Changed the verifier class so that it has the same size when compiled with or without FLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE macro.

* Setting FLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE and FLATBUFFERS_DEBUG_VERIFICATION_FAILURE through cmake for flattests so that it gets propagted to all translation units of flattests.

* Making the Verifier struct fields the same in all cases. Also reverting the target_compile_definitions change in cmake file because build machine on travis does not have cmake version 3.0 or higher which was the version when target_compile_definitions was added in cmake.

* Defining macros through cmake in a portable way using functions that are available in cmake 2.8.
/external/flatbuffers/include/flatbuffers/reflection.h
7c7c571bbec3e698b17a191cb5616f94b05cd864 20-Jul-2016 Wouter van Oortmerssen <wvo@google.com> This is a minimal amount of #ifdef's to make stlport work.

Minimal, in the sense that this will only allow flatbuffers.h +
generated code to work. Everything else (tests, parsing, reflection
etc.) may still not compile with stlport.

Functionality has been reduced, some utility functions are not
available.

Tested: on Linux (no stlport), Android (stlport).

Change-Id: I3f8b6a88258c07d78964dd455fb9f99f65266301
/external/flatbuffers/include/flatbuffers/reflection.h
9e6c5f9f2c543a5ca608e8c1c4c9205139a87dcd 21-Jun-2016 Wouter van Oortmerssen <wvo@google.com> JSON Parser allows union type fields to come after unions.

This is useful because many JSON generators will sort the fields,
cause X_type to follow X.

Change-Id: I00ef3ac05418224fc05aee93e6b3b3597e73ffe3
Tested: on Linux.
Bug: 29221752
/external/flatbuffers/include/flatbuffers/reflection.h
958fc6ec49199ba47dd2492bef51845a53ec27e2 01-Mar-2016 Wouter van Oortmerssen <wvo@google.com> Added support for easy string pooling.

Change-Id: I790cf681c1bffff800d77afb0e2f908d1c827679
Tested: on Linux.
Bug: 26186542
/external/flatbuffers/include/flatbuffers/reflection.h
7101224d868e15fa1d401f4b3afc54f3b5761e18 31-Jul-2015 Wouter van Oortmerssen <wvo@google.com> Reworked reflection.h to be more general.

e.g. support generic reading/writing from structs/vectors etc.

Change-Id: I2eb6e24db088a72da444d5c8df7e506e53d5bc2d
Tested: on Linux.
Bug: 22660837
/external/flatbuffers/include/flatbuffers/reflection.h
4998ad7365e9f3b54a39f4d5b7ca1dfa927a8153 30-Jul-2015 Wouter van Oortmerssen <wvo@google.com> Added support for adding new tables/strings to an existing FlatBuffer.

As part of the reflection support.

Change-Id: Ie0a8e233bca7dffa4cff7e564660035d97ff8902
Tested: on Linux.
Bug:22637258
/external/flatbuffers/include/flatbuffers/reflection.h
62af5338207389b18e66e95e88c01dce8048c015 22-Jul-2015 Wouter van Oortmerssen <wvo@google.com> Merge pull request #237 from jonsimantov/master

Add optional root table to SetString and ResizeVector, when your Flatbuffer isn't the schema's root type.
b56020ad3b8e1482b599d721144f635b489e0477 22-Jul-2015 Jon Simantov <jsimantov@google.com> Updated pointer syntax to be consistent in SetString, etc.
/external/flatbuffers/include/flatbuffers/reflection.h
6e160f4c5963c33cabc975edaf8b4212aba7da72 22-Jul-2015 Jon Simantov <jsimantov@google.com> Use Object* for optional root_table in SetString/ResizeVector.

Was previously using table name, but no reason not to just let the
calling code worry about getting the object.
/external/flatbuffers/include/flatbuffers/reflection.h
b6380aceac8ea50152ca963ea4a1c8cbe8d790b0 22-Jul-2015 Wouter van Oortmerssen <wvo@google.com> Fixed reflection resizing code not checking strings in vectors.

Change-Id: I4081160a8281939ab282d7914ae396276c767882
Tested: on Linux.
/external/flatbuffers/include/flatbuffers/reflection.h
a4de6de7000e03011fa916f67da1c98a8b4aa591 22-Jul-2015 Jon Simantov <jsimantov@google.com> Add optional root table name to SetString and ResizeVector.

This allows you to use these functions with a flatbuffer whose root
table type does't correspond with the root table type of the schema.

If you don't specify the table name, it will use the root table from
the schema by default (mimicing the current behavior).
/external/flatbuffers/include/flatbuffers/reflection.h
21765bea2e1b93393985c173a1b9e26693e09433 30-Jun-2015 Wouter van Oortmerssen <wvo@google.com> Made warning settings in Xcode more aggressive.

Tested: on OS X.
/external/flatbuffers/include/flatbuffers/reflection.h
cb2b2be54eb52fb009f30f5ca300165a95fa5df6 24-Jun-2015 Wouter van Oortmerssen <wvo@google.com> Reflection: generically copy (parts of) FlatBuffers.

Change-Id: Ief3f1507c003079eac90c2bb6c2abd64a80a0a34
Tested: on Linux.
/external/flatbuffers/include/flatbuffers/reflection.h
c967515da56fe5a8f0a5d18eaf2a741f5999697a 18-Jun-2015 Wouter van Oortmerssen <wvo@google.com> Small improvements to the C++ API.

Change-Id: Ib30ffbbd140a8b82fe664129fa4e8c55836267f8
Tested: on Linux.
/external/flatbuffers/include/flatbuffers/reflection.h
622b8d05cf69cc26babc6a043d1f7a4153755652 16-Jun-2015 Wouter van Oortmerssen <wvo@google.com> Fixed warnings on Windows
/external/flatbuffers/include/flatbuffers/reflection.h
5faa0ab1be532d6a7c141cce80c54e8fb9c557fa 16-Jun-2015 Wouter van Oortmerssen <wvo@google.com> Removed unused variable.

Tested: on OS X.
/external/flatbuffers/include/flatbuffers/reflection.h
81312c21281430449aef20f7a71ad9e0962791d3 22-May-2015 Wouter van Oortmerssen <wvo@google.com> Initial reflection and resizing functionality.

Tested: on Linux.

Change-Id: I8f7bccf9b1ad87fea788f85e23fa69435758feca
/external/flatbuffers/include/flatbuffers/reflection.h