Play-/Source/ISO9660/PathTable.h

27 lines
490 B
C
Raw Normal View History

2014-07-12 21:59:58 -04:00
#pragma once
#include "BlockProvider.h"
#include "PathTableRecord.h"
#include "Types.h"
#include <map>
namespace ISO9660
{
class CPathTable
{
public:
2018-04-30 21:01:23 +01:00
CPathTable(CBlockProvider*, uint32);
~CPathTable();
2018-04-30 21:01:23 +01:00
unsigned int FindRoot() const;
unsigned int FindDirectory(const char*, unsigned int) const;
uint32 GetDirectoryAddress(unsigned int) const;
private:
2014-07-12 21:59:58 -04:00
typedef std::map<size_t, CPathTableRecord> RecordMapType;
2018-04-30 21:01:23 +01:00
RecordMapType m_records;
};
}