21 pResourceStream(resourceStream),
23 pResourceNode(resourceNode)
29 return (pResourceStream == resourceStream && mortonKey == otherKey);
44 void ClearResourceNodes();
53 int GetTotalNumOfAllocations()
const {
return m_totalNumOfAllocations; }
54 int GetTotalNumOfMisses()
const {
return m_totalNumOfMisses; }
55 int GetTotalNumOfDeletions()
const {
return m_totalNumOfDeletions; }
56 int GetTotalNumOfAdds()
const {
return m_totalNumOfAdds; }
57 int GetSize()
const {
return static_cast<int>(m_cachedNodes.size()); }
62 size_t m_maxResourceNodes;
63 std::list<CachedResourceNode> m_cachedNodes;
64 int m_totalNumOfAllocations;
65 int m_totalNumOfMisses;
66 int m_totalNumOfDeletions;