Fichier de configuration d'Arcane. Plus de détails...
#include "arccore/base/ArccoreGlobal.h"
#include "arcane_core_config.h"
#include <iosfwd>
Aller au code source de ce fichier.
Classes | |
struct | Arcane::TrueType |
struct | Arcane::FalseType |
Espaces de nommage | |
namespace | Arcane |
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- | |
Macros | |
#define | ARCANE_EXPORT ARCCORE_EXPORT |
#define | ARCANE_IMPORT ARCCORE_IMPORT |
#define | ARCANE_TEMPLATE_EXPORT ARCCORE_TEMPLATE_EXPORT |
#define | ARCANE_RESTRICT ARCCORE_RESTRICT |
#define | ARCANE_STD std |
#define | ARCANE_UNUSED(var) ARCCORE_UNUSED(var) |
#define | ARCANE_BEGIN_NAMESPACE namespace Arcane { |
#define | ARCANE_END_NAMESPACE } |
#define | NUMERICS_BEGIN_NAMESPACE namespace Numerics { |
#define | NUMERICS_END_NAMESPACE } |
#define | ARCANE_CORE_EXPORT ARCANE_IMPORT |
#define | ARCANE_EXPR_EXPORT ARCANE_IMPORT |
#define | ARCANE_DATATYPE_EXPORT ARCANE_IMPORT |
#define | ARCANE_CORE_EXTERN_TPL extern |
#define | ARCANE_UTILS_EXPORT ARCANE_IMPORT |
#define | ARCANE_UTILS_EXTERN_TPL extern |
#define | ARCANE_IMPL_EXPORT ARCANE_IMPORT |
#define | ARCANE_MESH_EXPORT ARCANE_IMPORT |
#define | ARCANE_STD_EXPORT ARCANE_IMPORT |
#define | ARCANE_SCRIPT_EXPORT ARCANE_IMPORT |
#define | ARCANE_SOLVERS_EXPORT ARCANE_IMPORT |
#define | ARCANE_GEOMETRY_EXPORT ARCANE_IMPORT |
#define | ARCANE_THREAD_EXPORT ARCANE_IMPORT |
#define | ARCANE_MPI_EXPORT ARCANE_IMPORT |
#define | ARCANE_HYODA_EXPORT ARCANE_IMPORT |
#define | ARCANE_HAS_LONG_LONG |
#define | ARCANE_REAL(val) ARCCORE_REAL(val) |
#define | ARCANE_DEBUGP(a, b) |
#define | ARCANE_NOT_YET_IMPLEMENTED(a) { arcaneNotYetImplemented(__FILE__,"(NoInfo)",__LINE__,(a)); } |
#define | ARCANE_DEPRECATED ARCCORE_DEPRECATED |
#define | ARCANE_DEPRECATED_112 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_114 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_116 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_118 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_120 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_122 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_200 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_220 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_240 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_260 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_280 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_2018 ARCANE_DEPRECATED |
#define | ARCANE_DEPRECATED_2018_R(reason) [[deprecated(reason)]] |
#define | ARCANE_DEPRECATED_REASON(reason) [[deprecated(reason)]] |
#define | ARCANE_DEPRECATED_LONG_TERM(reason) [[deprecated(reason)]] |
Macro pour l'attribut 'deprecated' à long terme. | |
#define | ARCANE_NO_DEPRECATED |
#define | ARCANE_DEPRECATED_ARRAY ARCANE_DEPRECATED |
#define | ARCANE_JOIN_HELPER2(a, b) a ## b |
#define | ARCANE_JOIN_HELPER(a, b) ARCANE_JOIN_HELPER2(a,b) |
#define | ARCANE_JOIN_WITH_LINE(a) ARCANE_JOIN_HELPER(a,__LINE__) |
#define | ARCANE_NORETURN ARCCORE_NORETURN |
#define | ARCANE_CONSTEXPR ARCCORE_CONSTEXPR |
Macro permettant de spécifier le mot-clé 'constexpr' du C++11. | |
#define | ARCANE_NOEXCEPT ARCCORE_NOEXCEPT |
#define | ARCANE_NOEXCEPT_FALSE ARCCORE_NOEXCEPT_FALSE |
#define | ARCANE_ALIGNAS_PACKED(value) __attribute__ ((aligned (value),packed)) |
Macro pour garantir le compactage et l'alignement d'une classe sur value octets. | |
#define | ARCANE_ALIGNAS(value) __attribute__ ((aligned (value))) |
Macro pour garantir l'alignement d'une classe sur value octets. | |
#define | ARCANE_CHECK_PTR(a) |
#define | ARCANE_ASSERT(a, b) |
#define | ARCANE_WARNING(a) |
#define | ARCANE_DCHECK_POINTER(a) (a); |
#define | ARCANE_THROW(exception_class, ...) throw exception_class (A_FUNCINFO,Arcane::String::format(__VA_ARGS__)) |
Macro pour envoyer une exception avec formattage. | |
#define | ARCANE_FATAL(...) throw Arcane::FatalErrorException(A_FUNCINFO,Arcane::String::format(__VA_ARGS__)) |
Macro envoyant une exception FatalErrorException. | |
#define | ARCANE_CHECK_POINTER(ptr) arcaneThrowIfNull(ptr,#ptr,nullptr) |
Macro retournant le pointeur ptr s'il est non nul ou lancant une exception s'il est nul. | |
#define | ARCANE_CHECK_POINTER2(ptr, text) arcaneThrowIfNull(ptr,#ptr,text) |
Macro retournant le pointeur ptr s'il est non nul ou lancant une exception s'il est nul. | |
#define | ARCANE_CHECK_AT(a, b) |
Définitions de type | |
typedef ARCANE_TYPE_INT16 | Int16 |
typedef ARCANE_TYPE_INT32 | Int32 |
typedef ARCANE_TYPE_INT64 | Int64 |
using | Arcane::LocalIdType = Int32 |
Type des entiers utilisés pour stocker les identifiants locaux des entités. | |
using | Arcane::UniqueIdType = Int64 |
Type des entiers utilisés pour stocker les identifiants uniques (globaux) des entités. | |
Fonctions | |
void | Arcane::arcanePrintf (const char *,...) |
Encapsulation de la fonction C printf. | |
void | Arcane::arcaneDebugPause (const char *msg) |
Passe en mode pause ou lance une erreur fatale. | |
void | Arcane::_internalArcaneMathError (long double value, const char *funcname) |
void | Arcane::_internalArcaneMathError (long double value1, long double value2, const char *funcname) |
__host__ __device__ void | Arcane::arcaneMathError (long double arg_value, const char *func_name) |
Signale un argument invalide d'une fonction mathématique. | |
__host__ __device__ void | Arcane::arcaneMathError (long double arg_value1, long double arg_value2, const char *func_name) |
Signale un argument invalide d'une fonction mathématique. | |
void | Arcane::arcaneNotYetImplemented (const char *file, const char *func, unsigned long line, const char *msg) |
Signale une fonction non implémentée. | |
void | Arcane::arcaneDeprecated (const char *file, const char *func, unsigned long line, const char *text) |
Signale l'utilisation d'une fonction obsolète. | |
void | Arcane::arcaneNoReferenceError (const void *ptr) |
Utilisation d'un objet non référencé. | |
void | Arcane::arcaneNoReferenceErrorCallTerminate (const void *ptr) |
Utilisation d'un objet non référencé. | |
Integer | Arcane::arcaneCheckArraySize (unsigned long long size) |
Vérifie que size peut être converti dans un 'Integer' pour servir de taille à un tableau. Si possible, retourne size convertie en un 'Integer'. Sinon, lance une exception de type ArgumentException. | |
Integer | Arcane::arcaneCheckArraySize (long long size) |
Vérifie que size peut être converti dans un 'Integer' pour servir de taille à un tableau. Si possible, retourne size convertie en un 'Integer'. Sinon, lance une exception de type ArgumentException. | |
Integer | Arcane::arcaneCheckArraySize (unsigned long size) |
Vérifie que size peut être converti dans un 'Integer' pour servir de taille à un tableau. Si possible, retourne size convertie en un 'Integer'. Sinon, lance une exception de type ArgumentException. | |
Integer | Arcane::arcaneCheckArraySize (long size) |
Vérifie que size peut être converti dans un 'Integer' pour servir de taille à un tableau. Si possible, retourne size convertie en un 'Integer'. Sinon, lance une exception de type ArgumentException. | |
Integer | Arcane::arcaneCheckArraySize (unsigned int size) |
Vérifie que size peut être converti dans un 'Integer' pour servir de taille à un tableau. Si possible, retourne size convertie en un 'Integer'. Sinon, lance une exception de type ArgumentException. | |
Integer | Arcane::arcaneCheckArraySize (int size) |
Vérifie que size peut être converti dans un 'Integer' pour servir de taille à un tableau. Si possible, retourne size convertie en un 'Integer'. Sinon, lance une exception de type ArgumentException. | |
void | Arcane::arcaneCheckAlignment (const void *ptr, Integer alignment) |
Vérifie que ptr est aligné sur alignment octets. Si ce n'est pas le cas, Sinon, lance une exception de type BadAlignmentException. | |
bool | Arcane::arcaneIsCheck () |
Vrai si on est en mode vérification. | |
void | Arcane::arcaneSetCheck (bool v) |
Active ou désactive le mode vérification. | |
bool | Arcane::arcaneIsDebug () |
Vrai si la macro ARCANE_DEBUG est définie. | |
bool | Arcane::arcaneHasThread () |
Vrai si arcane est compilé avec le support des threads ET qu'ils sont actifs. | |
void | Arcane::arcaneSetHasThread (bool v) |
Active ou désactive le support des threads. | |
Int64 | Arcane::arcaneCurrentThread () |
Retourne l'identifiant du thread courant. | |
void | Arcane::arcaneNullPointerError () |
Signalue l'utilisation d'un pointeur nul. | |
void | Arcane::arcaneThrowNullPointerError (const char *ptr_name, const char *text) |
Signalee l'utilisation d'un pointeur nul en envoyant une exception. | |
Integer | Arcane::arcaneSizeWithPadding (Integer size) |
Retourne la taille avec padding pour une taille size. | |
template<typename T > | |
T * | Arcane::arcaneThrowIfNull (T *ptr, const char *ptr_name, const char *text) |
Vérifie qu'un pointeur n'est pas nul. | |
void | Arcane::arcaneRangeError (Int64 i, Int64 max_size) |
Signale une erreur de débordement. | |
Variables | |
const double | Arcane::cgrEPSILON_DELTA = 1.0e-2 |
const double | Arcane::cgrPI = 3.14159265358979323846 |
Fichier de configuration d'Arcane.
Définition dans le fichier ArcaneGlobal.h.
#define ARCANE_ALIGNAS | ( | value | ) | __attribute__ ((aligned (value))) |
Macro pour garantir l'alignement d'une classe sur value octets.
Définition à la ligne 634 du fichier ArcaneGlobal.h.
#define ARCANE_ALIGNAS_PACKED | ( | value | ) | __attribute__ ((aligned (value),packed)) |
Macro pour garantir le compactage et l'alignement d'une classe sur value octets.
Définition à la ligne 632 du fichier ArcaneGlobal.h.
#define ARCANE_ASSERT | ( | a, | |
b | |||
) |
Définition à la ligne 753 du fichier ArcaneGlobal.h.
#define ARCANE_BEGIN_NAMESPACE namespace Arcane { |
Définition à la ligne 96 du fichier ArcaneGlobal.h.
#define ARCANE_CHECK_AT | ( | a, | |
b | |||
) |
Définition à la ligne 881 du fichier ArcaneGlobal.h.
#define ARCANE_CHECK_POINTER | ( | ptr | ) | arcaneThrowIfNull(ptr,#ptr,nullptr) |
Macro retournant le pointeur ptr s'il est non nul ou lancant une exception s'il est nul.
Définition à la ligne 837 du fichier ArcaneGlobal.h.
#define ARCANE_CHECK_POINTER2 | ( | ptr, | |
text | |||
) | arcaneThrowIfNull(ptr,#ptr,text) |
Macro retournant le pointeur ptr s'il est non nul ou lancant une exception s'il est nul.
Définition à la ligne 846 du fichier ArcaneGlobal.h.
#define ARCANE_CHECK_PTR | ( | a | ) |
Définition à la ligne 752 du fichier ArcaneGlobal.h.
#define ARCANE_CONSTEXPR ARCCORE_CONSTEXPR |
Macro permettant de spécifier le mot-clé 'constexpr' du C++11.
Définition à la ligne 604 du fichier ArcaneGlobal.h.
#define ARCANE_CORE_EXPORT ARCANE_IMPORT |
Définition à la ligne 119 du fichier ArcaneGlobal.h.
#define ARCANE_CORE_EXTERN_TPL extern |
Définition à la ligne 122 du fichier ArcaneGlobal.h.
#define ARCANE_DATATYPE_EXPORT ARCANE_IMPORT |
Définition à la ligne 121 du fichier ArcaneGlobal.h.
#define ARCANE_DCHECK_POINTER | ( | a | ) | (a); |
Définition à la ligne 755 du fichier ArcaneGlobal.h.
#define ARCANE_DEBUGP | ( | a, | |
b | |||
) |
Définition à la ligne 524 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED ARCCORE_DEPRECATED |
Définition à la ligne 538 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_112 ARCANE_DEPRECATED |
Définition à la ligne 540 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_114 ARCANE_DEPRECATED |
Définition à la ligne 541 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_116 ARCANE_DEPRECATED |
Définition à la ligne 542 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_118 ARCANE_DEPRECATED |
Définition à la ligne 543 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_120 ARCANE_DEPRECATED |
Définition à la ligne 544 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_122 ARCANE_DEPRECATED |
Définition à la ligne 545 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_200 ARCANE_DEPRECATED |
Définition à la ligne 546 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_2018 ARCANE_DEPRECATED |
Définition à la ligne 551 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_2018_R | ( | reason | ) | [[deprecated(reason)]] |
Définition à la ligne 552 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_220 ARCANE_DEPRECATED |
Définition à la ligne 547 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_240 ARCANE_DEPRECATED |
Définition à la ligne 548 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_260 ARCANE_DEPRECATED |
Définition à la ligne 549 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_280 ARCANE_DEPRECATED |
Définition à la ligne 550 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_ARRAY ARCANE_DEPRECATED |
Définition à la ligne 582 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_LONG_TERM | ( | reason | ) | [[deprecated(reason)]] |
Macro pour l'attribut 'deprecated' à long terme.
Cette macro est pour indiquer les types ou fonctions obsolète et donc qu'il est préférable de ne pas utiliser mais qui ne seront pas supprimés avant plusieurs versions.
Définition à la ligne 570 du fichier ArcaneGlobal.h.
#define ARCANE_DEPRECATED_REASON | ( | reason | ) | [[deprecated(reason)]] |
Définition à la ligne 558 du fichier ArcaneGlobal.h.
#define ARCANE_END_NAMESPACE } |
Définition à la ligne 97 du fichier ArcaneGlobal.h.
#define ARCANE_EXPORT ARCCORE_EXPORT |
Définition à la ligne 32 du fichier ArcaneGlobal.h.
#define ARCANE_EXPR_EXPORT ARCANE_IMPORT |
Définition à la ligne 120 du fichier ArcaneGlobal.h.
#define ARCANE_FATAL | ( | ... | ) | throw Arcane::FatalErrorException(A_FUNCINFO,Arcane::String::format(__VA_ARGS__)) |
Macro envoyant une exception FatalErrorException.
Les arguments de la macro sont utilisés formatter un message d'erreur via la méthode String::format().
Définition à la ligne 778 du fichier ArcaneGlobal.h.
#define ARCANE_GEOMETRY_EXPORT ARCANE_IMPORT |
Définition à la ligne 166 du fichier ArcaneGlobal.h.
#define ARCANE_HAS_LONG_LONG |
Définition à la ligne 200 du fichier ArcaneGlobal.h.
#define ARCANE_HYODA_EXPORT ARCANE_IMPORT |
Définition à la ligne 184 du fichier ArcaneGlobal.h.
#define ARCANE_IMPL_EXPORT ARCANE_IMPORT |
Définition à la ligne 136 du fichier ArcaneGlobal.h.
#define ARCANE_IMPORT ARCCORE_IMPORT |
Définition à la ligne 33 du fichier ArcaneGlobal.h.
#define ARCANE_JOIN_HELPER | ( | a, | |
b | |||
) | ARCANE_JOIN_HELPER2(a,b) |
Définition à la ligne 594 du fichier ArcaneGlobal.h.
#define ARCANE_JOIN_HELPER2 | ( | a, | |
b | |||
) | a ## b |
Définition à la ligne 593 du fichier ArcaneGlobal.h.
#define ARCANE_JOIN_WITH_LINE | ( | a | ) | ARCANE_JOIN_HELPER(a,__LINE__) |
Définition à la ligne 595 du fichier ArcaneGlobal.h.
#define ARCANE_MESH_EXPORT ARCANE_IMPORT |
Définition à la ligne 142 du fichier ArcaneGlobal.h.
#define ARCANE_MPI_EXPORT ARCANE_IMPORT |
Définition à la ligne 178 du fichier ArcaneGlobal.h.
#define ARCANE_NO_DEPRECATED |
Définition à la ligne 575 du fichier ArcaneGlobal.h.
#define ARCANE_NOEXCEPT ARCCORE_NOEXCEPT |
Définition à la ligne 611 du fichier ArcaneGlobal.h.
#define ARCANE_NOEXCEPT_FALSE ARCCORE_NOEXCEPT_FALSE |
Définition à la ligne 612 du fichier ArcaneGlobal.h.
#define ARCANE_NORETURN ARCCORE_NORETURN |
Définition à la ligne 601 du fichier ArcaneGlobal.h.
#define ARCANE_NOT_YET_IMPLEMENTED | ( | a | ) | { arcaneNotYetImplemented(__FILE__,"(NoInfo)",__LINE__,(a)); } |
Définition à la ligne 534 du fichier ArcaneGlobal.h.
#define ARCANE_REAL | ( | val | ) | ARCCORE_REAL(val) |
Définition à la ligne 211 du fichier ArcaneGlobal.h.
#define ARCANE_RESTRICT ARCCORE_RESTRICT |
Définition à la ligne 35 du fichier ArcaneGlobal.h.
#define ARCANE_SCRIPT_EXPORT ARCANE_IMPORT |
Définition à la ligne 154 du fichier ArcaneGlobal.h.
#define ARCANE_SOLVERS_EXPORT ARCANE_IMPORT |
Définition à la ligne 160 du fichier ArcaneGlobal.h.
#define ARCANE_STD std |
Définition à la ligne 37 du fichier ArcaneGlobal.h.
#define ARCANE_STD_EXPORT ARCANE_IMPORT |
Définition à la ligne 148 du fichier ArcaneGlobal.h.
#define ARCANE_TEMPLATE_EXPORT ARCCORE_TEMPLATE_EXPORT |
Définition à la ligne 34 du fichier ArcaneGlobal.h.
#define ARCANE_THREAD_EXPORT ARCANE_IMPORT |
Définition à la ligne 172 du fichier ArcaneGlobal.h.
#define ARCANE_THROW | ( | exception_class, | |
... | |||
) | throw exception_class (A_FUNCINFO,Arcane::String::format(__VA_ARGS__)) |
Macro pour envoyer une exception avec formattage.
exception_class est le type de l'exception. Les arguments suivants de la macro sont utilisés formatter un message d'erreur via la méthode String::format().
Définition à la ligne 767 du fichier ArcaneGlobal.h.
#define ARCANE_UNUSED | ( | var | ) | ARCCORE_UNUSED(var) |
Définition à la ligne 41 du fichier ArcaneGlobal.h.
#define ARCANE_UTILS_EXPORT ARCANE_IMPORT |
Définition à la ligne 129 du fichier ArcaneGlobal.h.
#define ARCANE_UTILS_EXTERN_TPL extern |
Définition à la ligne 130 du fichier ArcaneGlobal.h.
#define ARCANE_WARNING | ( | a | ) |
Définition à la ligne 754 du fichier ArcaneGlobal.h.
#define NUMERICS_BEGIN_NAMESPACE namespace Numerics { |
Définition à la ligne 98 du fichier ArcaneGlobal.h.
#define NUMERICS_END_NAMESPACE } |
Définition à la ligne 99 du fichier ArcaneGlobal.h.
typedef ARCANE_TYPE_INT16 Int16 |
Définition à la ligne 91 du fichier ArcaneGlobal.h.
typedef ARCANE_TYPE_INT32 Int32 |
Définition à la ligne 92 du fichier ArcaneGlobal.h.
typedef ARCANE_TYPE_INT64 Int64 |
Définition à la ligne 93 du fichier ArcaneGlobal.h.