Flow123d  DF_profiler_memory_monitor-e298ba0
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 macro if FLOW123D_DEBUG_ASSERTS is off.

Definition at line 180 of file asserts.hh.

Constructor & Destructor Documentation

◆ AssertNull() [1/2]

feal::AssertNull::AssertNull ( )
inline

Constructor.

Definition at line 183 of file asserts.hh.

◆ AssertNull() [2/2]

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

Copy constructor.

Definition at line 188 of file asserts.hh.

◆ ~AssertNull()

feal::AssertNull::~AssertNull ( )
inline

Destructor.

Definition at line 193 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 200 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 205 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 208 of file asserts.hh.

Member Data Documentation

◆ _FEAL_ASSERT_A

AssertNull& feal::AssertNull::_FEAL_ASSERT_A

clever macro A

Definition at line 195 of file asserts.hh.

◆ _FEAL_ASSERT_B

AssertNull& feal::AssertNull::_FEAL_ASSERT_B

clever macro B

Definition at line 196 of file asserts.hh.


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