Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
DotNetRuntimeInitialisationInfo.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/* DotNetRuntimeInitialisationInfo.h (C) 2000-2025 */
9/* */
10/* Information for the initialization of the '.Net' runtime. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_DOTNETRUNTIMEINITIALISATIONINFO_H
13#define ARCANE_UTILS_DOTNETRUNTIMEINITIALISATIONINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
31class ARCANE_CORE_EXPORT DotNetRuntimeInitialisationInfo
32{
33 private:
34
35 class Impl;
36
37 public:
38
39 DotNetRuntimeInitialisationInfo();
40 DotNetRuntimeInitialisationInfo(const DotNetRuntimeInitialisationInfo& rhs);
41 ~DotNetRuntimeInitialisationInfo();
42 DotNetRuntimeInitialisationInfo& operator=(const DotNetRuntimeInitialisationInfo& rhs);
43
44 public:
45
46 void setIsUsingDotNetRuntime(bool v);
47 bool isUsingDotNetRuntime() const;
48
49 void setMainAssemblyName(StringView name);
50 String mainAssemblyName() const;
51
52 void setExecuteClassName(StringView name);
53 String executeClassName() const;
54
55 void setExecuteMethodName(StringView name);
56 String executeMethodName() const;
57
60 String embeddedRuntime() const;
61
62 private:
63
64 Impl* m_p;
65};
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70} // namespace Arcane
71
72/*---------------------------------------------------------------------------*/
73/*---------------------------------------------------------------------------*/
74
75#endif
Declarations of types used in Arcane.
void setEmbeddedRuntime(StringView name)
Runtime name for embedded mode ('mono' or 'coreclr').
View of a UTF-8 character string.
Definition StringView.h:44
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --