#include <google/protobuf/arena.h>
|
template<typename T , typename... Args> |
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE T * | CreateMessage (Arena *arena, Args &&... args) |
|
template<typename T , typename... Args> |
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE T * | Create (Arena *arena, Args &&... args) |
|
template<typename T > |
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE T * | CreateArray (Arena *arena, size_t num_elements) |
|
template<typename T > |
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE Arena * | GetArena (const T *value) |
|
Definition at line 244 of file arena.h.
◆ Arena() [1/2]
google::protobuf::Arena::Arena |
( |
const ArenaOptions & |
options | ) |
|
|
inlineexplicit |
◆ Arena() [2/2]
google::protobuf::Arena::Arena |
( |
| ) |
|
|
inline |
◆ ~Arena()
google::protobuf::Arena::~Arena |
( |
| ) |
|
|
inline |
◆ Create()
template<typename T , typename... Args>
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE T* google::protobuf::Arena::Create |
( |
Arena * |
arena, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ CreateArray()
template<typename T >
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE T* google::protobuf::Arena::CreateArray |
( |
Arena * |
arena, |
|
|
size_t |
num_elements |
|
) |
| |
|
inlinestatic |
◆ CreateMessage()
template<typename T , typename... Args>
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE T* google::protobuf::Arena::CreateMessage |
( |
Arena * |
arena, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ GetArena()
template<typename T >
static GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE Arena* google::protobuf::Arena::GetArena |
( |
const T * |
value | ) |
|
|
inlinestatic |
◆ Init()
void google::protobuf::Arena::Init |
( |
const ArenaOptions & |
options | ) |
|
|
inline |
◆ Own()
template<typename T >
GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE void google::protobuf::Arena::Own |
( |
T * |
object | ) |
|
|
inline |
◆ OwnCustomDestructor()
GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE void google::protobuf::Arena::OwnCustomDestructor |
( |
void * |
object, |
|
|
void(*)(void *) |
destruct |
|
) |
| |
|
inline |
◆ OwnDestructor()
template<typename T >
GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE void google::protobuf::Arena::OwnDestructor |
( |
T * |
object | ) |
|
|
inline |
◆ PROTOBUF_RUNTIME_DEPRECATED()
◆ SpaceAllocated()
uint64 google::protobuf::Arena::SpaceAllocated |
( |
| ) |
const |
|
inline |
◆ SpaceUsed()
uint64 google::protobuf::Arena::SpaceUsed |
( |
| ) |
const |
|
inline |
◆ internal::ArenaStringPtr
friend struct internal::ArenaStringPtr |
|
friend |
◆ internal::GenericTypeHandler
◆ internal::LazyField
friend class internal::LazyField |
|
friend |
◆ Map
template<typename Key , typename T >
◆ MessageLite
◆ kBlockOverhead
const size_t google::protobuf::Arena::kBlockOverhead |
|
static |
Initial value:= internal::ArenaImpl::kBlockHeaderSize +
internal::ArenaImpl::kSerialArenaSize
Definition at line 258 of file arena.h.
The documentation for this class was generated from the following files: