WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
oneof_def.h
Go to the documentation of this file.
1// Protocol Buffers - Google's data interchange format
2// Copyright 2023 Google LLC. All rights reserved.
3//
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file or at
6// https://developers.google.com/open-source/licenses/bsd
7
8// IWYU pragma: private, include "upb/reflection/def.h"
9
10#ifndef UPB_REFLECTION_ONEOF_DEF_H_
11#define UPB_REFLECTION_ONEOF_DEF_H_
12
14
15// Must be last.
16#include "upb/port/def.inc"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
23 const upb_OneofDef* o);
26const char* upb_OneofDef_FullName(const upb_OneofDef* o);
31 const char* name);
33 const char* name,
34 size_t size);
36 uint32_t num);
39const UPB_DESC(OneofOptions*) upb_OneofDef_Options(const upb_OneofDef* o);
40const UPB_DESC(FeatureSet*)
41 upb_OneofDef_ResolvedFeatures(const upb_OneofDef* o);
42
43#ifdef __cplusplus
44} /* extern "C" */
45#endif
46
47#include "upb/port/undef.inc"
48
49#endif /* UPB_REFLECTION_ONEOF_DEF_H_ */
#define UPB_DESC(sym)
Definition def.inc:496
#define UPB_API
Definition def.inc:162
const upb_FieldDef * upb_OneofDef_LookupNameWithSize(const upb_OneofDef *o, const char *name, size_t size)
int upb_OneofDef_numfields(const upb_OneofDef *o)
bool upb_OneofDef_HasOptions(const upb_OneofDef *o)
const upb_FieldDef * upb_OneofDef_LookupNumber(const upb_OneofDef *o, uint32_t num)
UPB_API const upb_MessageDef * upb_OneofDef_ContainingType(const upb_OneofDef *o)
const char * upb_OneofDef_FullName(const upb_OneofDef *o)
UPB_API int upb_OneofDef_FieldCount(const upb_OneofDef *o)
UPB_API const upb_FieldDef * upb_OneofDef_Field(const upb_OneofDef *o, int i)
UPB_API const char * upb_OneofDef_Name(const upb_OneofDef *o)
bool upb_OneofDef_IsSynthetic(const upb_OneofDef *o)
uint32_t upb_OneofDef_Index(const upb_OneofDef *o)
const upb_FieldDef * upb_OneofDef_LookupName(const upb_OneofDef *o, const char *name)
struct upb_FieldDef upb_FieldDef
Definition common.h:29
struct upb_OneofDef upb_OneofDef
Definition common.h:34
struct upb_MessageDef upb_MessageDef
Definition common.h:31