HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_AssertExceptionScope Class Reference

#include <UT_Assert.h>

Public Member Functions

 UT_AssertExceptionScope (bool when_interactive=true)
 
 ~UT_AssertExceptionScope ()
 
 UT_AssertExceptionScope (const UT_AssertExceptionScope &)=delete
 
UT_AssertExceptionScopeoperator= (const UT_AssertExceptionScope &)=delete
 

Detailed Description

Assertions triggered within the lifetime of UT_AssertExceptionScope variables will cause UT_AssertException to be thrown instead of the usual handling. By default, this is only done when interactive asserts are disabled. This class is intended for testing purposes only.

Definition at line 40 of file UT_Assert.h.

Constructor & Destructor Documentation

UT_AssertExceptionScope::UT_AssertExceptionScope ( bool  when_interactive = true)
UT_AssertExceptionScope::~UT_AssertExceptionScope ( )
UT_AssertExceptionScope::UT_AssertExceptionScope ( const UT_AssertExceptionScope )
delete

Member Function Documentation

UT_AssertExceptionScope& UT_AssertExceptionScope::operator= ( const UT_AssertExceptionScope )
delete

The documentation for this class was generated from the following file: