Interface of a part of a dataset. More...
#include <arcane/core/ICaseDocument.h>
Public Member Functions | |
| virtual IXmlDocumentHolder * | documentHolder ()=0 |
| Returns the XML document of the dataset. This pointer remains the property of this class and is destroyed when this instance is destroyed. | |
| virtual XmlNode | documentNode ()=0 |
| Returns the document node. | |
| virtual XmlNode | rootElement ()=0 |
| Returns the root element. | |
| virtual String | language () const =0 |
| Language used in the dataset. | |
| virtual String | defaultCategory () const =0 |
| Category used for default values. | |
| virtual CaseNodeNames * | caseNodeNames ()=0 |
| Returns the instance containing the names of XML nodes by language. | |
| virtual void | addError (const CaseOptionError &case_error)=0 |
| Adds an error to the dataset. | |
| virtual void | addWarning (const CaseOptionError &case_error)=0 |
| Adds a warning to the dataset. | |
| virtual bool | hasError () const =0 |
| virtual bool | hasWarnings () const =0 |
| virtual void | printErrors (std::ostream &o)=0 |
| Writes the errors to the stream o. | |
| virtual void | printWarnings (std::ostream &o)=0 |
| Writes the warnings to the stream o. | |
| virtual void | clearErrorsAndWarnings ()=0 |
| Clears the recorded error and warning messages. | |
Interface of a part of a dataset.
Definition at line 40 of file ICaseDocument.h.
|
pure virtual |
Adds an error to the dataset.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
Referenced by Arcane::CaseOptionError::addError(), Arcane::CaseOptionError::addInvalidTypeError(), Arcane::CaseOptionError::addInvalidTypeError(), and Arcane::CaseOptionError::addOptionNotFoundError().
|
pure virtual |
Adds a warning to the dataset.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
Referenced by Arcane::CaseOptionError::addWarning().
|
pure virtual |
Returns the instance containing the names of XML nodes by language.
Implemented in Arcane::CaseDocument, Arcane::CaseDocumentFragment, and Arcane::ICaseDocument.
Referenced by Arcane::CaseOptions::read().
|
pure virtual |
Clears the recorded error and warning messages.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
Referenced by Arcane::CaseMng::internalReadOneOption(), and Arcane::CaseMng::readOptions().
|
pure virtual |
Category used for default values.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
|
pure virtual |
Returns the XML document of the dataset. This pointer remains the property of this class and is destroyed when this instance is destroyed.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
|
pure virtual |
Returns the document node.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
|
pure virtual |
Language used in the dataset.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
Referenced by Arcane::TimeLoopMng::_fillModuleFactoryMap(), Arcane::LimaMeshReaderService::readMeshFromFile(), and Arcane::CaseMng::readOptions().
|
pure virtual |
Writes the errors to the stream o.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
|
pure virtual |
Writes the warnings to the stream o.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
|
pure virtual |
Returns the root element.
Implemented in Arcane::CaseDocument, and Arcane::CaseDocumentFragment.
Referenced by Arcane::CaseMng::_searchInvalidOptions(), and Arcane::mesh::DynamicMesh::initializeVariables().