Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
impl/Data.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* Data.cc (C) 2000-2023 */
9/* */
10/* Classes de base d'une donnée. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/core/IDataFactoryMng.h"
15
16/*---------------------------------------------------------------------------*/
17/*---------------------------------------------------------------------------*/
18
19namespace Arcane
20{
21
22extern "C++" void
23registerStringScalarDataFactory(IDataFactoryMng* dfm);
24extern "C++" void
25registerStringArrayDataFactory(IDataFactoryMng* dfm);
26extern "C++" void
27registerScalarDataFactory(IDataFactoryMng* dfm);
28extern "C++" void
29registerArrayDataFactory(IDataFactoryMng* dfm);
30extern "C++" void
31registerArray2DataFactory(IDataFactoryMng* dfm);
32extern "C++" void
33registerNumArrayDataFactory(IDataFactoryMng* dfm);
34
35/*---------------------------------------------------------------------------*/
36/*---------------------------------------------------------------------------*/
37
38extern "C++" void
39arcaneRegisterSimpleData(IDataFactoryMng* dfm)
40{
41 // Enregistre les types de donnée standard.
42 registerStringScalarDataFactory(dfm);
43 registerStringArrayDataFactory(dfm);
44 registerScalarDataFactory(dfm);
45 registerArrayDataFactory(dfm);
46 registerArray2DataFactory(dfm);
47#if defined(ARCANE_HAS_ACCELERATOR_API)
48 registerNumArrayDataFactory(dfm);
49#endif
50}
51
52/*---------------------------------------------------------------------------*/
53/*---------------------------------------------------------------------------*/
54
55} // End namespace Arcane
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-