Flow123d  release_2.2.0-914-gf1a3a4f
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 (const Assert &other)
 Copy constructor. More...
 
 ~AssertNull ()
 Destructor. More...
 
template<typename T >
AssertNulladd_value (T var_current_val, const char *var_name)
 Empty method, only guarantees consistent code. More...
 
void error (std::string error_msg="")
 Empty method, only guarantees consistent code. More...
 
void warning (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 178 of file asserts.hh.

Constructor & Destructor Documentation

feal::AssertNull::AssertNull ( )
inline

Constructor.

Definition at line 181 of file asserts.hh.

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

Copy constructor.

Definition at line 186 of file asserts.hh.

feal::AssertNull::~AssertNull ( )
inline

Destructor.

Definition at line 191 of file asserts.hh.

Member Function Documentation

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

Empty method, only guarantees consistent code.

Definition at line 198 of file asserts.hh.

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

Empty method, only guarantees consistent code.

Definition at line 203 of file asserts.hh.

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

Empty method, only guarantees consistent code.

Definition at line 206 of file asserts.hh.

Member Data Documentation

AssertNull& feal::AssertNull::_FEAL_ASSERT_A

clever macro A

Definition at line 193 of file asserts.hh.

AssertNull& feal::AssertNull::_FEAL_ASSERT_B

clever macro B

Definition at line 194 of file asserts.hh.


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