menu
 
Version
2024.1.2.8726

2024.1.2.8726

2023.1.10.8659

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2024.1.2

◆ MoveToContent

AK::Wwise::Plugin::XmlNodeType::NodeType(* ak_wwise_plugin_host_xml_v1::MoveToContent) (struct ak_wwise_plugin_host_xml_reader_instance_v1 *in_this)

Makes sure the cursor points to a content-type entity while reading XML.

If the node is not a content node, the reader skips ahead to the next content entity until the end of file. More specifically, it will skip over the following usual node types:

  • ProcessingInstruction
  • DocumentType
  • Comment
  • Whitespace
  • SignificantWhitespace

Content entities are specifically:

  • Text (Non-whitespace text)
  • CDATA
  • Element
  • EndElement
  • EndEntity
  • EntityReference

This method will also move to the element part of an Attribute.

info

Note: This method is mostly a convenience and could be easily coded by a simple loop.

Once the current node hierarchy information is determined by proper use of Read, MoveToContent will make sure to provide the actual content of the entity. If no content is available, it will return EndElement or EndEntity.

Parameters
[in]in_thisCurrent reader instance of this interface.
Returns
The new node type. None if the reader has reached the end of file.

Definition at line 278 of file HostXml.h.

Referenced by AK.Wwise::Plugin::V1::XmlReader::MoveToContent().


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise