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

Classes

class  iterator
 

Public Member Functions

void Compact ()
 
size_t count ()
 
bool Insert (uintptr_t key, upb_value val)
 
 IntTable ()
 
std::pair< bool, upb_valueLookup (uintptr_t key) const
 
std::pair< bool, upb_valueLookup32 (uint32_t key) const
 
std::pair< bool, upb_valueRemove (uintptr_t key)
 
bool Replace (uintptr_t key, upb_value val)
 

Public Attributes

upb::Arena arena_
 
upb_inttable table_
 

Detailed Description

Definition at line 79 of file test_table.cc.

Constructor & Destructor Documentation

◆ IntTable()

upb::IntTable::IntTable ( )
inline

Definition at line 81 of file test_table.cc.

Member Function Documentation

◆ Compact()

void upb::IntTable::Compact ( )
inline

Definition at line 111 of file test_table.cc.

◆ count()

size_t upb::IntTable::count ( )
inline

Definition at line 83 of file test_table.cc.

◆ Insert()

bool upb::IntTable::Insert ( uintptr_t  key,
upb_value  val 
)
inline

Definition at line 85 of file test_table.cc.

◆ Lookup()

std::pair<bool, upb_value> upb::IntTable::Lookup ( uintptr_t  key) const
inline

Definition at line 99 of file test_table.cc.

◆ Lookup32()

std::pair<bool, upb_value> upb::IntTable::Lookup32 ( uint32_t  key) const
inline

Definition at line 105 of file test_table.cc.

◆ Remove()

std::pair<bool, upb_value> upb::IntTable::Remove ( uintptr_t  key)
inline

Definition at line 93 of file test_table.cc.

◆ Replace()

bool upb::IntTable::Replace ( uintptr_t  key,
upb_value  val 
)
inline

Definition at line 89 of file test_table.cc.

Member Data Documentation

◆ arena_

upb::Arena upb::IntTable::arena_

Definition at line 145 of file test_table.cc.

◆ table_

upb_inttable upb::IntTable::table_

Definition at line 146 of file test_table.cc.


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


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