stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::ArrayEvent::LocalInit Struct Reference
Inheritance diagram for stmg::ArrayEvent::LocalInit:
Inheritance graph
[legend]

Public Attributes

std::vector< Dimensionm_aDimensions
 The dimensions of m_oArray. More...
 
std::vector< int32_t > m_aValues
 The array of values. More...
 
int32_t m_nDefaultValue = 0
 The default value if any index is outside the allowed range. More...
 

Member Data Documentation

◆ m_aDimensions

std::vector<Dimension> stmg::ArrayEvent::LocalInit::m_aDimensions

The dimensions of m_oArray.

Only one of the dimensions can have m_nVarIndex -1.

◆ m_aValues

std::vector<int32_t> stmg::ArrayEvent::LocalInit::m_aValues

The array of values.

Its size must be the multiplication of the Dimensions sizes.

◆ m_nDefaultValue

int32_t stmg::ArrayEvent::LocalInit::m_nDefaultValue = 0

The default value if any index is outside the allowed range.

Default is 0.