版本

menu_open
Wwise SDK 2021.1.14

◆ ReadElementString()

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

Reads simple text-only elements, and increments the pointer.

Since strings can span multiple content elements, this method will read all the sequential string-like elements and append them, returning one simple string. This function also works with empty nodes and multiple lines.

If no processing or incrementing is warranted, Read, MoveToContent and GetValue should be used instead.

This method goes past the ending element node, or the equivalent of calling Read once more.

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 string of the current nodes, 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 699 of file HostXml.h.

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


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