Interface for a data set options list. More...
#include <arcane/core/ICaseOptionList.h>
Public Member Functions | |
| virtual XmlNode | rootElement () const =0 |
| Returns the element associated with this options list. | |
| virtual XmlNode | parentElement () const =0 |
| Returns the parent element. | |
| virtual void | addChild (ICaseOptions *co)=0 |
| Adds the list co to the list of children. | |
| virtual void | removeChild (ICaseOptions *co)=0 |
| Removes co from the list of children. | |
| virtual ICaseMng * | caseMng () const =0 |
| Returns the case manager. | |
| virtual void | readChildren (bool is_phase1)=0 |
| Reads the option values from the DOM elements. | |
| virtual void | printChildren (const String &lang, int indent)=0 |
| Displays the list of child options in language lang and their value. | |
| virtual String | rootTagName () const =0 |
| Returns the name of the element of this list. | |
| virtual void | deepGetChildren (Array< CaseOptionBase * > &col)=0 |
| Adds all child options to the list col. | |
| virtual bool | isPresent () const =0 |
| Indicates if the option is present in the data set. | |
| virtual bool | isOptional () const =0 |
| Indicates if the option is optional. | |
| virtual Integer | minOccurs () const =0 |
| Minimum number of occurrences. | |
| virtual Integer | maxOccurs () const =0 |
| Maximum number of occurrences. | |
| virtual void | visit (ICaseDocumentVisitor *visitor)=0 |
| Applies the visitor visitor. | |
| virtual String | xpathFullName () const =0 |
| Full name in XPath format corresponding to rootElement(). | |
| virtual MeshHandle | meshHandle () const =0 |
| Handle of the associated mesh. | |
| virtual ICaseDocumentFragment * | caseDocumentFragment () const =0 |
| Associated document. | |
| virtual void | disable ()=0 |
| Disables the option as if it were absent. | |
| virtual void | addConfig (CaseOptionBase *o, XmlNode parent)=0 |
| Adds option o with parent parent. | |
| virtual void | setRootElementWithParent (XmlNode parent_element)=0 |
| Positions the root element of the list, with parent_element as parent. If already positioned, does nothing. | |
| virtual void | setRootElement (XmlNode root_element)=0 |
| Positions the root element of the list. If already positioned, throws an exception. | |
| virtual void | addInvalidChildren (XmlNodeList &nlist)=0 |
| Adds child elements that do not correspond to options in nlist. | |
| virtual ICaseOptionListInternal * | _internalApi ()=0 |
| Internal Arcane API. | |
Private Member Functions | |
| ARCCORE_DECLARE_REFERENCE_COUNTED_INCLASS_METHODS () | |
Interface for a data set options list.
Definition at line 38 of file ICaseOptionList.h.
|
pure virtual |
Implemented in Arcane::CaseOptionList.
References _internalApi().
Referenced by _internalApi(), and Arcane::CaseOptionListMulti::readChildren().
|
pure virtual |
Adds the list co to the list of children.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Adds option o with parent parent.
Implemented in Arcane::CaseOptionList.
References addConfig().
Referenced by addConfig().
|
pure virtual |
Adds child elements that do not correspond to options in nlist.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
References addInvalidChildren().
Referenced by addInvalidChildren().
|
pure virtual |
Associated document.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Returns the case manager.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Adds all child options to the list col.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
|
pure virtual |
Disables the option as if it were absent.
This is used, for example, if the option is associated with a mesh that is not defined.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Indicates if the option is optional.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
|
pure virtual |
Indicates if the option is present in the data set.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Maximum number of occurrences.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
|
pure virtual |
Handle of the associated mesh.
Implemented in Arcane::CaseOptionList.
Referenced by Arcane::CaseOptionExtended::_search(), and Arcane::CaseOptionMultiExtended::_search().
|
pure virtual |
Minimum number of occurrences.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
|
pure virtual |
Returns the parent element.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Displays the list of child options in language lang and their value.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
|
pure virtual |
Reads the option values from the DOM elements.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
|
pure virtual |
Removes co from the list of children.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Returns the element associated with this options list.
If there are none, returns a null XmlNode. If there are multiple, returns the first one.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Returns the name of the element of this list.
Implemented in Arcane::CaseOptionList.
|
pure virtual |
Positions the root element of the list. If already positioned, throws an exception.
Implemented in Arcane::CaseOptionList.
References setRootElement().
Referenced by setRootElement().
|
pure virtual |
Positions the root element of the list, with parent_element as parent. If already positioned, does nothing.
Implemented in Arcane::CaseOptionList.
References setRootElementWithParent().
Referenced by setRootElementWithParent().
|
pure virtual |
Applies the visitor visitor.
Implemented in Arcane::CaseOptionList, and Arcane::CaseOptionListMulti.
|
pure virtual |
Full name in XPath format corresponding to rootElement().
Implemented in Arcane::CaseOptionList.