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.
|
Exception type used to signal that a test should be skipped. More...
#include <test_skipped_exception.h>
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 | |
TestSkippedException & | operator<< (CodeLocation const &TheLocation) |
CodeLocation stream function. More... | |
template<class StreamValueType > | |
TestSkippedException & | operator<< (StreamValueType const &rValue) |
string stream function More... | |
TestSkippedException & | operator<< (std::ostream &(*pf)(std::ostream &)) |
Manipulator stream function. More... | |
TestSkippedException & | operator<< (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... | |
Exception & | operator= (Exception const &rOther)=delete |
Assignment operator is deleted. More... | |
Exception & | operator<< (CodeLocation const &TheLocation) |
Code Location stream function to add callers to call stack. More... | |
template<class StreamValueType > | |
Exception & | operator<< (StreamValueType const &rValue) |
string stream function More... | |
Exception & | operator<< (std::ostream &(*pf)(std::ostream &)) |
Manipulator stream function. More... | |
Exception & | operator<< (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 |
Exception type used to signal that a test should be skipped.
Kratos::TestSkippedException::TestSkippedException | ( | ) |
Default constructor.
|
explicit |
Kratos::TestSkippedException::TestSkippedException | ( | const std::string & | rWhat, |
const CodeLocation & | Location | ||
) |
Kratos::TestSkippedException::TestSkippedException | ( | TestSkippedException const & | Other | ) |
Copy constructor.
|
overridenoexcept |
Destructor.
|
overridevirtual |
Turn back information as a string.
Reimplemented from Kratos::Exception.
TestSkippedException & Kratos::TestSkippedException::operator<< | ( | CodeLocation const & | TheLocation | ) |
CodeLocation stream function.
TestSkippedException & Kratos::TestSkippedException::operator<< | ( | const char * | rString | ) |
char stream function
TestSkippedException & Kratos::TestSkippedException::operator<< | ( | std::ostream &(*)(std::ostream &) | pf | ) |
Manipulator stream function.
|
inline |
string stream function
|
overridevirtual |
Print object's data.
Reimplemented from Kratos::Exception.
|
overridevirtual |
Print information about this object.
Reimplemented from Kratos::Exception.