TPhysicalMemoryBlock
TMemoryBlock
that physically allocates and frees the memory required to hold
Size
bytes.
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TSerializableObject | Abstract base class for an object that supports reading from and writing to a stream. |
4 | TByteBlock | Abstract base class for a block of TByte |
5 | TMemoryBlock | TByteBlock for internal memory. |
6 | TPhysicalMemoryBlock |
Source
Memory.Block.Physical.pas (27)
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TPositiveInteger32 | FCapacity | |
Instance | protected | PByte | FAddress | |
Instance | protected | TPositiveInteger32 | FSize |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | private | SetCapacity(Value: TPositiveInteger32) | ||
Instance | private | RescaleCapacity(NewSize: TPositiveInteger32) | ||
Instance | protected | PByte | GetAddress() | |
Instance | protected | TPositiveInteger32 | GetSize() | |
Instance | protected | SetSize(Value: TPositiveInteger32) | ||
Instance | public | Create(Size: TPositiveInteger32) | ||
Instance | public | Destroy() | ||
Instance | public | TMemoryBlock | Copy() | |
Type | public | TPhysicalMemoryBlock | CreateAsCopy(Source: TByteBlock) |