12#ifndef ARCANE_CORE_ICASEDOCUMENT_H
13#define ARCANE_CORE_ICASEDOCUMENT_H
17#include "arcane/core/XmlNodeList.h"
79 virtual bool hasError()
const = 0;
82 virtual bool hasWarnings()
const = 0;
XML node names of an Arcane dataset.
Interface of a part of a dataset.
virtual IXmlDocumentHolder * documentHolder()=0
Returns the XML document of the dataset. This pointer remains the property of this class and is destr...
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 XmlNode rootElement()=0
Returns the root element.
virtual XmlNode documentNode()=0
Returns the document node.
virtual String language() const =0
Language used in the dataset.
virtual void printWarnings(std::ostream &o)=0
Writes the warnings to the stream o.
virtual void addError(const CaseOptionError &case_error)=0
Adds an error to the dataset.
virtual void clearErrorsAndWarnings()=0
Clears the recorded error and warning messages.
virtual void addWarning(const CaseOptionError &case_error)=0
Adds a warning to the dataset.
virtual void printErrors(std::ostream &o)=0
Writes the errors to the stream o.
Interface of a class managing an XML document of the dataset.
virtual XmlNode configurationElement()=0
Returns the configuration information element.
virtual ICaseDocument * clone()=0
Clones the document.
virtual XmlNode timeloopElement()=0
Returns the element containing the time loop choice.
virtual XmlNode meshesElement()=0
Element containing the list of meshes (new mechanism) (can be null).
virtual String codeUnitSystem() const =0
Name of the document's unit system.
virtual void setCodeVersion(const String &value)=0
Sets the version number of the code.
virtual XmlNode functionsElement()=0
Returns the root element of the functions.
virtual XmlNode titleElement()=0
Returns the element containing the case title.
virtual String codeName() const =0
Name of the case code.
virtual String codeVersion() const =0
Version number of the code corresponding to the case.
virtual XmlNode servicesElement()=0
Returns the element containing the service descriptions.
virtual const XmlNodeList & meshElements()=0
Returns the root element of the mesh information.
virtual void setUserClass(const String &value)=0
Sets the name of the case usage class.
virtual void setCodeName(const String &value)=0
Sets the name of the case code.
virtual String userClass() const =0
Name of the case usage class.
virtual XmlNode descriptionElement()=0
Returns the element containing the case description.
virtual void setDefaultCategory(const String &v)=0
Sets the category used for default values.
virtual XmlNode arcaneElement()=0
Returns the information element for Arcane.
virtual void setCodeUnitSystem(const String &value)=0
Sets the name of the document's unit system.
virtual ICaseDocumentFragment * fragment()=0
Fragment corresponding to this document.
virtual void build()=0
Constructs the instance.
virtual XmlNode modulesElement()=0
Returns the element containing the module descriptions.
virtual CaseNodeNames * caseNodeNames()=0
Returns the instance containing the names of XML nodes by language.
Manager of a DOM document.
Unicode character string.
List of nodes of a DOM tree.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --