Structure to contain a directory cache entry. More...
Public Attributes | |
| const char * | m_pName |
| Pointer to the original directory name. | |
| Word32 | m_uHitTick |
| Last time hit (For purging). | |
| long | m_lDirID |
| Directory ID. | |
| Word | m_uNameLength |
| Length of the string. | |
| short | m_sVRefNum |
| Volume reference number. | |
| short | padding |
| Structure padding. | |
Structure to contain a directory cache entry.
For performance, a cache of the last Burger::FileManager::DIRCACHESIZE MacOS directories are stored with their Directory IDs and volume reference numbers. Since these number can ba invalidate when a directory is deleted or created, any call to a Burgerlib function that performs that action will also purge this cache.
When a Burgerlib path is parsed, a Directory ID and Volume Reference needs to be generated. If the directory exists in the cache, the values found here will be used. If not, it will be determined and added to the cache.
Directory ID.
| const char* Burger::FileManager::ExpandCache_t::m_pName |
Pointer to the original directory name.
Volume reference number.
Last time hit (For purging).
Length of the string.
Structure padding.
1.7.1