The Vish Visualization Shell 0.3
Vish
Public Types | List of all members
Wizt::DefaultTypedSlotSaveProperty< Type > Struct Template Reference

A type trait class defining a the default property of certain types used in input slots, telling if the value of these types should be saved when the status of an object is saved. More...

#include <ocean/plankton/TypedSlot.hpp>

Public Types

enum  { dontSave = false }
 

Detailed Description

template<class Type>
struct Wizt::DefaultTypedSlotSaveProperty< Type >

A type trait class defining a the default property of certain types used in input slots, telling if the value of these types should be saved when the status of an object is saved.

Per default, the "dontSave" property is false, and all object parameters are attempted to be saved. However, for certain types saving them to a file doesn't make sense, so this default property can be overridden in such a case.

For a specific VSlot, one can always set its dontSave property explicitly, this type trait merely defines it default value.

Member Enumeration Documentation

◆ anonymous enum

template<class Type >
anonymous enum
Enumerator
dontSave 

Default property (false, i.e. do save the type)