Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Xml » Xml_GetIntegerAttribute
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Gets a node attribute value as Integer.
Syntax
void fil::Xml_GetIntegerAttribute ( const fil::XmlNode& inNode, const ftl::String& inName, const ftl::Optional<int>& inDefault, int& outValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inNode | const XmlNode& | Source node. | |
![]() |
inName | const String& | Attribute name. | |
![]() |
inDefault | const Optional<int>& | NIL | Value if attribute was not found. |
![]() |
outValue | int& | Attribute value. |
See Also
- Xml_SetAttributes – Sets values of attributes which were selected using XPath request.
- Xml_AppendAttributes – Appends new attributes to the node.