libscratchcpp
A library for C++ based Scratch project players
Loading...
Searching...
No Matches
libscratchcpp::ValueData Struct Reference

The ValueData struct holds the data of Value. It's used in compiled Scratch code for better performance. More...

#include <scratchcpp/valuedata.h>

Collaboration diagram for libscratchcpp::ValueData:

Public Attributes

union { 
 
   double   numberValue 
 
   bool   boolValue 
 
   StringPtr *   stringValue 
 
   const void *   pointerValue 
 
};  
 
ValueType type
 

Detailed Description

The ValueData struct holds the data of Value. It's used in compiled Scratch code for better performance.

Member Data Documentation

◆ [union]

union { ... } libscratchcpp::ValueData

◆ boolValue

bool libscratchcpp::ValueData::boolValue

◆ numberValue

double libscratchcpp::ValueData::numberValue

◆ pointerValue

const void* libscratchcpp::ValueData::pointerValue

◆ stringValue

StringPtr* libscratchcpp::ValueData::stringValue

◆ type

ValueType libscratchcpp::ValueData::type

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