Inviwo  0.9.10.1
Inviwo documentation
inviwo::NodeSwitch Class Reference

Public Member Functions

 NodeSwitch (SerializeBase &serializer, TxElement *node, bool retrieveChild=true)
 NodeSwitch helps track parent node during recursive/nested function calls. More...
 
 NodeSwitch (SerializeBase &serializer, const std::string &key, bool retrieveChild=true)
 NodeSwitch helps track parent node during recursive/nested function calls. More...
 
 ~NodeSwitch ()
 Destructor.
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ NodeSwitch() [1/2]

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/2]

inviwo::NodeSwitch::NodeSwitch ( SerializeBase serializer,
const std::string &  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 files: