libgig
4.0.0
|
Encapsulates one disk partition of an AKAI disk. More...
#include <Akai.h>
Public Member Functions | |
uint | ListVolumes (std::list< AkaiDirEntry > &rVolumes) |
AkaiVolume * | GetVolume (uint Index) |
AkaiVolume * | GetVolume (const String &rName) |
AkaiDisk * | GetParent () |
bool | IsEmpty () |
uint | GetOffset () |
uint | Acquire () |
uint | Release () |
Protected Member Functions | |
void | SetOffset (uint Offset) |
void | AkaiToAscii (char *buffer, int length) |
int | ReadFAT (DiskImage *pDisk, AkaiPartition *pPartition, int block) |
bool | ReadDirEntry (DiskImage *pDisk, AkaiPartition *pPartition, AkaiDirEntry &rEntry, int block, int pos) |
Friends | |
class | AkaiDisk |
Encapsulates one disk partition of an AKAI disk.
An object of this class represents exactly one disk partition of an AKAI disk media or of an AKAI disk image file. This is similar to a hard disk partition on other operating systems, just in AKAI's own custom format.
Each AKAI disk partition is further subdivided into so called "volumes".
|
inlineinherited |
Definition at line 182 of file Akai.h.
Referenced by AkaiDisk::GetPartitionCount(), and ListVolumes().
|
protectedinherited |
Definition at line 1237 of file Akai.cpp.
Referenced by AkaiProgram::Load(), AkaiSample::LoadHeader(), and AkaiDiskElement::ReadDirEntry().
|
inlineinherited |
Definition at line 219 of file Akai.h.
Referenced by AkaiProgram::Load(), AkaiSample::LoadHeader(), AkaiDiskElement::ReadDirEntry(), and AkaiDiskElement::ReadFAT().
AkaiVolume * AkaiPartition::GetVolume | ( | uint | Index | ) |
Definition at line 1064 of file Akai.cpp.
References ListVolumes().
AkaiVolume * AkaiPartition::GetVolume | ( | const String & | rName | ) |
Definition at line 1088 of file Akai.cpp.
References ListVolumes().
bool AkaiPartition::IsEmpty | ( | ) |
Definition at line 1109 of file Akai.cpp.
References ListVolumes().
Referenced by AkaiDisk::GetPartitionCount().
uint AkaiPartition::ListVolumes | ( | std::list< AkaiDirEntry > & | rVolumes | ) |
Definition at line 1028 of file Akai.cpp.
References Resource::Acquire(), AKAI_MAX_DIR_ENTRIES, AKAI_ROOT_ENTRY_OFFSET, AKAI_TYPE_DIR_S1000, AKAI_TYPE_DIR_S3000, AkaiVolume::IsEmpty(), AkaiDirEntry::mIndex, AkaiDirEntry::mType, AkaiDiskElement::ReadDirEntry(), and Resource::Release().
Referenced by GetVolume(), and IsEmpty().
|
protectedinherited |
Definition at line 1189 of file Akai.cpp.
References AKAI_BLOCK_SIZE, AKAI_DIR_ENTRY_OFFSET, AKAI_DIR_ENTRY_SIZE, AKAI_FILE_ENTRY_SIZE, AKAI_ROOT_ENTRY_OFFSET, akai_stream_curpos, AkaiDiskElement::AkaiToAscii(), AkaiDiskElement::GetOffset(), AkaiDirEntry::mName, AkaiDirEntry::mSize, AkaiDirEntry::mStart, AkaiDirEntry::mType, DiskImage::Read(), AkaiDiskElement::ReadFAT(), DiskImage::ReadInt16(), and DiskImage::SetPos().
Referenced by ListVolumes().
|
protectedinherited |
Definition at line 1180 of file Akai.cpp.
References AKAI_FAT_OFFSET, AkaiDiskElement::GetOffset(), DiskImage::Read(), and DiskImage::SetPos().
Referenced by AkaiDiskElement::ReadDirEntry().
|
inlineinherited |
Definition at line 186 of file Akai.h.
Referenced by ListVolumes().
|
inlineprotectedinherited |
Definition at line 225 of file Akai.h.
Referenced by AkaiDisk::GetPartitionCount().