Back to FabImage Library website

You are here: Start » Function Reference » All Functions » Xml » Xml_GetBoolAttribute

Xml_GetBoolAttribute


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 Bool.

Syntax

void fil::Xml_GetBoolAttribute
(
	const fil::XmlNode& inNode,
	const ftl::String& inName,
	const ftl::Optional<bool>& inDefault,
	bool& outValue
)

Parameters

Name Type Default Description
Input value
inNode const XmlNode& Source node.
Input value
inName const String& Attribute name.
Input value
inDefault const Optional<bool>& NIL Value if attribute was not found.
Output value
outValue bool& Attribute value.

See Also

  • Xml_SetAttributes – Sets values of attributes which were selected using XPath request.