AllocInfo

AllocInfo
struct AllocInfo {
  unsigned StatId;
  unsigned Line;
  const char* pFileName;
};
Description

AllocInfo provides optional debugging support for allocations in memory heaps (used in debug configurations). This allows for detailed memory leak reports and memory usage statistics. 

StatId is used to identify and group allocation for statistic reporting. Line and pFileName are used to report the memory leaks when heap is released as a whole. 

Data Members
Data Member 
Description 
Line 
Tracks location in code where allocation took place so that it can be reported to debug memory leaks. 
Name of the file for which allocation took place and is used to report memory leaks. 
User specified identifier for allocation category. 
Methods
Method 
Description 
AllocInfo constructor. 
File

SF_AllocInfo.h