Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
InternalInfosDumper.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* InternalInfosDumper.h (C) 2000-2019 */
9/* */
10/* Internal information dumping for Arcane. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IMPL_INTERNALINFOSDUMPER_H
13#define ARCANE_IMPL_INTERNALINFOSDUMPER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#include "arcane/utils/Ref.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29class IApplication;
30class ICodeService;
31class ISubDomain;
32class JSONWriter;
33
34/*---------------------------------------------------------------------------*/
35/*---------------------------------------------------------------------------*/
36
40class ARCANE_IMPL_EXPORT InternalInfosDumper
41{
42 public:
43
44 InternalInfosDumper(IApplication* application);
45
46 public:
47
48 void dumpInternalInfos();
50 void dumpArcaneDatabase();
51
52 private:
53
54 IApplication* m_application;
55
56 private:
57
58 Ref<ICodeService> _getDefaultService();
59 void _dumpSubDomainInternalInfos(ISubDomain* sd, JSONWriter& json_writer);
60};
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65} // End namespace Arcane
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
Arcane configuration file.
Application interface.
Interface of a case loader.
Interface of the subdomain manager.
Definition ISubDomain.h:75
void dumpArcaneDatabase()
Saves the internal information of Arcane in a json file.
Reference to an instance.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --