YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
内存块列表。 更多...
#include <ynew.h>
类 | |
struct | BlockInfo |
exception | NewRecorder |
Public 类型 | |
typedef std::map< const void *, BlockInfo, std::less< const void * > , __gnu_cxx::malloc_allocator < std::pair< const void *const, BlockInfo > > > | MapType |
typedef std::list< std::pair < const void *, BlockInfo > , __gnu_cxx::malloc_allocator < std::pair< const void *, BlockInfo > > > | ListType |
Public 成员函数 | |
MemoryList (void(*)()) | |
MapType::size_type | GetSize () const ynothrow |
void | Register (const void *, std::size_t, const char *, int) |
void | Unregister (const void *, const char *, int) |
void | PrintAll (std::FILE *) |
void | PrintAllDuplicate (std::FILE *) |
静态 Public 成员函数 | |
static void | Print (const MapType::value_type &, std::FILE *) |
Public 属性 | |
MapType | Blocks |
ListType | DuplicateDeletedBlocks |
额外继承的成员函数 | |
![]() | |
noncopyable (const noncopyable &)=delete | |
禁止复制构造。 | |
noncopyable & | operator= (const noncopyable &)=delete |
禁止赋值复制。 | |
noncopyable ()=default | |
protected 构造:默认实现。 | |
~noncopyable ()=default | |
protected 析构:默认实现。 | |
typedef std::list<std::pair<const void*, BlockInfo>, __gnu_cxx::malloc_allocator<std::pair<const void*, BlockInfo> > > YSLib::MemoryList::ListType |
typedef std::map<const void*, BlockInfo, std::less<const void*>, __gnu_cxx::malloc_allocator<std::pair<const void* const, BlockInfo> > > YSLib::MemoryList::MapType |
|
explicit |
|
static |
void YSLib::MemoryList::PrintAll | ( | std::FILE * | ) |
void YSLib::MemoryList::PrintAllDuplicate | ( | std::FILE * | ) |
void YSLib::MemoryList::Register | ( | const void * | , |
std::size_t | , | ||
const char * | , | ||
int | |||
) |
void YSLib::MemoryList::Unregister | ( | const void * | , |
const char * | , | ||
int | |||
) |