SuperBlock Class

Definition

Line 183 of cmsxk/Block.cm

Inheritance

Constructors & Destructor

public nothrow SuperBlock(BlockManager* manager_, BlockCache* cache_)

Member Functions

public nothrow int GetFirstBlockBitmapBlockNumber() const
public nothrow int GetFirstDataBlockNumber() const
public nothrow int GetFirstINodeBitmapBlockNumber() const
public nothrow int GetFirstINodeBlockNumber() const
public nothrow int GetLastBlockNumber() const
public nothrow int GetNumBlockBitmapBlocks() const
public nothrow int GetNumINodeBitmapBlocks() const
public nothrow int GetNumINodeBlocks() const
public nothrow int GetRootDirINodeNumber() const
public nothrow void SetFirstBlockBitmapBlockNumber(int firstBlockBitmapBlockNumber)
public nothrow void SetFirstDataBlockNumber(int firstDataBlockNumber)
public nothrow void SetFirstINodeBitmapBlockNumber(int firstINodeBitmapBlockNumber)
public nothrow void SetFirstINodeBlockNumber(int firstINodeBlockNumber)
public nothrow void SetLastBlockNumber(int lastBlockNumber)
public nothrow void SetNumBlockBitmapBlocks(int numBlockBitmapBlocks)
public nothrow void SetNumINodeBitmapBlocks(int numINodeBitmapBlocks)
public nothrow void SetNumINodeBlocks(int numINodeBlocks)
public nothrow void SetRootDirINodeNumber(int rootDirINodeNumber)

Constants

private const int firstBlockBitmapBlockNumberOffset = 4 * 2
private const int firstDataBlockNumberOffset = 4 * 6
private const int firstINodeBitmapBlockNumberOffset = 4 * 0
private const int firstINodeBlockNumberOffset = 4 * 4
private const int lastBlockNumberOffset = 4 * 8
private const int numBlockBitmapBlocksOffset = 4 * 3
private const int numINodeBitmapBlocksOffset = 4 * 1
private const int numINodeBlocksOffset = 4 * 5
private const int rootDirINodeNumberOffset = 4 * 7

Constructor& Destructor Details

SuperBlock Constructor

public nothrow SuperBlock(BlockManager* manager_, BlockCache* cache_)

Definition
Line 185 of cmsxk/Block.cm


Member Function Details

GetFirstBlockBitmapBlockNumber Member Function

public nothrow int GetFirstBlockBitmapBlockNumber()

Definition
Line 210 of cmsxk/Block.cm


GetFirstDataBlockNumber Member Function

public nothrow int GetFirstDataBlockNumber()

Definition
Line 254 of cmsxk/Block.cm


GetFirstINodeBitmapBlockNumber Member Function

public nothrow int GetFirstINodeBitmapBlockNumber()

Definition
Line 188 of cmsxk/Block.cm


GetFirstINodeBlockNumber Member Function

public nothrow int GetFirstINodeBlockNumber()

Definition
Line 232 of cmsxk/Block.cm


GetLastBlockNumber Member Function

public nothrow int GetLastBlockNumber()

Definition
Line 276 of cmsxk/Block.cm


GetNumBlockBitmapBlocks Member Function

public nothrow int GetNumBlockBitmapBlocks()

Definition
Line 221 of cmsxk/Block.cm


GetNumINodeBitmapBlocks Member Function

public nothrow int GetNumINodeBitmapBlocks()

Definition
Line 199 of cmsxk/Block.cm


GetNumINodeBlocks Member Function

public nothrow int GetNumINodeBlocks()

Definition
Line 243 of cmsxk/Block.cm


GetRootDirINodeNumber Member Function

public nothrow int GetRootDirINodeNumber()

Definition
Line 265 of cmsxk/Block.cm


SetFirstBlockBitmapBlockNumber Member Function

public nothrow void SetFirstBlockBitmapBlockNumber(int firstBlockBitmapBlockNumber)

Definition
Line 215 of cmsxk/Block.cm


SetFirstDataBlockNumber Member Function

public nothrow void SetFirstDataBlockNumber(int firstDataBlockNumber)

Definition
Line 259 of cmsxk/Block.cm


SetFirstINodeBitmapBlockNumber Member Function

public nothrow void SetFirstINodeBitmapBlockNumber(int firstINodeBitmapBlockNumber)

Definition
Line 193 of cmsxk/Block.cm


SetFirstINodeBlockNumber Member Function

public nothrow void SetFirstINodeBlockNumber(int firstINodeBlockNumber)

Definition
Line 237 of cmsxk/Block.cm


SetLastBlockNumber Member Function

public nothrow void SetLastBlockNumber(int lastBlockNumber)

Definition
Line 281 of cmsxk/Block.cm


SetNumBlockBitmapBlocks Member Function

public nothrow void SetNumBlockBitmapBlocks(int numBlockBitmapBlocks)

Definition
Line 226 of cmsxk/Block.cm


SetNumINodeBitmapBlocks Member Function

public nothrow void SetNumINodeBitmapBlocks(int numINodeBitmapBlocks)

Definition
Line 204 of cmsxk/Block.cm


SetNumINodeBlocks Member Function

public nothrow void SetNumINodeBlocks(int numINodeBlocks)

Definition
Line 248 of cmsxk/Block.cm


SetRootDirINodeNumber Member Function

public nothrow void SetRootDirINodeNumber(int rootDirINodeNumber)

Definition
Line 270 of cmsxk/Block.cm