Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::CaseOptionMultiSimple Class Reference
Inheritance diagram for Arcane::CaseOptionMultiSimple:
Collaboration diagram for Arcane::CaseOptionMultiSimple:

Public Member Functions

 CaseOptionMultiSimple (const CaseOptionBuildInfo &cob)
Public Member Functions inherited from Arcane::CaseOptionBase
String trueName () const
 Returns the true name (untranslated) of the option.
String name () const
 Returns the option name corresponding to the data set language.
String translatedName (const String &lang) const
 Name of the option in the language lang. Returns name() if no translation exists.
void search (bool is_phase1)
 Retrieves the value from the configuration file for the variable.
virtual void print (const String &lang, std::ostream &o) const =0
 Prints the option value in the language lang, to the stream o.
ICaseMngcaseMng () const
 Case manager.
ICaseOptionListparentOptionList () const
 Parent OptionList.
ITraceMngtraceMng () const
 Trace manager.
ISubDomainsubDomain () const
 Sub-domain manager.
ICaseDocumentcaseDocument () const
 Returns the document manager.
ICaseDocumentFragmentcaseDocumentFragment () const
 Returns the document associated with this option.
void setRootElement (const XmlNode &root_element)
 Positions the root element at root_element.
XmlNode rootElement () const
 Returns the root element of the DOM.
virtual ICaseFunctionfunction () const =0
 Returns the function linked to this option or nullptr if none exists.
Integer minOccurs () const
 Minimum number of occurrences (for a multiple option).
Integer maxOccurs () const
 Maximum number of occurrences (for a multiple option) (-1 == unbounded).
bool isOptional () const
 Allows knowing if an option is optional.
virtual void updateFromFunction (Real current_time, Integer current_iteration)=0
 Updates the option value from a function.
void addAlternativeNodeName (const String &lang, const String &name)
 Adds a translation for the option name.
void addDefaultValue (const String &category, const String &value)
 Adds the default value value to the category category.
virtual void visit (ICaseDocumentVisitor *visitor) const =0
 Applies the visitor to this option.
void checkIsInitialized () const
 Throws an exception if the option has not been initialized.

Additional Inherited Members

Protected Member Functions inherited from Arcane::CaseOptionBase
 CaseOptionBase (const CaseOptionBuildInfo &cob)
String _defaultValue () const
 Returns the default value of the option or 0 if none exists.
void _setDefaultValue (const String &def_value)
virtual void _search (bool is_phase1)=0
void _setIsInitialized ()
bool _isInitialized () const
void _checkIsInitialized () const
void _checkMinMaxOccurs (Integer nb_occur)
String _xpathFullName () const

Detailed Description

Definition at line 307 of file CaseOptionSimple.h.

Constructor & Destructor Documentation

◆ CaseOptionMultiSimple()

Arcane::CaseOptionMultiSimple::CaseOptionMultiSimple ( const CaseOptionBuildInfo & cob)
inline

Definition at line 312 of file CaseOptionSimple.h.


The documentation for this class was generated from the following file: