Beispiel #1
0
 public static Offset <FOBS> CreateFOBS(FlatBufferBuilder builder,
                                        StringOffset observation_nameOffset = default(StringOffset),
                                        FObservation observation_type       = FObservation.NONE,
                                        int observationOffset = 0)
 {
     builder.StartObject(3);
     FOBS.AddObservation(builder, observationOffset);
     FOBS.AddObservationName(builder, observation_nameOffset);
     FOBS.AddObservationType(builder, observation_type);
     return(FOBS.EndFOBS(builder));
 }
Beispiel #2
0
 public static FOBS GetRootAsFOBS(ByteBuffer _bb, FOBS obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Beispiel #3
0
 public FOBS?ObservationsByKey(string key)
 {
     int o = __p.__offset(16); return(o != 0 ? FOBS.__lookup_by_key(__p.__vector(o), key, __p.bb) : null);
 }