Version

menu_open
Wwise SDK 2022.1.12

◆ GetValue()

const char* AK.Wwise::Plugin::V1::XmlReader::GetValue ( ) const
inline

Returns the value of the current node being read.

This returns the textual representation of the current node's value. What the XML parser considers to be a value might not be what is expected, as the final text could be comprised of multiple values.

For example, this Item node has three content elements: <Item>1&number;3</Item>

For normal string retrieval, the ReadElementString will actually return the value of an XML with proper parsing applied.

Note: The string is available until the next Host operation. If storing is required, a copy should be made at the earliest convenience.
Returns
The value of the current node, an empty string if the value is empty. The buffer is owned by Authoring and is valid until the next API call.

Definition at line 605 of file HostXml.h.

References AK.Wwise::Plugin::CBaseInterfaceGlue< CHostXml >::g_cinterface, and ak_wwise_plugin_host_xml_v1::GetValue.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise