QxOrm 1.5.0
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

QxOrm library memory leak detection (by Wu Yongwei) More...

Classes

class  __debug_new_counter
 
class  __debug_new_recorder
 
struct  __nvwa_compile_time_error
 
struct  __nvwa_compile_time_error< true >
 
class  bool_array
 
class  class_level_lock
 
struct  delete_object
 
struct  dereference
 
struct  dereference_less
 
class  fast_mutex
 
class  fast_mutex_autolock
 
class  fixed_mem_pool
 
class  mem_pool_base
 
class  object_level_lock
 
struct  output_object
 
class  static_mem_pool
 
class  static_mem_pool_set
 

Typedefs

typedef unsigned char BYTE
 
typedef double pctimer_t
 

Functions

QX_DLL_EXPORT int check_leaks ()
 
QX_DLL_EXPORT int check_mem_corruption ()
 
__inline pctimer_t pctimer (void)
 
template<class _Container, class _InputIter>
_Container & set_assign_union (_Container &__dest, _InputIter __first, _InputIter __last)
 
template<class _Container, class _InputIter, class _Compare>
_Container & set_assign_union (_Container &__dest, _InputIter __first, _InputIter __last, _Compare __comp)
 
template<class _Container, class _InputIter>
_Container & set_assign_difference (_Container &__dest, _InputIter __first, _InputIter __last)
 
template<class _Container, class _InputIter, class _Compare>
_Container & set_assign_difference (_Container &__dest, _InputIter __first, _InputIter __last, _Compare __comp)
 

Variables

bool new_autocheck_flag
 
bool new_verbose_flag
 
FILE * new_output_fp
 
const char * new_progname
 
static __debug_new_counter __debug_new_count
 
template<class _Tp>
void * fixed_mem_pool< _Tp >::_S_mem_pool_ptr = NULL
 
template<class _Tp>
void * fixed_mem_pool< _Tp >::_S_first_avail_ptr = NULL
 
template<class _Tp>
int fixed_mem_pool< _Tp >::_S_alloc_cnt = 0
 
template<size_t _Sz, int _Gid>
bool static_mem_pool< _Sz, _Gid >::_S_destroyed = false
 
template<size_t _Sz, int _Gid>
mem_pool_base::_Block_liststatic_mem_pool< _Sz, _Gid >::_S_memory_block_p = NULL
 
template<size_t _Sz, int _Gid>
static_mem_pool< _Sz, _Gid > * static_mem_pool< _Sz, _Gid >::_S_instance_p = _S_create_instance()
 

Detailed Description

QxOrm library memory leak detection (by Wu Yongwei)

Typedef Documentation

◆ BYTE

typedef unsigned char qx::memory::BYTE

Definition at line 62 of file bool_array.h.

◆ pctimer_t

typedef double qx::memory::pctimer_t

Definition at line 48 of file pctimer.h.

Function Documentation

◆ check_leaks()

QX_DLL_EXPORT int qx::memory::check_leaks ( )

◆ check_mem_corruption()

QX_DLL_EXPORT int qx::memory::check_mem_corruption ( )

◆ pctimer()

__inline pctimer_t qx::memory::pctimer ( void )

Definition at line 97 of file pctimer.h.

◆ set_assign_difference() [1/2]

template<class _Container, class _InputIter>
_Container & qx::memory::set_assign_difference ( _Container & __dest,
_InputIter __first,
_InputIter __last )

Definition at line 112 of file set_assign.h.

◆ set_assign_difference() [2/2]

template<class _Container, class _InputIter, class _Compare>
_Container & qx::memory::set_assign_difference ( _Container & __dest,
_InputIter __first,
_InputIter __last,
_Compare __comp )

Definition at line 134 of file set_assign.h.

◆ set_assign_union() [1/2]

template<class _Container, class _InputIter>
_Container & qx::memory::set_assign_union ( _Container & __dest,
_InputIter __first,
_InputIter __last )

Definition at line 57 of file set_assign.h.

◆ set_assign_union() [2/2]

template<class _Container, class _InputIter, class _Compare>
_Container & qx::memory::set_assign_union ( _Container & __dest,
_InputIter __first,
_InputIter __last,
_Compare __comp )

Definition at line 84 of file set_assign.h.

Variable Documentation

◆ __debug_new_count

__debug_new_counter qx::memory::__debug_new_count
static

Counting object for each file including debug_new.h.

Definition at line 212 of file debug_new.h.

◆ fixed_mem_pool< _Tp >::_S_alloc_cnt

template<class _Tp>
int qx::memory::fixed_mem_pool< _Tp >::_S_alloc_cnt = 0

Count of allocations.

Definition at line 117 of file fixed_mem_pool.h.

◆ fixed_mem_pool< _Tp >::_S_first_avail_ptr

template<class _Tp>
void* qx::memory::fixed_mem_pool< _Tp >::_S_first_avail_ptr = NULL

Pointer to the first available memory block.

Definition at line 113 of file fixed_mem_pool.h.

◆ fixed_mem_pool< _Tp >::_S_mem_pool_ptr

template<class _Tp>
void* qx::memory::fixed_mem_pool< _Tp >::_S_mem_pool_ptr = NULL

Pointer to the allocated chunk of memory.

Definition at line 109 of file fixed_mem_pool.h.

◆ new_autocheck_flag

bool qx::memory::new_autocheck_flag
extern

◆ new_output_fp

FILE* qx::memory::new_output_fp
extern

◆ new_progname

const char* qx::memory::new_progname
extern

◆ new_verbose_flag

bool qx::memory::new_verbose_flag
extern

◆ static_mem_pool< _Sz, _Gid >::_S_destroyed

template<size_t _Sz, int _Gid>
bool qx::memory::static_mem_pool< _Sz, _Gid >::_S_destroyed = false

Definition at line 238 of file static_mem_pool.h.

◆ static_mem_pool< _Sz, _Gid >::_S_instance_p

template<size_t _Sz, int _Gid>
static_mem_pool<_Sz, _Gid>* qx::memory::static_mem_pool< _Sz, _Gid >::_S_instance_p = _S_create_instance()

Definition at line 242 of file static_mem_pool.h.

◆ static_mem_pool< _Sz, _Gid >::_S_memory_block_p

template<size_t _Sz, int _Gid>
mem_pool_base::_Block_list* qx::memory::static_mem_pool< _Sz, _Gid >::_S_memory_block_p = NULL

Definition at line 240 of file static_mem_pool.h.