// GetAllocationInfo void Attribute::GetAllocationInfo(AllocationInfo &info) { DataContainer::GetAllocationInfo(info); info.AddAttributeAllocation(GetSize()); info.AddStringAllocation(fName.GetLength()); }
// GetAllocationInfo void Entry::GetAllocationInfo(AllocationInfo &info) { info.AddEntryAllocation(); info.AddStringAllocation(fName.GetLength()); fNode->GetAllocationInfo(info); }
// GetAllocationInfo void Volume::GetAllocationInfo(AllocationInfo &info) { // tables info.AddOtherAllocation(sizeof(NodeTable)); fNodeTable->GetAllocationInfo(info); info.AddOtherAllocation(sizeof(DirectoryEntryTable)); fDirectoryEntryTable->GetAllocationInfo(info); info.AddOtherAllocation(sizeof(NodeAttributeTable)); fNodeAttributeTable->GetAllocationInfo(info); // node hierarchy fRootDirectory->GetAllocationInfo(info); // name info.AddStringAllocation(fName.GetLength()); // block allocator info.AddOtherAllocation(sizeof(BlockAllocator)); fBlockAllocator->GetAllocationInfo(info); }