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

#include <upb.hpp>

Inheritance diagram for upb::Arena:
Inheritance graph
[legend]

Public Member Functions

upb_allocallocator ()
 
 Arena ()
 
 Arena (char *initial_block, size_t size)
 
void Fuse (Arena &other)
 
template<class T >
bool Own (T *obj)
 
upb_Arenaptr ()
 

Private Attributes

std::unique_ptr< upb_Arena, decltype(&upb_Arena_Free)> ptr_
 

Detailed Description

Definition at line 68 of file upb.hpp.

Constructor & Destructor Documentation

◆ Arena() [1/2]

upb::Arena::Arena ( )
inline

Definition at line 71 of file upb.hpp.

◆ Arena() [2/2]

upb::Arena::Arena ( char *  initial_block,
size_t  size 
)
inline

Definition at line 72 of file upb.hpp.

Member Function Documentation

◆ allocator()

upb_alloc* upb::Arena::allocator ( )
inline

Definition at line 83 of file upb.hpp.

◆ Fuse()

void upb::Arena::Fuse ( Arena other)
inline

Definition at line 93 of file upb.hpp.

◆ Own()

template<class T >
bool upb::Arena::Own ( T obj)
inline

Definition at line 88 of file upb.hpp.

◆ ptr()

upb_Arena* upb::Arena::ptr ( )
inline

Definition at line 76 of file upb.hpp.

Member Data Documentation

◆ ptr_

std::unique_ptr<upb_Arena, decltype(&upb_Arena_Free)> upb::Arena::ptr_
private

Definition at line 96 of file upb.hpp.


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


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