dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
dex::model::Switch Struct Reference

packed-switch or sparse-switch, chosen by write(). More...

#include <model/types.hpp>

Classes

struct  Case
 

Public Member Functions

bool operator== (const Switch &) const =default
 

Public Attributes

Reg value = 0
 
std::vector< Case > cases
 

Detailed Description

packed-switch or sparse-switch, chosen by write().

A value with no case falls through to the next instruction.

Member Function Documentation

◆ operator==()

bool dex::model::Switch::operator== ( const Switch &  ) const
default

Member Data Documentation

◆ value

Reg dex::model::Switch::value = 0

◆ cases

std::vector<Case> dex::model::Switch::cases

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