KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::TestSkippedException Class Reference

Exception type used to signal that a test should be skipped. More...

#include <test_skipped_exception.h>

Inheritance diagram for Kratos::TestSkippedException:
Collaboration diagram for Kratos::TestSkippedException:

Public Member Functions

Life Cycle
 TestSkippedException ()
 Default constructor. More...
 
 TestSkippedException (const std::string &rWhat)
 
 TestSkippedException (const std::string &rWhat, const CodeLocation &Location)
 
 TestSkippedException (TestSkippedException const &Other)
 Copy constructor. More...
 
 ~TestSkippedException () noexcept override
 Destructor. More...
 
Operators
TestSkippedExceptionoperator<< (CodeLocation const &TheLocation)
 CodeLocation stream function. More...
 
template<class StreamValueType >
TestSkippedExceptionoperator<< (StreamValueType const &rValue)
 string stream function More...
 
TestSkippedExceptionoperator<< (std::ostream &(*pf)(std::ostream &))
 Manipulator stream function. More...
 
TestSkippedExceptionoperator<< (const char *rString)
 char stream function More...
 
Input and output
std::string Info () const override
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::Exception
 Exception ()
 Default constructor. More...
 
 Exception (const std::string &rWhat)
 
 Exception (const std::string &rWhat, const CodeLocation &Location)
 
 Exception (Exception const &Other)
 Copy constructor. More...
 
 ~Exception () noexcept override
 Destructor. More...
 
Exceptionoperator= (Exception const &rOther)=delete
 Assignment operator is deleted. More...
 
Exceptionoperator<< (CodeLocation const &TheLocation)
 Code Location stream function to add callers to call stack. More...
 
template<class StreamValueType >
Exceptionoperator<< (StreamValueType const &rValue)
 string stream function More...
 
Exceptionoperator<< (std::ostream &(*pf)(std::ostream &))
 Manipulator stream function. More...
 
Exceptionoperator<< (const char *rString)
 char stream function More...
 
void append_message (std::string const &rMessage)
 
void add_to_call_stack (CodeLocation const &TheLocation)
 
const char * what () const noexcept override
 The override of the base class what method. More...
 
const std::string & message () const
 
const CodeLocation where () const
 

Detailed Description

Exception type used to signal that a test should be skipped.

Constructor & Destructor Documentation

◆ TestSkippedException() [1/4]

Kratos::TestSkippedException::TestSkippedException ( )

Default constructor.

◆ TestSkippedException() [2/4]

Kratos::TestSkippedException::TestSkippedException ( const std::string &  rWhat)
explicit

◆ TestSkippedException() [3/4]

Kratos::TestSkippedException::TestSkippedException ( const std::string &  rWhat,
const CodeLocation Location 
)

◆ TestSkippedException() [4/4]

Kratos::TestSkippedException::TestSkippedException ( TestSkippedException const &  Other)

Copy constructor.

◆ ~TestSkippedException()

Kratos::TestSkippedException::~TestSkippedException ( )
overridenoexcept

Destructor.

Member Function Documentation

◆ Info()

std::string Kratos::TestSkippedException::Info ( ) const
overridevirtual

Turn back information as a string.

Reimplemented from Kratos::Exception.

◆ operator<<() [1/4]

TestSkippedException & Kratos::TestSkippedException::operator<< ( CodeLocation const &  TheLocation)

CodeLocation stream function.

◆ operator<<() [2/4]

TestSkippedException & Kratos::TestSkippedException::operator<< ( const char *  rString)

char stream function

◆ operator<<() [3/4]

TestSkippedException & Kratos::TestSkippedException::operator<< ( std::ostream &(*)(std::ostream &)  pf)

Manipulator stream function.

◆ operator<<() [4/4]

template<class StreamValueType >
TestSkippedException& Kratos::TestSkippedException::operator<< ( StreamValueType const &  rValue)
inline

string stream function

◆ PrintData()

void Kratos::TestSkippedException::PrintData ( std::ostream &  rOStream) const
overridevirtual

Print object's data.

Reimplemented from Kratos::Exception.

◆ PrintInfo()

void Kratos::TestSkippedException::PrintInfo ( std::ostream &  rOStream) const
overridevirtual

Print information about this object.

Reimplemented from Kratos::Exception.


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