Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
HoneyComb3DMeshGenerator_axl.h
1/*---------------------------------------------------------------------------*/
2/*---------------------------------------------------------------------------*/
3// #WARNING#: This file has been generated automatically. Do not edit.
4// Arcane version 1.0 : 11/18/2024 02:52:36
5/*---------------------------------------------------------------------------*/
6/*---------------------------------------------------------------------------*/
7
8#ifndef ARCANE_CASEOPTION_AXLSTAR_HONEYCOMB3DMESHGENERATOR_H
9#define ARCANE_CASEOPTION_AXLSTAR_HONEYCOMB3DMESHGENERATOR_H
10
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/String.h"
15
16#include "arcane/CaseOptions.h"
17#include "arcane/CaseOptionsMulti.h"
18#include "arcane/CaseOptionBuildInfo.h"
19#include "arcane/XmlNodeList.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24ARCANE_BEGIN_NAMESPACE
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
31{
32public:
33
34 /*-------------------------------------------------------------------------*/
35 /*--------------------------- Complex Options -----------------------------*/
36 /*-------------------------------------------------------------------------*/
37
38 /*-------------------------------------------------------------------------*/
39 /*--------------------------- Non Complex Options -------------------------*/
40 /*-------------------------------------------------------------------------*/
41
43 : m_case_options(co)
44 , origin(Arcane::CaseOptionBuildInfo(_configList(),
45 /* name */ "origin", _element(),
46 /* default */ Arcane::String(),
47 /* min-occurs */ 1,
48 /* max-occurs */ 1,
49 /* optional */ false))
50 , pitchSize(Arcane::CaseOptionBuildInfo(_configList(),
51 /* name */ "pitch-size", _element(),
52 /* default */ Arcane::String(),
53 /* min-occurs */ 1,
54 /* max-occurs */ 1,
55 /* optional */ false))
56 , nbLayer(Arcane::CaseOptionBuildInfo(_configList(),
57 /* name */ "nb-layer", _element(),
58 /* default */ Arcane::String(),
59 /* min-occurs */ 1,
60 /* max-occurs */ 1,
61 /* optional */ false))
62 , heights(Arcane::CaseOptionBuildInfo(_configList(),
63 /* name */ "heights", _element(),
64 /* default */ Arcane::String(),
65 /* min-occurs */ 1,
66 /* max-occurs */ 1,
67 /* optional */ false))
68 {
69
70 }
71
72public:
73 // Interfaces for main CaseOptions
74
75 Arcane::Real2 getOrigin() { return origin(); }
76 Arcane::ICaseFunction* getOriginFunction() { return origin.function(); }
77 Arcane::IStandardFunction* getOriginStandardFunction() { return origin.standardFunction(); }
78 Arcane::Real getPitchSize() { return pitchSize(); }
79 Arcane::ICaseFunction* getPitchSizeFunction() { return pitchSize.function(); }
80 Arcane::IStandardFunction* getPitchSizeStandardFunction() { return pitchSize.standardFunction(); }
81 Arcane::Integer getNbLayer() { return nbLayer(); }
82 Arcane::ICaseFunction* getNbLayerFunction() { return nbLayer.function(); }
83 Arcane::IStandardFunction* getNbLayerStandardFunction() { return nbLayer.standardFunction(); }
84 Arcane::RealConstArrayView getHeights() { return heights(); }
85 Arcane::ICaseFunction* getHeightsFunction() { return heights.function(); }
86 Arcane::IStandardFunction* getHeightsStandardFunction() { return heights.standardFunction(); }
87
88
89
90 // Interfaces for complex options
91
92
93public:
94
95 Arcane::ICaseOptions* caseOptions() const
96 {
97 return m_case_options.get();
98 }
99
100 Arcane::ICaseOptionList* configList() const
101 {
102 return m_case_options->configList();
103 }
104
105 void setCaseModule(Arcane::IModule* m)
106 {
107 m_case_options->setCaseModule(m);
108 }
109
110 void setCaseServiceInfo(Arcane::IServiceInfo* si)
111 {
112 m_case_options->setCaseServiceInfo(si);
113 }
114
115 void addAlternativeNodeName(const Arcane::String& lang,
116 const Arcane::String& name)
117 {
118 m_case_options->addAlternativeNodeName(lang,name);
119 }
120
121private:
122
123 Arcane::ICaseOptionList* _configList() const { return configList(); }
124 Arcane::XmlNode _element() const { return Arcane::XmlNode(); }
125
126private:
127
128 static Arcane::ICaseOptions* _createCaseOption(Arcane::ICaseMng* cm,Arcane::ICaseOptions* co);
129
131
132public:
133
134
136 Arcane::CaseOptionReal pitchSize;
139};
140
141/*---------------------------------------------------------------------------*/
142/*---------------------------------------------------------------------------*/
143
144ARCANE_END_NAMESPACE
145
146/*---------------------------------------------------------------------------*/
147/*---------------------------------------------------------------------------*/
148
149#endif
150
151
152
153/*---------------------------------------------------------------------------*/
154/*---------------------------------------------------------------------------*/
155// #WARNING#: This file has been generated automatically. Do not edit.
156// Arcane version 1.0 : 11/18/2024 02:52:36
157/*---------------------------------------------------------------------------*/
158/*---------------------------------------------------------------------------*/
159
160#ifndef ARCANE_MODULE_AXLSTAR_HONEYCOMB3DMESHGENERATOR_H
161#define ARCANE_MODULE_AXLSTAR_HONEYCOMB3DMESHGENERATOR_H
162
163/*---------------------------------------------------------------------------*/
164/*---------------------------------------------------------------------------*/
165
166#include "arcane/VariableTypes.h"
167#include "arcane/ServiceInfo.h"
168#include "arcane/ISubDomain.h"
169#include "arcane/ServiceBuildInfo.h"
170#include "arcane/ServiceFactory.h"
171#include "arcane/ServiceRegisterer.h"
172#include "arcane/BasicService.h"
173
174#ifndef ARCANE_HAS_SPECIFIC_BASIC_SERVICE
175// Code pour les versions de Arcane avant la 3.8 qui ne possèdent pas les
176// classes de base spécifiques pour les services
177namespace Arcane
178{
182}
183#endif
184
185/*---------------------------------------------------------------------------*/
186/*---------------------------------------------------------------------------*/
187
188namespace Arcane
189{
190
191/*---------------------------------------------------------------------------*/
192/*---------------------------------------------------------------------------*/
193
194class CaseOptionsHoneyComb3DMeshGenerator;
195
196/*---------------------------------------------------------------------------*/
197/*---------------------------------------------------------------------------*/
198
202 , public Arcane::IMeshBuilder
203{
204public:
205 // NOTE GG: attention code dupliqué avec 'ServiceT4CaseAndStrong'. Bien reporter les modifications
206 template <typename ServiceClassType> static void fillServiceInfo(Arcane::ServiceInfo* si)
207 {
208 si->setCaseOptionsFileName("HoneyComb3DMeshGenerator_arcane_std");
209 si->setAxlVersion(0.0);
210 si->setDefaultTagName("honey-comb3-d-mesh-generator");
211 si->setAxlContent(getAxlContent());
214);
215 }
216
217public:
218
230
233 {
234 delete m_options;
235 }
236
237
238public:
239
242
243private:
244
247
248protected:
249
251private:
253 {
254 const Arcane::Byte* content = (const Arcane::Byte*)"";
255 Arcane::Span<const Arcane::Byte> bytes(content,0);
256 int file_version = 1;
257 return Arcane::FileContent(bytes,file_version,"");
258 }
259};
260
261/*---------------------------------------------------------------------------*/
262/*---------------------------------------------------------------------------*/
263
264#define ARCANE_REGISTER_SERVICE_HONEYCOMB3DMESHGENERATOR(service_name,class_name) \
265 ARCANE_REGISTER_AXL_SERVICE(class_name,Arcane::ServiceProperty(#service_name,Arcane::ST_CaseOption,\
266 Arcane::SFP_None ))
267
268/*---------------------------------------------------------------------------*/
269/*---------------------------------------------------------------------------*/
270
271} // End namespace Arcane
272
273/*---------------------------------------------------------------------------*/
274/*---------------------------------------------------------------------------*/
275
276#endif
277
#define ARCANE_SERVICE_INTERFACE(ainterface)
Macro pour déclarer une interface lors de l'enregistrement d'un service.
Generation de la classe de base du Service.
CaseOptionsHoneyComb3DMeshGenerator * m_options
Options du jeu de données du service.
static Arcane::FileContent getAxlContent()
Variables du service.
ArcaneHoneyComb3DMeshGeneratorObject(const Arcane::ServiceBuildInfo &sbi)
Constructeur.
CaseOptionsHoneyComb3DMeshGenerator * options() const
Options du jeu de données du service.
Classe de base de service lié à un sous-domaine.
Informations pour construire une option de jeu de données.
Description et contenu d'un fichier.
Definition FileContent.h:32
Interface d'une fonction du jeu de données.
Interface du gestionnaire de cas.
Definition ICaseMng.h:56
Interface d'une liste d'options du jeu de données.
Interface d'une liste d'options du jeu de données.
Interface d'un service de création/lecture du maillage.
Interface d'un module.
Definition IModule.h:39
Interface des informations d'un service ou d'un module.
Interface gérant une fonction standard.
static void registerToServiceInfo(ServiceInfo *si, const Interfaces &... args)
Enregistre dans le service les fabriques pour les interfacs Interfaces.
Informations d'un service.
Definition ServiceInfo.h:46
Classe gérant un vecteur de réel de dimension 2.
Definition Real2.h:121
ICaseOptions * caseOptions() const
Accès au ICaseOptions associé.
Structure contenant les informations pour créer un service.
Noeud d'un arbre DOM.
Definition XmlNode.h:51
Vue constante d'un tableau de type T.
Encapsulation d'un pointeur avec compteur de référence.
Vue d'un tableau d'éléments de type T.
Definition Span.h:510
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
unsigned char Byte
Type d'un octet.
Definition UtilsTypes.h:142