12#ifndef ARCANE_CORE_ICASEOPTIONS_H
13#define ARCANE_CORE_ICASEOPTIONS_H
54 ARCCORE_DEPRECATED_2019(
"Use read(eCaseOptionReadPhase) instead")
55 virtual
void read(
bool is_phase1) = 0;
64 virtual
void printChildren(const
String& lang,
int indent) = 0;
114 virtual
ICaseMng* caseMng() const = 0;
122 ARCCORE_DEPRECATED_2019(
"Do not use subDomain(). Try to get subDomain from an other way.")
124 ARCCORE_DEPRECATED_2019(
"Use meshHandle().mesh() instead")
125 virtual
IMesh* mesh() const = 0;
127 ARCANE_DEPRECATED_REASON(
"Y2023: use caseMng()->caseDocument() instead.")
162 virtual void multiAllocate(
const XmlNodeList&) = 0;
165 virtual Integer nbChildren()
const = 0;
Declarations of types related to dataset options.
#define ARCCORE_DECLARE_REFERENCE_COUNTED_INCLASS_METHODS()
Macro to declare the virtual methods managing reference counters.
Base class for 1D data vectors.
Base class for a data set option.
Interface of a part of a dataset.
Visitor interface for a dataset option.
Interface of a class managing an XML document of the dataset.
Interface of a dataset function.
Interface for a data set options list.
Interface for a list of options that appears multiple times.
Interface for a list of data set options.
virtual void setCaseServiceInfo(IServiceInfo *m)=0
Associates the service m with this data set.
virtual void visit(ICaseDocumentVisitor *visitor) const =0
Applies the visitor to this option.
virtual void deepGetChildren(Array< CaseOptionBase * > &col)=0
Adds all child options to the list col.
virtual IServiceInfo * caseServiceInfo() const =0
Returns the associated service or nullptr if none exists.
virtual void addAlternativeNodeName(const String &lang, const String &name)=0
Adds a translation for the option name.
virtual bool isPresent() const =0
Indicates whether the option is present in the data set.
virtual void setCaseModule(IModule *m)=0
Associates the module m with this data set.
virtual ISubDomain * subDomain() const =0
Associated sub-domain.
virtual ICaseFunction * activateFunction()=0
Function indicating the activation status of the option.
virtual IModule * caseModule() const =0
Returns the associated module or nullptr if none exists.
virtual String rootTagTrueName() const =0
True name (untranslated) of the element.
virtual String rootTagName() const =0
Name of the element in the data set language.
virtual String xpathFullName() const =0
Full name in XPath format corresponding to rootElement().
virtual String translatedName(const String &lang) const =0
Name in the language lang of the option. Returns rootTagTrueName() if no translation exists.
Interface for service or module information.
Interface of the subdomain manager.
Reference to an instance.
Unicode character string.
List of nodes of a DOM tree.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
eCaseOptionReadPhase
Reading phases.
Int32 Integer
Type representing an integer.