Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
IRessourceMng.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/* IRessourceMng.h (C) 2000-2025 */
9/* */
10/* Interface of a resource manager. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IRESSOURCEMNG_H
13#define ARCANE_CORE_IRESSOURCEMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28/*!
29 * \brief Interface of a resource manager.
30 *
31 */
32class ARCANE_CORE_EXPORT IRessourceMng
33{
34 // TODO: delete this class which is no longer useful.
35 // It is possible to create an instance directly
36 // of IXmlDocumentHolder
37
38 public:
39
40 //! Creation of a default history manager.
42
43 public:
44
45 virtual ~IRessourceMng() = default; //!< Frees the resources
46
47 public:
48
49 /*!
50 * \brief Creates an XML document node.
51 *
52 * Creates and returns an XML document using a default implementation.
53 * The destruction of this document invalidates all nodes that depend on it.
54 */
56};
57
58/*---------------------------------------------------------------------------*/
59/*---------------------------------------------------------------------------*/
60
61} // namespace Arcane
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
65
66#endif
Declarations of Arcane's general types.
Application interface.
Interface of a resource manager.
virtual ~IRessourceMng()=default
Frees the resources.
virtual IXmlDocumentHolder * createXmlDocument()=0
Creates an XML document node.
static IRessourceMng * createDefault(IApplication *)
Creation of a default history manager.
Manager of a DOM document.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --