Skip to content
Snippets Groups Projects

Implement binary view metadata retrieval

Merged Mateusz Tyszczak requested to merge tm-implement-binary-view-meta-retrieval into develop
Compare and
28 files
+ 1540
6752
Compare changes
  • Side-by-side
  • Inline
Files
28
+ 33
0
#pragma once
#include <string>
namespace cpp { namespace binary_view {
enum class node_type_enum
{
object,
array,
scalar
};
struct object_node
{
inline static std::string name{ "object" };
static constexpr node_type_enum value{ node_type_enum::object };
};
struct array_node
{
inline static std::string name{ "array" };
static constexpr node_type_enum value{ node_type_enum::array };
};
struct scalar_node
{
inline static std::string name{ "scalar" };
static constexpr node_type_enum value{ node_type_enum::scalar };
};
}} // namespace cpp::binary_view
Loading