Back to Adaptive Vision Library website

You are here: Start » Function Reference » Xml » Xml_GetRealAttribute

Xml_GetRealAttribute


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:avl

Gets a node attribute value as Real.

Syntax

void avl::Xml_GetRealAttribute
(
	const avl::XmlNode& inNode,
	const atl::String& inName,
	const atl::Optional<float>& inDefault,
	float& outValue
)

Parameters

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

See Also

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