Public Attributes

Burger::FileManager::ExpandCache_t Struct Reference

Structure to contain a directory cache entry. More...

List of all members.

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.

Detailed Description

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.

See also:
Burger::FileManager and Burger::FileManager::InitDirectoryCache(void)
Note:
Only available on MacOS

Member Data Documentation

Directory ID.

Pointer to the original directory name.

Volume reference number.

Last time hit (For purging).

Length of the string.

Structure padding.