Public Types | Public Member Functions | Private Attributes | List of all members
upb::FieldDefPtr Class Reference

#include <def.hpp>

Public Types

typedef upb_FieldType DescriptorType
 
typedef upb_Label Label
 
typedef upb_CType Type
 

Public Member Functions

OneofDefPtr containing_oneof () const
 
MessageDefPtr containing_type () const
 
MessageValue default_value () const
 
DescriptorType descriptor_type () const
 
EnumDefPtr enum_subdef () const
 
 FieldDefPtr ()
 
 FieldDefPtr (const upb_FieldDef *ptr)
 
const char * full_name () const
 
uint32_t index () const
 
bool is_extension () const
 
bool IsMap () const
 
bool IsPrimitive () const
 
bool IsSequence () const
 
bool IsString () const
 
bool IsSubMessage () const
 
const char * json_name () const
 
Label label () const
 
MessageDefPtr message_subdef () const
 
const char * name () const
 
uint32_t number () const
 
 operator bool () const
 
bool packed () const
 
const upb_FieldDefptr () const
 
Type type () const
 

Private Attributes

const upb_FieldDefptr_
 

Detailed Description

Definition at line 50 of file def.hpp.

Member Typedef Documentation

◆ DescriptorType

Definition at line 60 of file def.hpp.

◆ Label

Definition at line 59 of file def.hpp.

◆ Type

Definition at line 58 of file def.hpp.

Constructor & Destructor Documentation

◆ FieldDefPtr() [1/2]

upb::FieldDefPtr::FieldDefPtr ( )
inline

Definition at line 52 of file def.hpp.

◆ FieldDefPtr() [2/2]

upb::FieldDefPtr::FieldDefPtr ( const upb_FieldDef ptr)
inlineexplicit

Definition at line 53 of file def.hpp.

Member Function Documentation

◆ containing_oneof()

OneofDefPtr upb::FieldDefPtr::containing_oneof ( ) const
inline

Definition at line 428 of file def.hpp.

◆ containing_type()

MessageDefPtr upb::FieldDefPtr::containing_type ( ) const
inline

Definition at line 420 of file def.hpp.

◆ default_value()

MessageValue upb::FieldDefPtr::default_value ( ) const
inline

Definition at line 112 of file def.hpp.

◆ descriptor_type()

DescriptorType upb::FieldDefPtr::descriptor_type ( ) const
inline

Definition at line 103 of file def.hpp.

◆ enum_subdef()

EnumDefPtr upb::FieldDefPtr::enum_subdef ( ) const
inline

Definition at line 432 of file def.hpp.

◆ full_name()

const char* upb::FieldDefPtr::full_name ( ) const
inline

Definition at line 62 of file def.hpp.

◆ index()

uint32_t upb::FieldDefPtr::index ( ) const
inline

Definition at line 82 of file def.hpp.

◆ is_extension()

bool upb::FieldDefPtr::is_extension ( ) const
inline

Definition at line 69 of file def.hpp.

◆ IsMap()

bool upb::FieldDefPtr::IsMap ( ) const
inline

Definition at line 110 of file def.hpp.

◆ IsPrimitive()

bool upb::FieldDefPtr::IsPrimitive ( ) const
inline

Definition at line 109 of file def.hpp.

◆ IsSequence()

bool upb::FieldDefPtr::IsSequence ( ) const
inline

Definition at line 108 of file def.hpp.

◆ IsString()

bool upb::FieldDefPtr::IsString ( ) const
inline

Definition at line 107 of file def.hpp.

◆ IsSubMessage()

bool upb::FieldDefPtr::IsSubMessage ( ) const
inline

Definition at line 106 of file def.hpp.

◆ json_name()

const char* upb::FieldDefPtr::json_name ( ) const
inline

Definition at line 67 of file def.hpp.

◆ label()

Label upb::FieldDefPtr::label ( ) const
inline

Definition at line 65 of file def.hpp.

◆ message_subdef()

MessageDefPtr upb::FieldDefPtr::message_subdef ( ) const
inline

Definition at line 416 of file def.hpp.

◆ name()

const char* upb::FieldDefPtr::name ( ) const
inline

Definition at line 66 of file def.hpp.

◆ number()

uint32_t upb::FieldDefPtr::number ( ) const
inline

Definition at line 68 of file def.hpp.

◆ operator bool()

upb::FieldDefPtr::operator bool ( ) const
inlineexplicit

Definition at line 56 of file def.hpp.

◆ packed()

bool upb::FieldDefPtr::packed ( ) const
inline

Definition at line 76 of file def.hpp.

◆ ptr()

const upb_FieldDef* upb::FieldDefPtr::ptr ( ) const
inline

Definition at line 55 of file def.hpp.

◆ type()

Type upb::FieldDefPtr::type ( ) const
inline

Definition at line 64 of file def.hpp.

Member Data Documentation

◆ ptr_

const upb_FieldDef* upb::FieldDefPtr::ptr_
private

Definition at line 121 of file def.hpp.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:53