Home
last modified time | relevance | path

Searched refs:AnyUnion (Results 1 – 4 of 4) sorted by relevance

/external/flatbuffers/tests/MyGame/Example/
DAny.cs17 public class AnyUnion { class
21 public AnyUnion() { in AnyUnion() method in MyGame.Example.AnyUnion
31 public static int Pack(FlatBuffers.FlatBufferBuilder builder, AnyUnion _o) { in Pack()
43 …return objectType == typeof(AnyUnion) || objectType == typeof(System.Collections.Generic.List<AnyU… in CanConvert()
46 var _olist = value as System.Collections.Generic.List<AnyUnion>; in WriteJson()
52 this.WriteJson(writer, value as AnyUnion, serializer); in WriteJson()
55 …public void WriteJson(Newtonsoft.Json.JsonWriter writer, AnyUnion _o, Newtonsoft.Json.JsonSerializ… in WriteJson()
60 var _olist = existingValue as System.Collections.Generic.List<AnyUnion>; in ReadJson()
69 return this.ReadJson(reader, existingValue as AnyUnion, serializer); in ReadJson()
72 …public AnyUnion ReadJson(Newtonsoft.Json.JsonReader reader, AnyUnion _o, Newtonsoft.Json.JsonSeria… in ReadJson()
DMonster.cs335 _o.Test = new MyGame.Example.AnyUnion(); in UnPackTo()
440 var _test = _o.Test == null ? 0 : MyGame.Example.AnyUnion.Pack(builder, _o.Test); in Pack()
614 this.Test = new MyGame.Example.AnyUnion();
620 public MyGame.Example.AnyUnion Test { get; set; }
/external/flatbuffers/tests/
Dmonster_test_generated.h239 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) {
[all …]
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h211 struct AnyUnion {
215 AnyUnion() : type(Any::NONE), value(nullptr) {}
216 AnyUnion(AnyUnion&& u) FLATBUFFERS_NOEXCEPT :
219 AnyUnion(const AnyUnion &);
220 AnyUnion &operator=(const AnyUnion &u)
221 { AnyUnion t(u); std::swap(type, t.type); std::swap(value, t.value); return *this; }
222 AnyUnion &operator=(AnyUnion &&u) FLATBUFFERS_NOEXCEPT
224 ~AnyUnion() { Reset(); }
984 MyGame::Example::AnyUnion test;
2347 …{ auto _e = test(); if (_e) _o->test.value = MyGame::Example::AnyUnion::UnPack(_e, test_type(), _r…
[all …]