Arcane
4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
DataStorageBuildInfo.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
/* IDataStorageFactory.h (C) 2000-2025 */
9
/* */
10
/* Information to construct an instance of 'IData'. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_CORE_DATATYPE_DATASTORAGEBUILDINFO_H
13
#define ARCANE_CORE_DATATYPE_DATASTORAGEBUILDINFO_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "
arcane/core/ArcaneTypes.h
"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
31
class
ARCANE_CORE_EXPORT DataStorageBuildInfo
32
{
33
public
:
34
35
explicit
DataStorageBuildInfo(
ITraceMng
* tm)
36
: m_trace_mng(tm)
37
{}
38
39
public
:
40
41
ITraceMng
* traceMng()
const
{
return
m_trace_mng; }
42
IMemoryAllocator
* memoryAllocator()
const
{
return
m_memory_allocator; }
43
void
setMemoryAllocator(
IMemoryAllocator
* a) { m_memory_allocator = a; }
44
45
private
:
46
47
ITraceMng
* m_trace_mng;
48
IMemoryAllocator
* m_memory_allocator =
nullptr
;
49
};
50
51
/*---------------------------------------------------------------------------*/
52
/*---------------------------------------------------------------------------*/
53
54
}
// End namespace Arcane
55
56
/*---------------------------------------------------------------------------*/
57
/*---------------------------------------------------------------------------*/
58
59
#endif
ArcaneTypes.h
Declarations of Arcane's general types.
Arcane::IMemoryAllocator
Interface for a memory allocator.
Definition
arccore/src/common/arccore/common/IMemoryAllocator.h:43
Arcane::ITraceMng
Trace manager interface.
Definition
arccore/src/trace/arccore/trace/ITraceMng.h:175
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
arcane/src/arcane/accelerator/AcceleratorGlobal.h:37
arcane
core
datatype
DataStorageBuildInfo.h
Generated on
for Arcane by
1.16.1