12#ifndef ARCANE_CASEOPTIONS_H
13#define ARCANE_CASEOPTIONS_H
19#include "arcane/utils/Array.h"
20#include "arcane/utils/String.h"
21#include "arcane/utils/Ref.h"
23#include "arcane/core/XmlNode.h"
24#include "arcane/core/ICaseOptions.h"
25#include "arcane/core/ICaseOptionList.h"
29#include "arcane/core/CaseOptionSimple.h"
30#include "arcane/core/CaseOptionEnum.h"
31#include "arcane/core/CaseOptionExtended.h"
32#include "arcane/core/CaseOptionComplexValue.h"
39namespace AxlOptionsBuilder
89 friend class ServiceBuilderWithOptionsBase;
124 void read(
bool is_phase1)
override
130 void read(eCaseOptionReadPhase phase)
override;
132 void addInvalidChildren(XmlNodeList&)
override;
134 void printChildren(
const String& lang,
int indent)
override;
137 IServiceInfo* caseServiceInfo()
const override;
140 IModule* caseModule()
const override;
143 void setCaseServiceInfo(IServiceInfo* m)
override;
146 void setCaseModule(IModule* m)
override;
149 void deepGetChildren(Array<CaseOptionBase*>& col)
override;
151 ICaseOptionList* configList()
override;
153 const ICaseOptionList* configList()
const override;
156 ICaseFunction* activateFunction()
override;
162 bool isPresent()
const override;
170 void addAlternativeNodeName(
const String& lang,
const String& name)
override;
172 ICaseMng* caseMng()
const override;
173 ITraceMng* traceMng()
const override;
174 ISubDomain* subDomain()
const override;
175 IMesh* mesh()
const override;
176 MeshHandle meshHandle()
const override;
177 ICaseDocument* caseDocument()
const override;
178 ICaseDocumentFragment* caseDocumentFragment()
const override;
180 void detach()
override;
182 void visit(ICaseDocumentVisitor* visitor)
const override;
184 String xpathFullName()
const override;
186 Ref<ICaseOptions> toReference()
override;
190 friend class CaseOptionMultiServiceImpl;
192 void _setTranslatedName();
193 bool _setMeshHandleAndCheckDisabled(
const String& mesh_name);
201 void _setMeshHandle(
const MeshHandle& handle);
#define ARCCORE_DEFINE_REFERENCE_COUNTED_INCLASS_METHODS()
Macro to define methods managing counters of references.
Data set 'ServiceInstance' option.
String rootTagName() const override
Returns the name of the element in the data set language.
String rootTagTrueName() const override
Returns the true name (non-translated) of the element.
virtual String trueName() const
Returns the true name (non-translated) of the element.
String translatedName(const String &lang) const override
Name in language lang of the option. Returns rootTagTrueName() if no translation exists.
virtual String name() const
Returns the name of the element in the data set language.
CaseOptionsPrivate * m_p
Implementation.
CaseOptions(ICaseMng *cm, const String &name)
Constructs an options set.
Manager of a DOM document.
Thread-safe implementation of a reference counter.
Encapsulation of a pointer with a reference counter.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
eCaseOptionReadPhase
Reading phases.