Exemplo n.º 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));
 }
Exemplo n.º 2
0
 public static FOBS GetRootAsFOBS(ByteBuffer _bb, FOBS obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Exemplo n.º 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);
 }