Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::NodeSwitch Class Reference

Public Member Functions

 NodeSwitch (const NodeSwitch &)=delete
 
NodeSwitchoperator= (const NodeSwitch &)=delete
 
 NodeSwitch (NodeSwitch &&) noexcept
 
NodeSwitchoperator= (NodeSwitch &&) noexcept
 
 NodeSwitch (SerializeBase &serializer, TiXmlElement *node, bool retrieveChild=true)
 NodeSwitch helps track parent node during recursive/nested function calls.
 
 NodeSwitch (SerializeBase &serializer, TiXmlElement &node, bool retrieveChild=true)
 
 NodeSwitch (SerializeBase &serializer, std::string_view key, bool retrieveChild=true)
 NodeSwitch helps track parent node during recursive/nested function calls.
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ NodeSwitch() [1/2]

inviwo::NodeSwitch::NodeSwitch ( SerializeBase & serializer,
TiXmlElement * node,
bool retrieveChild = true )

NodeSwitch helps track parent node during recursive/nested function calls.

Parameters
serializerreference to serializer or deserializer
nodethe node to switch to
retrieveChildwhether to retrieve child node or not.

◆ NodeSwitch() [2/2]

inviwo::NodeSwitch::NodeSwitch ( SerializeBase & serializer,
std::string_view key,
bool retrieveChild = true )

NodeSwitch helps track parent node during recursive/nested function calls.

Parameters
serializerreference to serializer or deserializer
keythe child to switch to.
retrieveChildwhether to retrieve child node or not.

The documentation for this class was generated from the following file: