blob: 80b196dabb89f68b48e8510d63222c4f670a48ac [file] [log] [blame]
// Copyright 2020 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 DISK_INSPECTOR_SUPPORTED_TYPES_H_
#define DISK_INSPECTOR_SUPPORTED_TYPES_H_
#include <map>
namespace disk_inspector {
// Enum listing the types that DiskStruct is able to parse. This is necessary
// because we currently do not have runtime type information support to use
// typeid and type_info.
enum class FieldType {
kNotSupported,
kUint8,
kUint16,
kUint32,
kUint64,
kDiskStruct,
};
// Options controlling how to display a DiskStruct/DiskPrimitive as a string.
struct PrintOptions {
bool display_hex;
bool hide_array;
};
} // namespace disk_inspector
#endif // DISK_INSPECTOR_SUPPORTED_TYPES_H_