12#ifndef ARCANE_CORE_ICASEOPTIONLIST_H
13#define ARCANE_CORE_ICASEOPTIONLIST_H
101 ARCANE_DEPRECATED_REASON(
"Y2023: This method is internal to Arcane")
105 ARCANE_DEPRECATED_REASON(
"Y2023: This method is internal to Arcane")
109 ARCANE_DEPRECATED_REASON(
"Y2023: This method is internal to Arcane")
113 ARCANE_DEPRECATED_REASON(
"Y2023: This method is internal to Arcane")
Declarations of Arcane's general types.
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.
Internal API of the data set options list interface.
Interface for a data set options list.
virtual Integer minOccurs() const =0
Minimum number of occurrences.
virtual void visit(ICaseDocumentVisitor *visitor)=0
Applies the visitor visitor.
virtual XmlNode rootElement() const =0
Returns the element associated with this options list.
virtual String xpathFullName() const =0
Full name in XPath format corresponding to rootElement().
virtual void addInvalidChildren(XmlNodeList &nlist)=0
Adds child elements that do not correspond to options in nlist.
virtual void setRootElement(XmlNode root_element)=0
Positions the root element of the list. If already positioned, throws an exception.
virtual void setRootElementWithParent(XmlNode parent_element)=0
Positions the root element of the list, with parent_element as parent. If already positioned,...
virtual String rootTagName() const =0
Returns the name of the element of this list.
virtual ICaseDocumentFragment * caseDocumentFragment() const =0
Associated document.
virtual void disable()=0
Disables the option as if it were absent.
virtual bool isOptional() const =0
Indicates if the option is optional.
virtual void deepGetChildren(Array< CaseOptionBase * > &col)=0
Adds all child options to the list col.
virtual void readChildren(bool is_phase1)=0
Reads the option values from the DOM elements.
virtual void addChild(ICaseOptions *co)=0
Adds the list co to the list of children.
virtual XmlNode parentElement() const =0
Returns the parent element.
virtual Integer maxOccurs() const =0
Maximum number of occurrences.
virtual bool isPresent() const =0
Indicates if the option is present in the data set.
virtual void printChildren(const String &lang, int indent)=0
Displays the list of child options in language lang and their value.
virtual ICaseMng * caseMng() const =0
Returns the case manager.
virtual MeshHandle meshHandle() const =0
Handle of the associated mesh.
virtual ICaseOptionListInternal * _internalApi()=0
Internal Arcane API.
virtual void removeChild(ICaseOptions *co)=0
Removes co from the list of children.
virtual void addConfig(CaseOptionBase *o, XmlNode parent)=0
Adds option o with parent parent.
Interface for a list of data set options.
Unicode character string.
List of nodes of a DOM tree.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.