2014-07-12 21:59:58 -04:00
|
|
|
#pragma once
|
2006-06-15 04:19:30 +00:00
|
|
|
|
|
|
|
#include "Types.h"
|
|
|
|
#include "Stream.h"
|
|
|
|
|
|
|
|
namespace ISO9660
|
|
|
|
{
|
2014-07-12 21:59:58 -04:00
|
|
|
class CDirectoryRecord
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CDirectoryRecord();
|
|
|
|
CDirectoryRecord(Framework::CStream*);
|
|
|
|
~CDirectoryRecord();
|
2006-06-15 04:19:30 +00:00
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
bool IsDirectory() const;
|
|
|
|
uint8 GetLength() const;
|
|
|
|
const char* GetName() const;
|
|
|
|
uint32 GetPosition() const;
|
|
|
|
uint32 GetDataLength() const;
|
2008-03-17 19:20:37 +00:00
|
|
|
|
2014-07-12 21:59:58 -04:00
|
|
|
private:
|
2018-04-30 21:01:23 +01:00
|
|
|
uint8 m_length = 0;
|
|
|
|
uint8 m_exLength = 0;
|
|
|
|
uint32 m_position = 0;
|
|
|
|
uint32 m_dataLength = 0;
|
|
|
|
uint8 m_flags = 0;
|
|
|
|
char m_name[256];
|
2014-07-12 21:59:58 -04:00
|
|
|
};
|
2006-06-15 04:19:30 +00:00
|
|
|
}
|