libgig 4.6.1
AkaiPartition Class Reference

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)

Detailed Description

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".

Definition at line 670 of file Akai.h.

Member Function Documentation

◆ Acquire()

uint Resource::Acquire ( )
inlineinherited

Definition at line 192 of file Akai.h.

◆ AkaiToAscii()

void AkaiDiskElement::AkaiToAscii ( char * buffer,
int length )
protectedinherited

Definition at line 1249 of file Akai.cpp.

◆ GetOffset()

uint AkaiDiskElement::GetOffset ( )
inlineinherited

Definition at line 229 of file Akai.h.

◆ GetParent()

AkaiDisk * AkaiPartition::GetParent ( )
inline

Definition at line 678 of file Akai.h.

◆ GetVolume() [1/2]

AkaiVolume * AkaiPartition::GetVolume ( const String & rName)

Definition at line 1096 of file Akai.cpp.

◆ GetVolume() [2/2]

AkaiVolume * AkaiPartition::GetVolume ( uint Index)

Definition at line 1072 of file Akai.cpp.

◆ IsEmpty()

bool AkaiPartition::IsEmpty ( )

Definition at line 1117 of file Akai.cpp.

◆ ListVolumes()

uint AkaiPartition::ListVolumes ( std::list< AkaiDirEntry > & rVolumes)

Definition at line 1036 of file Akai.cpp.

◆ ReadDirEntry()

bool AkaiDiskElement::ReadDirEntry ( DiskImage * pDisk,
AkaiPartition * pPartition,
AkaiDirEntry & rEntry,
int block,
int pos )
protectedinherited

Definition at line 1197 of file Akai.cpp.

◆ ReadFAT()

int AkaiDiskElement::ReadFAT ( DiskImage * pDisk,
AkaiPartition * pPartition,
int block )
protectedinherited

Definition at line 1188 of file Akai.cpp.

◆ Release()

uint Resource::Release ( )
inlineinherited

Definition at line 196 of file Akai.h.

◆ SetOffset()

void AkaiDiskElement::SetOffset ( uint Offset)
inlineprotectedinherited

Definition at line 235 of file Akai.h.


The documentation for this class was generated from the following files: