Play-/Source/ISO9660/DirectoryRecord.h

30 lines
530 B
C
Raw Permalink Normal View History

2014-07-12 21:59:58 -04:00
#pragma once
#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();
2018-04-30 21:01:23 +01:00
bool IsDirectory() const;
uint8 GetLength() const;
const char* GetName() const;
uint32 GetPosition() const;
uint32 GetDataLength() const;
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
};
}