• Home
  • Raw
  • Download

Lines Matching refs:reflection

33   static const reflection::BaseType value;
37 inline const reflection::BaseType flatbuffers_base_type<T>::value =
38 reflection::None;
41 inline const reflection::BaseType flatbuffers_base_type<bool>::value =
42 reflection::Bool;
45 inline const reflection::BaseType flatbuffers_base_type<int8>::value =
46 reflection::Byte;
49 inline const reflection::BaseType flatbuffers_base_type<uint8>::value =
50 reflection::UByte;
53 inline const reflection::BaseType flatbuffers_base_type<int16>::value =
54 reflection::Short;
57 inline const reflection::BaseType flatbuffers_base_type<uint16>::value =
58 reflection::UShort;
61 inline const reflection::BaseType flatbuffers_base_type<int32>::value =
62 reflection::Int;
65 inline const reflection::BaseType flatbuffers_base_type<uint32>::value =
66 reflection::UInt;
69 inline const reflection::BaseType flatbuffers_base_type<int64>::value =
70 reflection::Long;
73 inline const reflection::BaseType flatbuffers_base_type<uint64>::value =
74 reflection::ULong;
77 inline const reflection::BaseType flatbuffers_base_type<float>::value =
78 reflection::Float;
81 inline const reflection::BaseType flatbuffers_base_type<double>::value =
82 reflection::Double;
85 inline const reflection::BaseType flatbuffers_base_type<StringPiece>::value =
86 reflection::String;
88 template <reflection::BaseType>
92 struct flatbuffers_cpp_type<reflection::BaseType::Bool> {
97 struct flatbuffers_cpp_type<reflection::BaseType::Byte> {
102 struct flatbuffers_cpp_type<reflection::BaseType::UByte> {
107 struct flatbuffers_cpp_type<reflection::BaseType::Short> {
112 struct flatbuffers_cpp_type<reflection::BaseType::UShort> {
117 struct flatbuffers_cpp_type<reflection::BaseType::Int> {
122 struct flatbuffers_cpp_type<reflection::BaseType::UInt> {
127 struct flatbuffers_cpp_type<reflection::BaseType::Long> {
132 struct flatbuffers_cpp_type<reflection::BaseType::ULong> {
137 struct flatbuffers_cpp_type<reflection::BaseType::Float> {
142 struct flatbuffers_cpp_type<reflection::BaseType::Double> {
148 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
153 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
157 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
163 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
166 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
171 const reflection::Object* TypeForName(const reflection::Schema* schema,
175 Optional<int> TypeIdForName(const reflection::Schema* schema,
179 Optional<int> TypeIdForObject(const reflection::Schema* schema,
180 const reflection::Object* type);
183 bool SwapFieldNamesForOffsetsInPath(const reflection::Schema* schema,
187 inline bool IsEnum(const reflection::Type* type) {
192 Variant ParseEnumValue(const reflection::Schema* schema,
193 const reflection::Type* type, StringPiece value);