#pragma once
#include <common/memory.h>
-#include <common/enum_class.h>
+
+#include <boost/property_tree/ptree_fwd.hpp>
#include <cstdint>
// Static Members
- struct usage_def
+ enum class usage
{
- enum type
- {
- write_only,
- read_only
- };
+ write_only,
+ read_only
};
- typedef enum_class<usage_def> usage;
// Constructors
int id() const;
+ static boost::property_tree::wptree info();
private:
struct impl;
spl::unique_ptr<impl> impl_;