Struct SSwitchVarContext#

Struct Documentation#

struct SSwitchVarContext#

Multiple unions can be switched using one switch variable. The switch functions are implemented in the struct or exception containing the switch variable. This struct collects the switch information globally to allow the variable to be used in a switch case even if the union is several layers deep in the child hierarchy.

Public Members

sdv::IInterfaceAccess *pVarEntity = nullptr#

The switch variable entity pointer.

std::string ssType#

Switch var type.

std::string ssName#

Switch var name.

std::string ssScopedName#

Scoped name of the switch.

std::vector<std::string> vecUnionDecl#

Vector containing the union names to switch for.