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

#include <def.hpp>

Public Member Functions

MessageDefPtr containing_type () const
 
FieldDefPtr field (int i) const
 
int field_count () const
 
FieldDefPtr FindFieldByName (const char *name) const
 
FieldDefPtr FindFieldByName (const char *name, size_t len) const
 
template<class T >
FieldDefPtr FindFieldByName (const T &str) const
 
FieldDefPtr FindFieldByNumber (uint32_t num) const
 
const char * name () const
 
 OneofDefPtr ()
 
 OneofDefPtr (const upb_OneofDef *ptr)
 
 operator bool () const
 
const upb_OneofDefptr () const
 

Private Attributes

const upb_OneofDefptr_
 

Detailed Description

Definition at line 125 of file def.hpp.

Constructor & Destructor Documentation

◆ OneofDefPtr() [1/2]

upb::OneofDefPtr::OneofDefPtr ( )
inline

Definition at line 127 of file def.hpp.

◆ OneofDefPtr() [2/2]

upb::OneofDefPtr::OneofDefPtr ( const upb_OneofDef ptr)
inlineexplicit

Definition at line 128 of file def.hpp.

Member Function Documentation

◆ containing_type()

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

Definition at line 424 of file def.hpp.

◆ field()

FieldDefPtr upb::OneofDefPtr::field ( int  i) const
inline

Definition at line 141 of file def.hpp.

◆ field_count()

int upb::OneofDefPtr::field_count ( ) const
inline

Definition at line 140 of file def.hpp.

◆ FindFieldByName() [1/3]

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

Definition at line 149 of file def.hpp.

◆ FindFieldByName() [2/3]

FieldDefPtr upb::OneofDefPtr::FindFieldByName ( const char *  name,
size_t  len 
) const
inline

Definition at line 146 of file def.hpp.

◆ FindFieldByName() [3/3]

template<class T >
FieldDefPtr upb::OneofDefPtr::FindFieldByName ( const T str) const
inline

Definition at line 154 of file def.hpp.

◆ FindFieldByNumber()

FieldDefPtr upb::OneofDefPtr::FindFieldByNumber ( uint32_t  num) const
inline

Definition at line 159 of file def.hpp.

◆ name()

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

Definition at line 137 of file def.hpp.

◆ operator bool()

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

Definition at line 131 of file def.hpp.

◆ ptr()

const upb_OneofDef* upb::OneofDefPtr::ptr ( ) const
inline

Definition at line 130 of file def.hpp.

Member Data Documentation

◆ ptr_

const upb_OneofDef* upb::OneofDefPtr::ptr_
private

Definition at line 164 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:54