Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::IMutableContext Struct Referenceabstract

#include <catch_context.h>

Inheritance diagram for Catch::IMutableContext:
Collaboration diagram for Catch::IMutableContext:

Public Member Functions

virtual ~IMutableContext ()
 
virtual void setResultCapture (IResultCapture *resultCapture)=0
 
virtual void setRunner (IRunner *runner)=0
 
virtual void setConfig (IConfigPtr const &config)=0
 
virtual ~IMutableContext ()
 
virtual void setResultCapture (IResultCapture *resultCapture)=0
 
virtual void setRunner (IRunner *runner)=0
 
virtual void setConfig (IConfigPtr const &config)=0
 
- Public Member Functions inherited from Catch::IContext
virtual ~IContext ()
 
virtual IResultCapturegetResultCapture ()=0
 
virtual IRunnergetRunner ()=0
 
virtual IConfigPtr const & getConfig () const =0
 
virtual ~IContext ()
 
virtual IResultCapturegetResultCapture ()=0
 
virtual IRunnergetRunner ()=0
 
virtual IConfigPtr const & getConfig () const =0
 

Friends

IMutableContextgetCurrentMutableContext ()
 
void cleanUpContext ()
 
IMutableContextgetCurrentMutableContext ()
 
void cleanUpContext ()
 

Detailed Description

Definition at line 3948 of file catch.hpp.

Constructor & Destructor Documentation

◆ ~IMutableContext() [1/2]

Catch::IMutableContext::~IMutableContext ( )
virtualdefault

◆ ~IMutableContext() [2/2]

virtual Catch::IMutableContext::~IMutableContext ( )
virtual

Member Function Documentation

◆ setConfig() [1/2]

virtual void Catch::IMutableContext::setConfig ( IConfigPtr const & config)
pure virtual

Implemented in Catch::Context.

Here is the caller graph for this function:

◆ setConfig() [2/2]

virtual void Catch::IMutableContext::setConfig ( IConfigPtr const & config)
pure virtual

Implemented in Catch::Context.

Here is the call graph for this function:

◆ setResultCapture() [1/2]

virtual void Catch::IMutableContext::setResultCapture ( IResultCapture * resultCapture)
pure virtual

Implemented in Catch::Context.

Here is the caller graph for this function:

◆ setResultCapture() [2/2]

virtual void Catch::IMutableContext::setResultCapture ( IResultCapture * resultCapture)
pure virtual

Implemented in Catch::Context.

◆ setRunner() [1/2]

virtual void Catch::IMutableContext::setRunner ( IRunner * runner)
pure virtual

Implemented in Catch::Context.

Here is the caller graph for this function:

◆ setRunner() [2/2]

virtual void Catch::IMutableContext::setRunner ( IRunner * runner)
pure virtual

Implemented in Catch::Context.

Friends And Related Symbol Documentation

◆ cleanUpContext [1/2]

void cleanUpContext ( )
friend

Definition at line 55 of file catch_context.cpp.

55 {
56 delete IMutableContext::currentContext;
57 IMutableContext::currentContext = nullptr;
58 }

◆ cleanUpContext [2/2]

void cleanUpContext ( )
friend

Definition at line 55 of file catch_context.cpp.

55 {
56 delete IMutableContext::currentContext;
57 IMutableContext::currentContext = nullptr;
58 }

◆ getCurrentMutableContext [1/2]

IMutableContext & getCurrentMutableContext ( )
friend

Definition at line 45 of file catch_context.h.

46 {
47 if( !IMutableContext::currentContext )
48 IMutableContext::createContext();
49 return *IMutableContext::currentContext;
50 }

◆ getCurrentMutableContext [2/2]

IMutableContext & getCurrentMutableContext ( )
friend

Definition at line 45 of file catch_context.h.

46 {
47 if( !IMutableContext::currentContext )
48 IMutableContext::createContext();
49 return *IMutableContext::currentContext;
50 }

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