Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf.internal::InlinedStringField Class Reference

#include <inlined_string_field.h>

Public Member Functions

void AssignWithDefault (const std::string *default_value, const InlinedStringField &from) PROTOBUF_ALWAYS_INLINE
 
PROTOBUF_NDEBUG_INLINE void ClearNonDefaultToEmpty ()
 
void ClearNonDefaultToEmpty () PROTOBUF_ALWAYS_INLINE
 
void ClearNonDefaultToEmptyNoArena () PROTOBUF_ALWAYS_INLINE
 
void ClearToDefault (const LazyString &default_value, Arena *arena, bool donated)
 
void ClearToDefault (const std::string *default_value, Arena *) PROTOBUF_ALWAYS_INLINE
 
void ClearToDefaultNoArena (const std::string *default_value) PROTOBUF_ALWAYS_INLINE
 
PROTOBUF_NDEBUG_INLINE void ClearToEmpty ()
 
void ClearToEmpty (const std::string *default_value, Arena *) PROTOBUF_ALWAYS_INLINE
 
void ClearToEmptyNoArena (const std::string *) PROTOBUF_ALWAYS_INLINE
 
void Destroy (const std::string *default_value, Arena *) PROTOBUF_ALWAYS_INLINE
 
PROTOBUF_NDEBUG_INLINE void Destroy (const std::string *default_value, Arena *arena)
 
PROTOBUF_NDEBUG_INLINE void DestroyNoArena (const std::string *default_value)
 
void DestroyNoArena (const std::string *default_value) PROTOBUF_ALWAYS_INLINE
 
const PROTOBUF_NDEBUG_INLINE std::string & Get () const
 
const std::string & Get () const PROTOBUF_ALWAYS_INLINE
 
const PROTOBUF_NDEBUG_INLINE std::string & GetNoArena () const
 
const std::string & GetNoArena () const PROTOBUF_ALWAYS_INLINE
 
void Init ()
 
 InlinedStringField ()
 
 InlinedStringField () PROTOBUF_ALWAYS_INLINE
 
 InlinedStringField (Arena *arena)
 
constexpr InlinedStringField (const ExplicitlyConstructed< std::string > *, bool)
 
 InlinedStringField (const std::string &default_value)
 
 InlinedStringField (const std::string &default_value)
 
bool IsDefault (const std::string *)
 
bool IsDefault (const std::string *) const
 
