Public Types | |
| typedef std::pair< CaseOptionBase *, XmlNode > | CaseOptionBasePair |
| typedef std::vector< CaseOptionBasePair > | CaseOptionBasePairList |
| Public Types inherited from Arcane::CaseOptionList | |
| typedef std::pair< CaseOptionBase *, XmlNode > | CaseOptionBasePair |
| typedef std::vector< CaseOptionBasePair > | CaseOptionBasePairList |
Public Member Functions | |
| CaseOptionListMulti (ICaseOptionsMulti *com, ICaseOptions *co, ICaseMng *m, const XmlNode &element, Integer min_occurs, Integer max_occurs) | |
| CaseOptionListMulti (ICaseOptionsMulti *com, ICaseOptions *co, ICaseOptionList *parent, const XmlNode &element, Integer min_occurs, Integer max_occurs) | |
| bool | isOptional () const override |
| Indicates if the option is optional. | |
| Integer | minOccurs () const override |
| Minimum number of occurrences. | |
| Integer | maxOccurs () const override |
| Maximum number of occurrences. | |
| void | readChildren (bool is_phase1) override |
| Reads the option values from the DOM elements. | |
| void | addInvalidChildren (XmlNodeList &nlist) override |
| Adds child elements that do not correspond to options in nlist. | |
| void | printChildren (const String &lang, int indent) override |
| Displays the list of child options in language lang and their value. | |
| void | deepGetChildren (Array< CaseOptionBase * > &col) override |
| Adds all child options to the list col. | |
| void | visit (ICaseDocumentVisitor *visitor) override |
| Applies the visitor visitor. | |
| void | _checkMinMaxOccurs (Integer nb_occur) |
| Public Member Functions inherited from Arcane::CaseOptionList | |
| CaseOptionList (ICaseMng *m, ICaseOptions *ref_opt, XmlNode parent_element) | |
| CaseOptionList (ICaseOptionList *parent, ICaseOptions *ref_opt, XmlNode parent_element) | |
| XmlNode | rootElement () const override |
| Returns the element associated with this options list. | |
| XmlNode | parentElement () const override |
| Returns the parent element. | |
| ICaseMng * | caseMng () const override |
| Returns the case manager. | |
| void | addConfig (CaseOptionBase *cbi, XmlNode parent) override |
| Adds option o with parent parent. | |
| void | addChild (ICaseOptions *c) override |
| Adds the list co to the list of children. | |
| void | removeChild (ICaseOptions *c) override |
| Removes co from the list of children. | |
| String | rootTagName () const override |
| Returns the name of the element of this list. | |
| void | setOptional (bool v) |
| void | setRootElementWithParent (XmlNode parent_element) override |
| Positions the root element of the list, with parent_element as parent. If already positioned, does nothing. | |
| void | setRootElement (XmlNode root_element) override |
| Positions the root element of the list. If already positioned, throws an exception. | |
| bool | isPresent () const override |
| Indicates if the option is present in the data set. | |
| void | setIsMulti (bool v) |
| Indicates if the option can be present multiple times. | |
| String | xpathFullName () const override |
| Full name in XPath format corresponding to rootElement(). | |
| MeshHandle | meshHandle () const override |
| Handle of the associated mesh. | |
| ICaseDocumentFragment * | caseDocumentFragment () const override |
| Associated document. | |
| void | disable () override |
| Disables the option as if it were absent. | |
| virtual ICaseOptionListInternal * | _internalApi () override |
| Internal Arcane API. | |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () const |
| Trace manager. | |
| TraceMessage | info () const |
| Flow for an information message. | |
| TraceMessage | pinfo () const |
| Flow for a parallel information message. | |
| TraceMessage | info (char category) const |
| Flow for an information message of a given category. | |
| TraceMessage | pinfo (char category) const |
| Flow for a parallel information message of a given category. | |
| TraceMessage | info (bool v) const |
| Flow for an information message. | |
| TraceMessage | warning () const |
| Flow for a warning message. | |
| TraceMessage | pwarning () const |
| TraceMessage | error () const |
| Flow for an error message. | |
| TraceMessage | perror () const |
| TraceMessage | log () const |
| Flow for a log message. | |
| TraceMessage | plog () const |
| Flow for a log message. | |
| TraceMessage | logdate () const |
| Flow for a log message preceded by the date. | |
| TraceMessage | fatal () const |
| Flow for a fatal error message. | |
| TraceMessage | pfatal () const |
| Flow for a parallel fatal error message. | |
| TraceMessageDbg | debug (Trace::eDebugLevel=Trace::Medium) const |
| Flow for a debug message. | |
| Trace::eDebugLevel | configDbgLevel () const |
| Debug level of the configuration file. | |
| TraceMessage | info (Int32 verbose_level) const |
| Flow for an information message of a given level. | |
| TraceMessage | linfo () const |
| Flow for an information message with the local information level of this instance. | |
| TraceMessage | linfo (Int32 relative_level) const |
| Flow for an information message with the local information level of this instance. | |
| void | fatalMessage (const StandaloneTraceMessage &o) const |
| Public Member Functions inherited from Arcane::ReferenceCounterImpl | |
| void | addReference () |
| void | removeReference () |
| void | _internalAddReference () |
| bool | _internalRemoveReference () |
Protected Member Functions | |
| XmlNode | _rootElement (Integer position) const |
| Protected Member Functions inherited from Arcane::CaseOptionList | |
| void | _addInvalidChildren (XmlNode parent, XmlNodeList &nlist) |
| void | _searchChildren (bool is_phase1) |
| void | _setRootElement (bool force_init, XmlNode parent_element) |
| void | _strIndent (char *buf, int indent, int max_indent) |
| void | _printOption (const String &lang, int indent, CaseOptionBase *co, std::ostream &o) |
| bool | _isValidChildTagName (const String &name) |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Additional Inherited Members | |
| Protected Attributes inherited from Arcane::CaseOptionList | |
| ICaseMng * | m_case_mng |
| XmlNode | m_root_element |
| Root element for this option list. | |
| ICaseOptionList * | m_parent |
| ICaseOptions * | m_ref_opt |
| CaseOptionBasePairList | m_config_list |
| List of configuration values. | |
| std::vector< ICaseOptions * > | m_case_options |
| XmlNode | m_parent_element |
| Parent element. | |
| bool | m_is_present |
| bool | m_is_multi |
| bool | m_is_optional |
| bool | m_is_disabled = false |
| InternalApi | m_internal_api |
Definition at line 566 of file CaseOptionList.cc.
| typedef std::pair<CaseOptionBase*, XmlNode> Arcane::CaseOptionListMulti::CaseOptionBasePair |
Definition at line 571 of file CaseOptionList.cc.
| typedef std::vector<CaseOptionBasePair> Arcane::CaseOptionListMulti::CaseOptionBasePairList |
Definition at line 572 of file CaseOptionList.cc.
|
inline |
Definition at line 576 of file CaseOptionList.cc.
|
inline |
Definition at line 583 of file CaseOptionList.cc.
| void Arcane::CaseOptionListMulti::_checkMinMaxOccurs | ( | Integer | nb_occur | ) |
Definition at line 716 of file CaseOptionList.cc.
Definition at line 606 of file CaseOptionList.cc.
|
overridevirtual |
Adds child elements that do not correspond to options in nlist.
Reimplemented from Arcane::CaseOptionList.
Definition at line 667 of file CaseOptionList.cc.
|
overridevirtual |
Adds all child options to the list col.
Reimplemented from Arcane::CaseOptionList.
Definition at line 692 of file CaseOptionList.cc.
|
inlineoverridevirtual |
Indicates if the option is optional.
Reimplemented from Arcane::CaseOptionList.
Definition at line 594 of file CaseOptionList.cc.
|
inlineoverridevirtual |
Maximum number of occurrences.
Reimplemented from Arcane::CaseOptionList.
Definition at line 596 of file CaseOptionList.cc.
|
inlineoverridevirtual |
Minimum number of occurrences.
Reimplemented from Arcane::CaseOptionList.
Definition at line 595 of file CaseOptionList.cc.
|
overridevirtual |
Displays the list of child options in language lang and their value.
Reimplemented from Arcane::CaseOptionList.
Definition at line 680 of file CaseOptionList.cc.
|
overridevirtual |
Reads the option values from the DOM elements.
Reimplemented from Arcane::CaseOptionList.
Definition at line 625 of file CaseOptionList.cc.
References Arcane::ICaseOptionList::_internalApi(), ARCANE_FATAL, Arcane::TraceAccessor::info(), Arcane::CaseOptionList::m_config_list, Arcane::CaseOptionList::m_parent_element, Arcane::CaseOptionList::m_root_element, and Arcane::CaseOptionList::rootTagName().
|
overridevirtual |
Applies the visitor visitor.
Reimplemented from Arcane::CaseOptionList.
Definition at line 704 of file CaseOptionList.cc.