#include "le_object_table_entry.hpp" #include "parse.hpp" #include "output.hpp" #include BOOST_FUSION_ADAPT_STRUCT( le::ObjectTableEntry, (binparse::Value32, virtual_size) (binparse::Offset32, reloc_base_address) (binparse::Value32, ojbect_flags) (binparse::Value32, page_table_index) (binparse::Value32, nr_page_table_entries) (binparse::Value32, reserved) ) namespace le { ObjectTableEntry parse_object_table_entry(std::istream& is) { using binparse::parse; return parse(is); } std::ostream& operator<<(std::ostream& os, const ObjectTableEntry& entry) { return binparse::operator<<(os, entry); } }