#include "perfetto/protozero/message.h"
#include "perfetto/protozero/proto_utils.h"
#ifndef INCLUDE_PERFETTO_PROTOZERO_FIELD_WRITER_H_
#define INCLUDE_PERFETTO_PROTOZERO_FIELD_WRITER_H_
namespace protozero {
namespace internal {
template <proto_utils::ProtoSchemaType proto_schema_type>
struct FieldWriter { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kDouble> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kFloat> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kBool> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kInt32> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kInt64> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kUint32> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kUint64> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kSint32> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kSint64> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kFixed32> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kFixed64> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kSfixed32> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kSfixed64> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kEnum> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kString> { … };
template <>
struct FieldWriter<proto_utils::ProtoSchemaType::kBytes> { … };
}
}
#endif