ATLAS Offline Software
Loading...
Searching...
No Matches
RCU::Check::TestInvariant Struct Reference

#include <Assert.h>

Collaboration diagram for RCU::Check::TestInvariant:

Public Member Functions

 TestInvariant (TestInvariantFunction function, const void *object)
 availability: experts only description: this class will perform an invariant test as the object goes in and out of scope.
 ~TestInvariant ()

Private Attributes

TestInvariantFunction m_function
const void * m_object

Detailed Description

Definition at line 99 of file Assert.h.

Constructor & Destructor Documentation

◆ TestInvariant()

RCU::Check::TestInvariant::TestInvariant ( TestInvariantFunction function,
const void * object )

availability: experts only description: this class will perform an invariant test as the object goes in and out of scope.

Definition at line 87 of file Assert.cxx.

90 : m_function (function), m_object (object)
91 {
92 (*m_function) (m_object);
93 }
const void * m_object
Definition Assert.h:111
TestInvariantFunction m_function
Definition Assert.h:110

◆ ~TestInvariant()

RCU::Check::TestInvariant::~TestInvariant ( )

Definition at line 97 of file Assert.cxx.

99 {
100 (*m_function) (m_object);
101 }

Member Data Documentation

◆ m_function

TestInvariantFunction RCU::Check::TestInvariant::m_function
private

Definition at line 110 of file Assert.h.

◆ m_object

const void* RCU::Check::TestInvariant::m_object
private

Definition at line 111 of file Assert.h.


The documentation for this struct was generated from the following files: