Lines Matching refs:AnyUnion
239 struct AnyUnion {
243 AnyUnion() : type(Any_NONE), value(nullptr) {}
244 AnyUnion(AnyUnion&& u) FLATBUFFERS_NOEXCEPT :
247 AnyUnion(const AnyUnion &);
248 AnyUnion &operator=(const AnyUnion &u)
249 { AnyUnion t(u); std::swap(type, t.type); std::swap(value, t.value); return *this; }
250 AnyUnion &operator=(AnyUnion &&u) FLATBUFFERS_NOEXCEPT
252 ~AnyUnion() { Reset(); }
298 inline bool operator==(const AnyUnion &lhs, const AnyUnion &rhs) {
322 inline bool operator!=(const AnyUnion &lhs, const AnyUnion &rhs) {
1156 MyGame::Example::AnyUnion test;
2582 …{ auto _e = test(); if (_e) _o->test.value = MyGame::Example::AnyUnion::UnPack(_e, test_type(), _r…
2832 inline void *AnyUnion::UnPack(const void *obj, Any type, const flatbuffers::resolver_function_t *re…
2850 inline flatbuffers::Offset<void> AnyUnion::Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuf…
2868 inline AnyUnion::AnyUnion(const AnyUnion &u) : type(u.type), value(nullptr) {
2887 inline void AnyUnion::Reset() {