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, TxElement *node, bool retrieveChild=true)
 NodeSwitch helps track parent node during recursive/nested function calls.
 
 NodeSwitch (SerializeBase &serializer, std::unique_ptr< TxElement > node, bool retrieveChild=true)
 NodeSwitch helps track parent node during recursive/nested function calls.
 
 NodeSwitch (SerializeBase &serializer, std::string_view key, bool retrieveChild=true)
 NodeSwitch helps track parent node during recursive/nested function calls.
 
 ~NodeSwitch ()
 Destructor.
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ NodeSwitch() [1/3]

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

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

Parameters
serializerreference to serializer or deserializer
node//Parent (Ticpp Node) element.
retrieveChildwhether to retrieve child node or not.

◆ NodeSwitch() [2/3]

inviwo::NodeSwitch::NodeSwitch ( SerializeBase & serializer,
std::unique_ptr< TxElement > node,
bool retrieveChild = true )

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

Parameters
serializerreference to serializer or deserializer
node//Parent (Ticpp Node) element.
retrieveChildwhether to retrieve child node or not.

◆ NodeSwitch() [3/3]

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: