Exemplo n.º 1
0
/**
 * Retrieves the value of the specified attribute.
 */
void NCDElementImpl::getAttribute(
	ConstUTF8Str name,					///< [in] attribute name
	UTF8String& output				///< [out] value is retrieved
) const
{
	NCDAttr* attribute = attributes.getAttrItem(name);
	if (NULL == attribute)
	{
		output.Empty();
	}
	else
	{
		attribute->getValue(output);
	}
}
Exemplo n.º 2
0
/**
 * Retrieves the value of this node.
 */
void NCDElementImpl::getNodeValue(
	UTF8String& output			///< [out] the value of this node is returned.
) const
{
	output.Empty();
}