Flow123d  JS_before_hm-978-gf0793cd
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

feal::AssertNull::AssertNull ( )
inline

Constructor.

Definition at line 182 of file asserts.hh.

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

Copy constructor.

Definition at line 187 of file asserts.hh.

feal::AssertNull::~AssertNull ( )
inline

Destructor.

Definition at line 192 of file asserts.hh.

Member Function Documentation

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.

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.

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

AssertNull& feal::AssertNull::_FEAL_ASSERT_A

clever macro A

Definition at line 194 of file asserts.hh.

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: