template <typename Type>

class PrimitiveTypeTraits

Defined at line 1319 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

Since the ExtensionSet has different methods for each primitive type,

we must explicitly define the methods of the type traits class for each

known type.

Public Members

static const bool kLifetimeBound

Public Methods

const ConstType & FromInitType (const InitType & v)

Defined at line 1324 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

ConstType Get (int number, const ExtensionSet & set, ConstType default_value)

Defined at line 1328 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

const ConstType * GetPtr (int number, const ExtensionSet & set, const ConstType & default_value)

Defined at line 1333 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

void Set (Arena * arena, int number, FieldType field_type, ConstType value, ExtensionSet * set)

Defined at line 1337 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h