#ifndef __NAME_H__ #define __NAME_H__ #include #include #include #include #include "../../../reader/reader.h" #include "name_head.h" class NameTable { private: uint16_t offset; uint16_t len; nameTableHeader header; std::map names; public: NameTable():offset(0),len(0),header(),names({}){}; ~NameTable() {}; NameTable(reader *, uint16_t); void readHeader(reader*); void read(reader *, uint16_t); void readRecord(reader *); void display(); void readName(reader*, nameRecord); }; #endif