| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Gets the memory size needed for the class instance and its data.
Source position: lazfilecache.pas line 91
| public function TFileStateCache.CalcMemSize: PtrUint; | 
Memory size needed to store the class instance and its data.
CalcMemSize is a name function used to get the amount of memory needed for the class instance, including data stored in its properties. The return value is a sum of the InstanceSize and the lengths for the String values in FileName and PhysicalFilename.
| 
 | Name for the file or directory in the cache item. | |
| 
 | Physical name for the file or directory in the cache item. | |
| Version 4.0 | Generated 2025-05-03 | Home |