#include <xml_expression_element.h>
◆ IndexType
◆ XmlExpressionElement() [1/2]
| Kratos::XmlExpressionElement::XmlExpressionElement |
( |
const std::string & |
rTagName | ) |
|
Constructor.
- Parameters
-
| rTagName | The tag name of the XML element. |
◆ XmlExpressionElement() [2/2]
| Kratos::XmlExpressionElement::XmlExpressionElement |
( |
const std::string & |
rDataName, |
|
|
const std::vector< Expression::ConstPointer > & |
rExpressions |
|
) |
| |
Constructor.
- Parameters
-
| rDataName | The name of the data element. |
| rExpressions | The expressions to write as data. |
◆ AddAttribute()
| void Kratos::XmlExpressionElement::AddAttribute |
( |
const std::string & |
rName, |
|
|
const std::string & |
rValue |
|
) |
| |
Add an attribute to the XML element.
- Parameters
-
| rName | The name of the attribute. |
| rValue | The value of the attribute. |
◆ AddElement()
| void Kratos::XmlExpressionElement::AddElement |
( |
const XmlExpressionElement::Pointer |
pXmlElement | ) |
|
Add a sub-element to the XML element.
- Parameters
-
| pXmlElement | The sub-element to add. |
◆ ClearAttributes()
| void Kratos::XmlExpressionElement::ClearAttributes |
( |
| ) |
|
Clear the attributes of the XML element.
◆ ClearElements()
| void Kratos::XmlExpressionElement::ClearElements |
( |
| ) |
|
Clear all sub-elements of the XML element.
◆ GetAttributes()
| const std::vector< std::pair< std::string, std::string > > & Kratos::XmlExpressionElement::GetAttributes |
( |
| ) |
const |
Get the attributes of the XML element.
- Returns
- The attributes.
◆ GetElements() [1/2]
| const std::vector< XmlExpressionElement::Pointer > & Kratos::XmlExpressionElement::GetElements |
( |
| ) |
const |
Get all sub-elements of the XML element.
- Returns
- The vector of sub-elements.
◆ GetElements() [2/2]
| std::vector< XmlExpressionElement::Pointer > Kratos::XmlExpressionElement::GetElements |
( |
const std::string & |
rTagName | ) |
const |
Get sub-elements with a specific tag name.
- Parameters
-
| rTagName | The tag name of the sub-elements. |
- Returns
- The vector of sub-elements.
◆ GetExpressions()
◆ GetTagName()
| const std::string Kratos::XmlExpressionElement::GetTagName |
( |
| ) |
const |
Get the tag name of the XML element.
- Returns
- The tag name.
◆ KRATOS_CLASS_POINTER_DEFINITION()
The documentation for this class was generated from the following files: