blob: 1dd4b377ab167fb3554040cb0d9f9cdcb3626ead [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_LIB_STORAGE_VFS_CPP_METRICS_OBJECT_OFFSETS_H_
#define SRC_LIB_STORAGE_VFS_CPP_METRICS_OBJECT_OFFSETS_H_
#include "src/lib/storage/vfs/cpp/metrics/object_generator.h"
#include "src/lib/storage/vfs/cpp/metrics/offsets.h"
namespace fs_metrics {
// This library provides a helper struct that specializes both ObjectGenerator and Offsets with the
// same argument pack. This provides a single point of update. For documentation see ObjectGenerator
// and Offsets.
template <typename... AttributeList>
struct ObjectOffsets : Offsets<AttributeList...>, ObjectGenerator<AttributeList...> {};
} // namespace fs_metrics
#endif // SRC_LIB_STORAGE_VFS_CPP_METRICS_OBJECT_OFFSETS_H_