Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
RessourceMng.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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/* Gestionnaire de ressources. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcanePrecomp.h"
15
16#include "arcane/IApplication.h"
17#include "arcane/IRessourceMng.h"
18
19#include "arcane/DomUtils.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
34: public IRessourceMng
35{
36 public:
37
38 explicit RessourceMng(IApplication*);
39
40 virtual IXmlDocumentHolder* createXmlDocument() override;
41};
42
43/*---------------------------------------------------------------------------*/
44/*---------------------------------------------------------------------------*/
45
52
53/*---------------------------------------------------------------------------*/
54/*---------------------------------------------------------------------------*/
55
56RessourceMng::
57RessourceMng(IApplication*)
58{
59}
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
66{
67 return domutils::createXmlDocument();
68}
69
70/*---------------------------------------------------------------------------*/
71/*---------------------------------------------------------------------------*/
72
73} // End namespace Arcane
74
75/*---------------------------------------------------------------------------*/
76/*---------------------------------------------------------------------------*/
Interface de l'application.
Interface d'un gestionnaire de ressource.
static IRessourceMng * createDefault(IApplication *)
Création d'un gestionnaire d'historique par défaut.
Gestionnaire d'un document DOM.
Gestionnaire de ressources.
virtual IXmlDocumentHolder * createXmlDocument() override
Créé un noeud document XML. Crée et retourne un document XML utilisant une implémentation par défaut....
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-