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

#include <def.hpp>

Classes

class  FieldAccessor
 
class  FieldIter
 
class  OneofAccessor
 
class  OneofIter
 

Public Member Functions

FieldDefPtr field (int i) const
 
int field_count () const
 
FieldAccessor fields () const
 
FileDefPtr file () 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 number) const
 
OneofDefPtr FindOneofByName (const char *name) const
 
OneofDefPtr FindOneofByName (const char *name, size_t len) const
 
template<class T >
OneofDefPtr FindOneofByName (const T &str) const
 
const char * full_name () const
 
bool mapentry () const
 
 MessageDefPtr ()
 
 MessageDefPtr (const upb_MessageDef *ptr)
 
const char * name () const
 
OneofDefPtr oneof (int i) const
 
int oneof_count () const
 
OneofAccessor oneofs () const
 
 operator bool () const
 
const upb_MessageDefptr () const
 
upb_Syntax syntax () const
 
upb_WellKnown wellknowntype () const
 

Private Attributes

const upb_MessageDefptr_
 

Detailed Description

Definition at line 168 of file def.hpp.

Constructor & Destructor Documentation

◆ MessageDefPtr() [1/2]

upb::MessageDefPtr::MessageDefPtr ( )
inline

Definition at line 170 of file def.hpp.

◆ MessageDefPtr() [2/2]

upb::MessageDefPtr::MessageDefPtr ( const upb_MessageDef ptr)
inlineexplicit

Definition at line 171 of file def.hpp.

Member Function Documentation

◆ field()

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

Definition at line 183 of file def.hpp.

◆ field_count()

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

Definition at line 182 of file def.hpp.

◆ fields()

FieldAccessor upb::MessageDefPtr::fields ( ) const
inline

Definition at line 287 of file def.hpp.

◆ file()

FileDefPtr upb::MessageDefPtr::file ( ) const
inline

Definition at line 412 of file def.hpp.

◆ FindFieldByName() [1/3]

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

Definition at line 202 of file def.hpp.

◆ FindFieldByName() [2/3]

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

Definition at line 199 of file def.hpp.

◆ FindFieldByName() [3/3]

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

Definition at line 207 of file def.hpp.

◆ FindFieldByNumber()

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

Definition at line 196 of file def.hpp.

◆ FindOneofByName() [1/3]

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

Definition at line 215 of file def.hpp.

◆ FindOneofByName() [2/3]

OneofDefPtr upb::MessageDefPtr::FindOneofByName ( const char *  name,
size_t  len 
) const
inline

Definition at line 211 of file def.hpp.

◆ FindOneofByName() [3/3]

template<class T >
OneofDefPtr upb::MessageDefPtr::FindOneofByName ( const T str) const
inline

Definition at line 220 of file def.hpp.

◆ full_name()

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

Definition at line 178 of file def.hpp.

◆ mapentry()

bool upb::MessageDefPtr::mapentry ( ) const
inline

Definition at line 225 of file def.hpp.

◆ name()

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

Definition at line 179 of file def.hpp.

◆ oneof()

OneofDefPtr upb::MessageDefPtr::oneof ( int  i) const
inline

Definition at line 189 of file def.hpp.

◆ oneof_count()

int upb::MessageDefPtr::oneof_count ( ) const
inline

Definition at line 188 of file def.hpp.

◆ oneofs()

OneofAccessor upb::MessageDefPtr::oneofs ( ) const
inline

Definition at line 288 of file def.hpp.

◆ operator bool()

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

Definition at line 174 of file def.hpp.

◆ ptr()

const upb_MessageDef* upb::MessageDefPtr::ptr ( ) const
inline

Definition at line 173 of file def.hpp.

◆ syntax()

upb_Syntax upb::MessageDefPtr::syntax ( ) const
inline

Definition at line 193 of file def.hpp.

◆ wellknowntype()

upb_WellKnown upb::MessageDefPtr::wellknowntype ( ) const
inline

Definition at line 229 of file def.hpp.

Member Data Documentation

◆ ptr_

const upb_MessageDef* upb::MessageDefPtr::ptr_
private

Definition at line 291 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