std::string * Mutable (ArenaStringPtr::EmptyDefault, Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
std::string * Mutable (const LazyString &default_value, Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
std::string * Mutable (const std::string *default_value, Arena *) PROTOBUF_ALWAYS_INLINE
 
std::string * MutableNoArena (const std::string *default_value) PROTOBUF_ALWAYS_INLINE
 
PROTOBUF_NDEBUG_INLINE std::string * MutableNoArenaNoDefault (const std::string *)
 
std::string * Release (const std::string *default_value, Arena *)
 
PROTOBUF_NODISCARD std::string * Release (const std::string *default_value, Arena *arena, bool donated)
 
std::string * ReleaseNoArena (const std::string *default_value)
 
std::string * ReleaseNonDefault (const std::string *default_value, Arena *)
 
PROTOBUF_NODISCARD std::string * ReleaseNonDefault (const std::string *default_value, Arena *arena)
 
std::string * ReleaseNonDefaultNoArena (const std::string *default_value)
 
std::string * ReleaseNonDefaultNoArena (const std::string *default_value)
 
void Set (const std::string *default_value, const std::string &value, Arena *) PROTOBUF_ALWAYS_INLINE
 
void Set (const std::string *default_value, ConstStringParam value, Arena *arena, bool donated, uint32_t *, uint32_t)
 
void Set (const std::string *default_value, std::string &&value, Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
void Set (const std::string *default_value, StringPiece value, Arena *) PROTOBUF_ALWAYS_INLINE
 
template<typename FirstParam >
void Set (FirstParam p1, const char *str, ::google::protobuf::Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
template<typename FirstParam >
void Set (FirstParam p1, const char *str, size_t size, ::google::protobuf::Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
template<typename FirstParam , typename RefWrappedType >
void Set (FirstParam p1, std::reference_wrapper< RefWrappedType > const_string_ref, ::google::protobuf::Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
void SetAllocated (const std::string *default_value, std::string *value, Arena *)
 
void SetAllocated (const std::string *default_value, std::string *value, Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
void SetAllocatedNoArena (const std::string *default_value, std::string *value)
 
void SetAllocatedNoArena (const std::string *default_value, std::string *value)
 
template<typename FirstParam >
void SetBytes (FirstParam p1, const void *str, size_t size, ::google::protobuf::Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
template<typename FirstParam , typename SecondParam >
void SetBytes (FirstParam p1, SecondParam &&p2, ::google::protobuf::Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 
void SetLite (const std::string *default_value, const std::string &value, Arena *) PROTOBUF_ALWAYS_INLINE
 
void SetLite (const std::string *default_value, StringPiece value, Arena *) PROTOBUF_ALWAYS_INLINE
 
void SetNoArena (const std::string *default_value, const std::string &value) PROTOBUF_ALWAYS_INLINE
 
PROTOBUF_NDEBUG_INLINE void SetNoArena (const std::string *default_value, std::string &&value)
 
void SetNoArena (const std::string *default_value, std::string &&value) PROTOBUF_ALWAYS_INLINE
 
PROTOBUF_NDEBUG_INLINE void SetNoArena (const std::string *default_value, StringPiece value)
 
void SetNoArena (const std::string *default_value, StringPiece value) PROTOBUF_ALWAYS_INLINE
 
void Swap (InlinedStringField *from) PROTOBUF_ALWAYS_INLINE
 
PROTOBUF_NDEBUG_INLINE void Swap (InlinedStringField *from, const std::string *default_value, Arena *arena, bool donated, bool from_donated, uint32_t *donating_states, uint32_t *from_donating_states, uint32_t mask)
 
std::string * UnsafeArenaRelease (const std::string *default_value, Arena *arena)
 
void UnsafeArenaSetAllocated (const std::string *default_value, std::string *value, Arena *arena)
 
std::string * UnsafeMutablePointer ()
 
PROTOBUF_NDEBUG_INLINE std::string * UnsafeMutablePointer ()
 
void UnsafeSetDefault (const std::string *default_value)
 
 ~InlinedStringField ()
 

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

void Destruct ()
 
const PROTOBUF_NDEBUG_INLINE std::string * get_const () const
 
PROTOBUF_NDEBUG_INLINE std::string * get_mutable ()
 
std::string * MutableSlow (::google::protobuf::Arena *arena, bool donated, uint32_t *donating_states, uint32_t mask)
 

Private Attributes

std::string value_
 
char value_ [sizeof(std::string)]
 

Friends

class ::google::protobuf::Arena
 

Detailed Description

Definition at line 62 of file bloaty/third_party/protobuf/src/google/protobuf/inlined_string_field.h.

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Constructor & Destructor Documentation

◆ InlinedStringField() [1/6]

google::protobuf.internal::InlinedStringField::InlinedStringField ( )
inline

◆ InlinedStringField() [2/6]

google::protobuf.internal::InlinedStringField::InlinedStringField ( const std::string &  default_value)
inlineexplicit

◆ InlinedStringField() [3/6]

google::protobuf.internal::InlinedStringField::InlinedStringField ( )
inline

◆ InlinedStringField() [4/6]

constexpr google::protobuf.internal::InlinedStringField::InlinedStringField ( const ExplicitlyConstructed< std::string > *  ,
bool   
)
inlineconstexpr

◆ InlinedStringField() [5/6]

google::protobuf.internal::InlinedStringField::InlinedStringField ( const std::string &  default_value)
explicit

◆ InlinedStringField() [6/6]

google::protobuf.internal::InlinedStringField::InlinedStringField ( Arena arena)
inlineexplicit

◆ ~InlinedStringField()

google::protobuf.internal::InlinedStringField::~InlinedStringField ( )
inline

Member Function Documentation

◆ AssignWithDefault()

void google::protobuf.internal::InlinedStringField::AssignWithDefault ( const std::string *  default_value,
const InlinedStringField from 
)
inline

◆ ClearNonDefaultToEmpty() [1/2]

PROTOBUF_NDEBUG_INLINE void google::protobuf.internal::InlinedStringField::ClearNonDefaultToEmpty ( )
inline

◆ ClearNonDefaultToEmpty() [2/2]

void google::protobuf.internal::InlinedStringField::ClearNonDefaultToEmpty ( )
inline

◆ ClearNonDefaultToEmptyNoArena()

void google::protobuf.internal::InlinedStringField::ClearNonDefaultToEmptyNoArena ( )
inline

◆ ClearToDefault() [1/2]

void google::protobuf.internal::InlinedStringField::ClearToDefault ( const LazyString default_value,
Arena arena,
bool  donated 
)

Definition at line 101 of file inlined_string_field.cc.

◆ ClearToDefault() [2/2]

void google::protobuf.internal::InlinedStringField::ClearToDefault ( const std::string *  default_value,
Arena  
)
inline

◆ ClearToDefaultNoArena()

void google::protobuf.internal::InlinedStringField::ClearToDefaultNoArena ( const std::string *  default_value)
inline

◆ ClearToEmpty() [1/2]

PROTOBUF_NDEBUG_INLINE void google::protobuf.internal::InlinedStringField::ClearToEmpty ( )
inline

◆ ClearToEmpty() [2/2]

void google::protobuf.internal::InlinedStringField::ClearToEmpty ( const std::string *  default_value,
Arena  
)
inline

◆ ClearToEmptyNoArena()

void google::protobuf.internal::InlinedStringField::ClearToEmptyNoArena ( const std::string *  )
inline

◆ Destroy() [1/2]

void google::protobuf.internal::InlinedStringField::Destroy ( const std::string *  default_value,
Arena  
)
inline

◆ Destroy() [2/2]

PROTOBUF_NDEBUG_INLINE void google::protobuf.internal::InlinedStringField::Destroy ( const std::string *  default_value,
Arena arena 
)
inline

◆ DestroyNoArena() [1/2]

PROTOBUF_NDEBUG_INLINE void google::protobuf.internal::InlinedStringField::DestroyNoArena ( const std::string *  default_value)

◆ DestroyNoArena() [2/2]

void google::protobuf.internal::InlinedStringField::DestroyNoArena ( const std::string *  default_value)
inline

◆ Destruct()

void google::protobuf.internal::InlinedStringField::Destruct ( )
inlineprivate

◆ Get() [1/2]

const PROTOBUF_NDEBUG_INLINE std::string& google::protobuf.internal::InlinedStringField::Get ( ) const
inline

◆ Get() [2/2]

const std::string& google::protobuf.internal::InlinedStringField::Get ( ) const
inline

◆ get_const()

const std::string * google::protobuf.internal::InlinedStringField::get_const ( ) const
inlineprivate

◆ get_mutable()

std::string * google::protobuf.internal::InlinedStringField::get_mutable ( )
inlineprivate

◆ GetNoArena() [1/2]

const PROTOBUF_NDEBUG_INLINE std::string& google::protobuf.internal::InlinedStringField::GetNoArena ( ) const

◆ GetNoArena() [2/2]

const std::string & google::protobuf.internal::InlinedStringField::GetNoArena ( ) const
inline

◆ Init()

void google::protobuf.internal::InlinedStringField::Init ( )
inline

◆ IsDefault() [1/2]

bool google::protobuf.internal::InlinedStringField::IsDefault ( const std::string *  )
inline

◆ IsDefault() [2/2]

bool google::protobuf.internal::InlinedStringField::IsDefault ( const std::string *  ) const
inline

◆ Mutable() [1/3]

std::string * google::protobuf.internal::InlinedStringField::Mutable ( ArenaStringPtr::EmptyDefault  ,
Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)

Definition at line 58 of file inlined_string_field.cc.

◆ Mutable() [2/3]

std::string * google::protobuf.internal::InlinedStringField::Mutable ( const LazyString default_value,
Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)

Definition at line 48 of file inlined_string_field.cc.

◆ Mutable() [3/3]

std::string* google::protobuf.internal::InlinedStringField::Mutable ( const std::string *  default_value,
Arena  
)
inline

◆ MutableNoArena()

std::string * google::protobuf.internal::InlinedStringField::MutableNoArena ( const std::string *  default_value)
inline

◆ MutableNoArenaNoDefault()

std::string * google::protobuf.internal::InlinedStringField::MutableNoArenaNoDefault ( const std::string *  )
inline

◆ MutableSlow()

std::string * google::protobuf.internal::InlinedStringField::MutableSlow ( ::google::protobuf::Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)
private

Definition at line 68 of file inlined_string_field.cc.

◆ Release() [1/2]

std::string* google::protobuf.internal::InlinedStringField::Release ( const std::string *  default_value,
Arena  
)
inline

◆ Release() [2/2]

std::string * google::protobuf.internal::InlinedStringField::Release ( const std::string *  default_value,
Arena arena,
bool  donated 
)

Definition at line 88 of file inlined_string_field.cc.

◆ ReleaseNoArena()

std::string* google::protobuf.internal::InlinedStringField::ReleaseNoArena ( const std::string *  default_value)
inline

◆ ReleaseNonDefault() [1/2]

std::string * google::protobuf.internal::InlinedStringField::ReleaseNonDefault ( const std::string *  default_value,
Arena arena 
)
inline

◆ ReleaseNonDefault() [2/2]

PROTOBUF_NODISCARD std::string* google::protobuf.internal::InlinedStringField::ReleaseNonDefault ( const std::string *  default_value,
Arena arena 
)

◆ ReleaseNonDefaultNoArena() [1/2]

std::string * google::protobuf.internal::InlinedStringField::ReleaseNonDefaultNoArena ( const std::string *  default_value)
inline

◆ ReleaseNonDefaultNoArena() [2/2]

std::string* google::protobuf.internal::InlinedStringField::ReleaseNonDefaultNoArena ( const std::string *  default_value)

◆ Set() [1/7]

void google::protobuf.internal::InlinedStringField::Set ( const std::string *  default_value,
const std::string &  value,
Arena  
)
inline

◆ Set() [2/7]

void google::protobuf.internal::InlinedStringField::Set ( const std::string *  default_value,
ConstStringParam  value,
Arena arena,
bool  donated,
uint32_t ,
uint32_t   
)
inline

◆ Set() [3/7]

void google::protobuf.internal::InlinedStringField::Set ( const std::string *  default_value,
std::string &&  value,
Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)

Definition at line 82 of file inlined_string_field.cc.

◆ Set() [4/7]

void google::protobuf.internal::InlinedStringField::Set ( const std::string *  default_value,
StringPiece  value,
Arena  
)
inline

◆ Set() [5/7]

template<typename FirstParam >
void google::protobuf.internal::InlinedStringField::Set ( FirstParam  p1,
const char *  str,
::google::protobuf::Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)
inline

◆ Set() [6/7]

template<typename FirstParam >
void google::protobuf.internal::InlinedStringField::Set ( FirstParam  p1,
const char *  str,
size_t  size,
::google::protobuf::Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)
inline

◆ Set() [7/7]

template<typename FirstParam , typename RefWrappedType >
void google::protobuf.internal::InlinedStringField::Set ( FirstParam  p1,
std::reference_wrapper< RefWrappedType >  const_string_ref,
::google::protobuf::Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)
inline

◆ SetAllocated() [1/2]

void google::protobuf.internal::InlinedStringField::SetAllocated ( const std::string *  default_value,
std::string *  value,
Arena  
)
inline

◆ SetAllocated() [2/2]

void google::protobuf.internal::InlinedStringField::SetAllocated ( const std::string *  default_value,
std::string *  value,
Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)

Definition at line 75 of file inlined_string_field.cc.

◆ SetAllocatedNoArena() [1/2]

void google::protobuf.internal::InlinedStringField::SetAllocatedNoArena ( const std::string *  default_value,
std::string *  value 
)
inline

◆ SetAllocatedNoArena() [2/2]

void google::protobuf.internal::InlinedStringField::SetAllocatedNoArena ( const std::string *  default_value,
std::string *  value 
)

◆ SetBytes() [1/2]

template<typename FirstParam >
void google::protobuf.internal::InlinedStringField::SetBytes ( FirstParam  p1,
const void *  str,
size_t  size,
::google::protobuf::Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)
inline

◆ SetBytes() [2/2]

template<typename FirstParam , typename SecondParam >
void google::protobuf.internal::InlinedStringField::SetBytes ( FirstParam  p1,
SecondParam &&  p2,
::google::protobuf::Arena arena,
bool  donated,
uint32_t donating_states,
uint32_t  mask 
)
inline

◆ SetLite() [1/2]

void google::protobuf.internal::InlinedStringField::SetLite ( const std::string *  default_value,
const std::string &  value,
Arena  
)
inline

◆ SetLite() [2/2]

void google::protobuf.internal::InlinedStringField::SetLite ( const std::string *  default_value,
StringPiece  value,
Arena  
)
inline

◆ SetNoArena() [1/5]

void google::protobuf.internal::InlinedStringField::SetNoArena ( const std::string *  default_value,
const std::string &  value 
)
inline

◆ SetNoArena() [2/5]

PROTOBUF_NDEBUG_INLINE void google::protobuf.internal::InlinedStringField::SetNoArena ( const std::string *  default_value,
std::string &&  value 
)

◆ SetNoArena() [3/5]

void google::protobuf.internal::InlinedStringField::SetNoArena ( const std::string *  default_value,
std::string &&  value 
)
inline

◆ SetNoArena() [4/5]

PROTOBUF_NDEBUG_INLINE void google::protobuf.internal::InlinedStringField::SetNoArena ( const std::string *  default_value,
StringPiece  value 
)

◆ SetNoArena() [5/5]

void google::protobuf.internal::InlinedStringField::SetNoArena ( const std::string *  default_value,
StringPiece  value 
)
inline

◆ Swap() [1/2]

void google::protobuf.internal::InlinedStringField::Swap ( InlinedStringField from)
inline

◆ Swap() [2/2]

void google::protobuf.internal::InlinedStringField::Swap ( InlinedStringField from,
const std::string *  default_value,
Arena arena,
bool  donated,
bool  from_donated,
uint32_t donating_states,
uint32_t from_donating_states,
uint32_t  mask 
)
inline

◆ UnsafeArenaRelease()

std::string * google::protobuf.internal::InlinedStringField::UnsafeArenaRelease ( const std::string *  default_value,
Arena arena 
)
inline

◆ UnsafeArenaSetAllocated()

void google::protobuf.internal::InlinedStringField::UnsafeArenaSetAllocated ( const std::string *  default_value,
std::string *  value,
Arena arena 
)
inline

◆ UnsafeMutablePointer() [1/2]

std::string * google::protobuf.internal::InlinedStringField::UnsafeMutablePointer ( )
inline

◆ UnsafeMutablePointer() [2/2]

PROTOBUF_NDEBUG_INLINE std::string* google::protobuf.internal::InlinedStringField::UnsafeMutablePointer ( )

◆ UnsafeSetDefault()

void google::protobuf.internal::InlinedStringField::UnsafeSetDefault ( const std::string *  default_value)
inline

Friends And Related Function Documentation

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena
friend

Member Data Documentation

◆ value_ [1/2]

std::string google::protobuf.internal::InlinedStringField::value_
private

◆ value_ [2/2]

char google::protobuf.internal::InlinedStringField::value_[sizeof(std::string)]
private

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


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