MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moose::detail Namespace Reference

Functions

void current_function_helper ()
 

Function Documentation

void moose::detail::current_function_helper ( )
inline

Definition at line 33 of file current_function.hpp.

34 {
35 
36 #if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__)
37 
38 # define SIMPLE_CURRENT_FUNCTION __PRETTY_FUNCTION__
39 
40 #elif defined(__DMC__) && (__DMC__ >= 0x810)
41 
42 # define SIMPLE_CURRENT_FUNCTION __PRETTY_FUNCTION__
43 
44 #elif defined(__FUNCSIG__)
45 
46 # define SIMPLE_CURRENT_FUNCTION __FUNCSIG__
47 
48 #elif (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 600)) || (defined(__IBMCPP__) && (__IBMCPP__ >= 500))
49 
50 # define SIMPLE_CURRENT_FUNCTION __FUNCTION__
51 
52 #elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)
53 
54 # define SIMPLE_CURRENT_FUNCTION __FUNC__
55 
56 #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
57 
58 # define SIMPLE_CURRENT_FUNCTION __func__
59 
60 #else
61 
62 # define SIMPLE_CURRENT_FUNCTION "(unknown)"
63 
64 #endif
65 
66 }