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 102 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 88 of file Assert.cxx.

91 : m_function (function), m_object (object)
92 {
93 (*m_function) (m_object);
94 }
const void * m_object
Definition Assert.h:114
TestInvariantFunction m_function
Definition Assert.h:113

◆ ~TestInvariant()

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

Definition at line 98 of file Assert.cxx.

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

Member Data Documentation

◆ m_function

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

Definition at line 113 of file Assert.h.

◆ m_object

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

Definition at line 114 of file Assert.h.


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