Flow123d  JS_before_hm-1879-g0c4ed93bc
Public Member Functions | Public Attributes | List of all members
feal::AssertNull Class Reference

#include <asserts.hh>

Collaboration diagram for feal::AssertNull:
Collaboration graph
[legend]

Public Member Functions

 AssertNull ()
 Constructor. More...
 
 AssertNull (FMT_UNUSED const Assert &other)
 Copy constructor. More...
 
 ~AssertNull ()
 Destructor. More...
 
template<typename T >
AssertNulladd_value (FMT_UNUSED T var_current_val, FMT_UNUSED const char *var_name)
 Empty method, only guarantees consistent code. More...
 
void error (FMT_UNUSED std::string error_msg="")
 Empty method, only guarantees consistent code. More...
 
void warning (FMT_UNUSED std::string warning_msg="")
 Empty method, only guarantees consistent code. More...
 

Public Attributes

AssertNull_FEAL_ASSERT_A
 clever macro A More...
 
AssertNull_FEAL_ASSERT_B
 clever macro B More...
 

Detailed Description

Helper class defined empty code.

Usage only in FEAL_ASSERT_DBG macro if FLOW123D_DEBUG_ASSERTS is off.

Definition at line 179 of file asserts.hh.

Constructor & Destructor Documentation

◆ AssertNull() [1/2]

feal::AssertNull::AssertNull ( )
inline

Constructor.

Definition at line 182 of file asserts.hh.

◆ AssertNull() [2/2]

feal::AssertNull::AssertNull ( FMT_UNUSED const Assert other)
inline

Copy constructor.

Definition at line 187 of file asserts.hh.

◆ ~AssertNull()

feal::AssertNull::~AssertNull ( )
inline

Destructor.

Definition at line 192 of file asserts.hh.

Member Function Documentation

◆ add_value()

template<typename T >
AssertNull& feal::AssertNull::add_value ( FMT_UNUSED var_current_val,
FMT_UNUSED const char *  var_name 
)
inline

Empty method, only guarantees consistent code.

Definition at line 199 of file asserts.hh.

◆ error()

void feal::AssertNull::error ( FMT_UNUSED std::string  error_msg = "")
inline

Empty method, only guarantees consistent code.

Definition at line 204 of file asserts.hh.

◆ warning()

void feal::AssertNull::warning ( FMT_UNUSED std::string  warning_msg = "")
inline

Empty method, only guarantees consistent code.

Definition at line 207 of file asserts.hh.

Member Data Documentation

◆ _FEAL_ASSERT_A

AssertNull& feal::AssertNull::_FEAL_ASSERT_A

clever macro A

Definition at line 194 of file asserts.hh.

◆ _FEAL_ASSERT_B

AssertNull& feal::AssertNull::_FEAL_ASSERT_B

clever macro B

Definition at line 195 of file asserts.hh.


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