libgig  3.3.0.svn20
AkaiPartition Class Reference

Encapsulates one disk partition of an AKAI disk. More...

#include <Akai.h>

Inheritance diagram for AkaiPartition:
AkaiDiskElement Resource

Public Member Functions

uint ListVolumes (std::list< AkaiDirEntry > &rVolumes)
 
AkaiVolumeGetVolume (uint Index)
 
AkaiVolumeGetVolume (const String &rName)
 
AkaiDiskGetParent ()
 
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
 

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 660 of file Akai.h.

Member Function Documentation

uint Resource::Acquire ( )
inlineinherited

Definition at line 182 of file Akai.h.

Referenced by AkaiDisk::GetPartitionCount(), and ListVolumes().

void AkaiDiskElement::AkaiToAscii ( char *  buffer,
int  length 
)
protectedinherited
uint AkaiDiskElement::GetOffset ( )
inlineinherited
AkaiDisk* AkaiPartition::GetParent ( )
inline

Definition at line 668 of file Akai.h.

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().

int AkaiDiskElement::ReadFAT ( DiskImage pDisk,
AkaiPartition pPartition,
int  block 
)
protectedinherited
uint Resource::Release ( )
inlineinherited

Definition at line 186 of file Akai.h.

Referenced by ListVolumes().

void AkaiDiskElement::SetOffset ( uint  Offset)
inlineprotectedinherited

Definition at line 225 of file Akai.h.

Referenced by AkaiDisk::GetPartitionCount().

Friends And Related Function Documentation

friend class AkaiDisk
friend

Definition at line 678 of file Akai.h.


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