BOOL CBCGPGridCache::AddCache | ( | int | nId | ) |
Allocates a new cached page.
Call this function to allocate a new cache page. When the page count exceeds the m_nCachePageCount limit, the CBCGPGridCache class automatically frees one of the previously added pages.
nId | Zero-based index of the cached item. |