TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::internal::RepeatedStringTypeTraits Class Reference

#include <extension_set.h>

Public Types

typedef const string & ConstType
 
typedef string * MutableType
 
typedef RepeatedStringTypeTraits Repeated
 
typedef RepeatedPtrField< string > RepeatedFieldType
 

Static Public Member Functions

static const string & Get (int number, const ExtensionSet &set, int index)
 
static void Set (int number, int index, const string &value, ExtensionSet *set)
 
static string * Mutable (int number, int index, ExtensionSet *set)
 
static void Add (int number, FieldType field_type, bool, const string &value, ExtensionSet *set)
 
static string * Add (int number, FieldType field_type, ExtensionSet *set)
 
static const RepeatedPtrField
< string > & 
GetRepeated (int number, const ExtensionSet &set)
 
static RepeatedPtrField< string > * MutableRepeated (int number, FieldType field_type, bool is_packed, ExtensionSet *set)
 
static const RepeatedFieldTypeGetDefaultRepeatedField ()
 

Static Private Attributes

static const RepeatedFieldTypedefault_repeated_field_
 

Friends

void InitializeDefaultRepeatedFields ()
 
void DestroyDefaultRepeatedFields ()
 

Member Typedef Documentation

Member Function Documentation

static void google::protobuf::internal::RepeatedStringTypeTraits::Add ( int  number,
FieldType  field_type,
bool  ,
const string &  value,
ExtensionSet set 
)
inlinestatic
822  {
823  set->AddString(number, field_type, value, NULL);
824  }
arena_t NULL
Definition: jemalloc_internal.h:624
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

static string* google::protobuf::internal::RepeatedStringTypeTraits::Add ( int  number,
FieldType  field_type,
ExtensionSet set 
)
inlinestatic
826  {
827  return set->AddString(number, field_type, NULL);
828  }
arena_t NULL
Definition: jemalloc_internal.h:624

+ Here is the call graph for this function:

static const string& google::protobuf::internal::RepeatedStringTypeTraits::Get ( int  number,
const ExtensionSet set,
int  index 
)
inlinestatic
810  {
811  return set.GetRepeatedString(number, index);
812  }

+ Here is the call graph for this function:

static const RepeatedFieldType* google::protobuf::internal::RepeatedStringTypeTraits::GetDefaultRepeatedField ( )
inlinestatic
843  {
845  }
static const RepeatedFieldType * default_repeated_field_
Definition: extension_set.h:850
static const RepeatedPtrField<string>& google::protobuf::internal::RepeatedStringTypeTraits::GetRepeated ( int  number,
const ExtensionSet set 
)
inlinestatic
830  {
831  return *reinterpret_cast<const RepeatedPtrField<string>*>(
832  set.GetRawRepeatedField(number, GetDefaultRepeatedField()));
833  }
static const RepeatedFieldType * GetDefaultRepeatedField()
Definition: extension_set.h:843

+ Here is the call graph for this function:

static string* google::protobuf::internal::RepeatedStringTypeTraits::Mutable ( int  number,
int  index,
ExtensionSet set 
)
inlinestatic
817  {
818  return set->MutableRepeatedString(number, index);
819  }

+ Here is the call graph for this function:

static RepeatedPtrField<string>* google::protobuf::internal::RepeatedStringTypeTraits::MutableRepeated ( int  number,
FieldType  field_type,
bool  is_packed,
ExtensionSet set 
)
inlinestatic
837  {
838  return reinterpret_cast<RepeatedPtrField<string>*>(
839  set->MutableRawRepeatedField(number, field_type,
840  is_packed, NULL));
841  }
arena_t NULL
Definition: jemalloc_internal.h:624

+ Here is the call graph for this function:

static void google::protobuf::internal::RepeatedStringTypeTraits::Set ( int  number,
int  index,
const string &  value,
ExtensionSet set 
)
inlinestatic
814  {
815  set->SetRepeatedString(number, index, value);
816  }
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

Friends And Related Function Documentation

void DestroyDefaultRepeatedFields ( )
friend
void InitializeDefaultRepeatedFields ( )
friend

Member Data Documentation

const RepeatedFieldType* google::protobuf::internal::RepeatedStringTypeTraits::default_repeated_field_
staticprivate

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