Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
RessourceMng.cc
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/* RessourceMng.cc (C) 2000-2022 */
9/* */
10/* Resource manager. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcanePrecomp.h"
15
16#include "arcane/core/IApplication.h"
17#include "arcane/core/IRessourceMng.h"
18
19#include "arcane/core/DomUtils.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
30/*!
31 * \internal
32 * \brief Resource manager.
33 */
34class RessourceMng
35: public IRessourceMng
36{
37 public:
38
39 explicit RessourceMng(IApplication*);
40
41 virtual IXmlDocumentHolder* createXmlDocument() override;
42};
43
44/*---------------------------------------------------------------------------*/
45/*---------------------------------------------------------------------------*/
46
53
54/*---------------------------------------------------------------------------*/
55/*---------------------------------------------------------------------------*/
56
57RessourceMng::
58RessourceMng(IApplication*)
59{
60}
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
67{
68 return domutils::createXmlDocument();
69}
70
71/*---------------------------------------------------------------------------*/
72/*---------------------------------------------------------------------------*/
73
74} // End namespace Arcane
75
76/*---------------------------------------------------------------------------*/
77/*---------------------------------------------------------------------------*/
Application interface.
Interface of a resource manager.
static IRessourceMng * createDefault(IApplication *)
Creation of a default history manager.
Manager of a DOM document.
virtual IXmlDocumentHolder * createXmlDocument() override
Creates an XML document node.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --