16class InputValuePrivate;
41 void setType(Type newType);
43 const Value &value()
const;
44 void setValue(
const Value &newValue);
46 Block *valueBlock()
const;
47 void setValueBlock(
Block *newValueBlock);
49 const std::string &valueBlockId()
const;
50 void setValueBlockId(
const std::string &newValueBlockId);
52 std::shared_ptr<Entity> valuePtr()
const;
53 void setValuePtr(
const std::shared_ptr<Entity> &newValuePtr);
55 const std::string &valueId()
const;
56 void setValueId(
const std::string &newValueId);
59 spimpl::impl_ptr<InputValuePrivate> impl;
The Block class represents a Scratch block.
Definition block.h:24
The CompilerValue class represents a local value in compiled code.
Definition compilervalue.h:14
The Compiler class provides API for compiling Scratch scripts.
Definition compiler.h:33
The Entity class is the base class of everything that is identified by an ID (Target,...
Definition entity.h:17
The Value class represents a Scratch value.
Definition value.h:22
#define LIBSCRATCHCPP_EXPORT
Definition global.h:17
The main namespace of the library.
Definition asset.h:10