ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Athena_test::LeakCheckDisable Struct Reference

#include <leakcheck.h>

Collaboration diagram for Athena_test::LeakCheckDisable:

Public Member Functions

 LeakCheckDisable ()
 
 ~LeakCheckDisable ()
 
void insert (void *p)
 
void erase (void *p)
 

Public Attributes

std::unordered_set< void * > * m_allocs
 

Detailed Description

Definition at line 52 of file leakcheck.h.

Constructor & Destructor Documentation

◆ LeakCheckDisable()

Athena_test::LeakCheckDisable::LeakCheckDisable ( )
inline

Definition at line 54 of file leakcheck.h.

54 : m_allocs(allocs) { allocs = nullptr; }

◆ ~LeakCheckDisable()

Athena_test::LeakCheckDisable::~LeakCheckDisable ( )
inline

Definition at line 55 of file leakcheck.h.

55 { allocs = m_allocs; }

Member Function Documentation

◆ erase()

void Athena_test::LeakCheckDisable::erase ( void *  p)
inline

Definition at line 57 of file leakcheck.h.

57 { if (m_allocs) m_allocs->erase(p); }

◆ insert()

void Athena_test::LeakCheckDisable::insert ( void *  p)
inline

Definition at line 56 of file leakcheck.h.

56 { if (m_allocs) m_allocs->insert(p); }

Member Data Documentation

◆ m_allocs

std::unordered_set<void*>* Athena_test::LeakCheckDisable::m_allocs

Definition at line 58 of file leakcheck.h.


The documentation for this struct was generated from the following file:
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Athena_test::allocs
std::unordered_set< void * > * allocs
Definition: leakcheck.h:51
Athena_test::LeakCheckDisable::m_allocs
std::unordered_set< void * > * m_allocs
Definition: leakcheck.h:58