eVaf
globals.h File Reference

Global constants and macros for eVaf. More...

#include "libcommon.h"
#include "ilogger.h"

Go to the source code of this file.

Namespaces

 eVaf
 Global eVaf namespace.
 
 eVaf::Common
 Common eVaf library.
 
 eVaf::Common::Internal
 Internal implementation of the common eVaf library.
 

Macros

#define EVAF_TEST(cond)
 Tests that the condition is true. More...
 
#define EVAF_TEST_X(cond, msg)
 Tests that the condition is true with a custom error message. More...
 

Functions

bool COMMON_EXPORT eVaf::Common::init ()
 eVaf common library initialized More...
 

Detailed Description

Global constants and macros for eVaf.

Author
Enar Vaikene

Copyright (c) 2011 Enar Vaikene

This file is part of the eVaf C++ cross-platform application development framework.

This file can be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.

Alternatively, this file may be used in accordance with the Commercial License Agreement provided with the Software.

Definition in file globals.h.

Macro Definition Documentation

#define EVAF_TEST (   cond)
Value:
if (!cond) \
#define EVAF_FATAL_ERROR(...)
Macro for fatal error messages.
Definition: ilogger.h:259

Tests that the condition is true.

This macro tests for the condition and if not true, exits with a fatal error. Use this macro to test for conditions that must be met in order for the application to continue.

Definition at line 97 of file globals.h.

#define EVAF_TEST_X (   cond,
  msg 
)
Value:
if (!cond) \
#define EVAF_FATAL_ERROR(...)
Macro for fatal error messages.
Definition: ilogger.h:259

Tests that the condition is true with a custom error message.

This macro tests for the condition and if not true, exist with a custom fatal error message.

Definition at line 106 of file globals.h.