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

Classes

class  iterator
 

Public Member Functions

size_t count ()
 
bool Insert (const std::string &key, upb_value val)
 
std::pair< bool, upb_valueLookup (const std::string &key) const
 
std::pair< bool, upb_valueRemove (const std::string &key)
 
void Resize (size_t size_lg2)
 
 StrTable ()
 

Public Attributes

upb::Arena arena_
 
upb_strtable table_
 

Detailed Description

Definition at line 149 of file test_table.cc.

Constructor & Destructor Documentation

◆ StrTable()

upb::StrTable::StrTable ( )
inline

Definition at line 151 of file test_table.cc.

Member Function Documentation

◆ count()

size_t upb::StrTable::count ( )
inline

Definition at line 153 of file test_table.cc.

◆ Insert()

bool upb::StrTable::Insert ( const std::string &  key,
upb_value  val 
)
inline

Definition at line 155 of file test_table.cc.

◆ Lookup()

std::pair<bool, upb_value> upb::StrTable::Lookup ( const std::string &  key) const
inline

Definition at line 167 of file test_table.cc.

◆ Remove()

std::pair<bool, upb_value> upb::StrTable::Remove ( const std::string &  key)
inline

Definition at line 160 of file test_table.cc.

◆ Resize()

void upb::StrTable::Resize ( size_t  size_lg2)
inline

Definition at line 174 of file test_table.cc.

Member Data Documentation

◆ arena_

upb::Arena upb::StrTable::arena_

Definition at line 211 of file test_table.cc.

◆ table_

upb_strtable upb::StrTable::table_

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