#ifndef __TABLE_CMAP_H__ #define __TABLE_CMAP_H__ #include "../../../reader/reader.h" #include "tables.h" #include "header.h" class CmapTable { private: CmapHeader _header; uint16_t _tableFormat; CmapTableBase *_table; public: CmapTable():_tableFormat(0),_table(nullptr){}; ~CmapTable(){}; CmapTable(reader* rd){read(rd);}; void read(reader*); uint16_t tableFormat()const{return _tableFormat;} CmapTableBase* table()const{return _table;} CmapHeader header()const{return _header;} }; #endif