Added helper methods to access struct through reflection. (#4120)
authorZarian Waheed <zarianwaheed@live.com>
Thu, 22 Dec 2016 01:48:21 +0000 (17:48 -0800)
committerWouter van Oortmerssen <aardappel@gmail.com>
Thu, 22 Dec 2016 01:48:21 +0000 (17:48 -0800)
commit84033ae035208930fa8ccf2b1926be83cab90758
tree218941a4a29bf4c4267d22930f3f0e9c21d9b2f9
parentb9efbf6a3db61b4b9e0b20fa4a5244218b4c5f19
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.
include/flatbuffers/reflection.h
tests/test.cpp