Home | History | Annotate | Download | only in flatbuffers

Lines Matching refs:BaseType

33 inline bool IsScalar (reflection::BaseType t) { return t >= reflection::UType &&
35 inline bool IsInteger(reflection::BaseType t) { return t >= reflection::UType &&
37 inline bool IsFloat (reflection::BaseType t) { return t == reflection::Float ||
39 inline bool IsLong (reflection::BaseType t) { return t == reflection::Long ||
43 inline size_t GetTypeSize(reflection::BaseType base_type) {
44 // This needs to correspond to the BaseType enum.
51 inline size_t GetTypeSizeInline(reflection::BaseType base_type,
149 int64_t GetAnyValueI(reflection::BaseType type, const uint8_t *data);
152 double GetAnyValueF(reflection::BaseType type, const uint8_t *data);
155 std::string GetAnyValueS(reflection::BaseType type, const uint8_t *data,
211 reflection::BaseType elem_type, size_t i) {
217 reflection::BaseType elem_type, size_t i) {
223 reflection::BaseType elem_type, size_t i) {
266 reflection::BaseType type = field.type()->base_type();
285 void SetAnyValueI(reflection::BaseType type, uint8_t *data, int64_t val);
286 void SetAnyValueF(reflection::BaseType type, uint8_t *data, double val);
287 void SetAnyValueS(reflection::BaseType type, uint8_t *data, const char *val);
338 inline void SetAnyVectorElemI(VectorOfAny *vec, reflection::BaseType elem_type,
344 inline void SetAnyVectorElemF(VectorOfAny *vec, reflection::BaseType elem_type,
350 inline void SetAnyVectorElemS(VectorOfAny *vec, reflection::BaseType elem_type,