generated from bing/readnotes
24 lines
558 B
C
24 lines
558 B
C
|
#ifndef __CMAP_HEADER_H__
|
||
|
#define __CMAP_HEADER_H__
|
||
|
#include <cstdint>
|
||
|
#include "encoding_record.h"
|
||
|
#include <list>
|
||
|
class CmapHeader
|
||
|
{
|
||
|
private:
|
||
|
uint16_t _version;
|
||
|
uint16_t _numTables;
|
||
|
std::list<CmapEncodingRecord> _recordTables;
|
||
|
public:
|
||
|
CmapHeader():_version(0),_numTables(0), _recordTables(){};
|
||
|
CmapHeader(reader*);
|
||
|
~CmapHeader(){};
|
||
|
void read(reader*);
|
||
|
uint16_t version(){return _version;};
|
||
|
uint16_t numberTables(){return _numTables;};
|
||
|
std::list<CmapEncodingRecord> recordTables(){return _recordTables;};
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|