2#include "Engine/Parameter/Template.h"
4#include <boost/signals2.hpp>
10 std::variant<std::vector<bt::floatT>, std::vector<bt::intT>, std::vector<bt::String>>;
15 std::string getName()
const;
16 std::string getLabel()
const;
18 enzo::prm::Type getType()
const;
19 unsigned int getVectorSize()
const;
21 bt::floatT evalFloat(
unsigned int index = 0)
const;
22 bt::String evalString(
unsigned int index = 0)
const;
23 bt::intT evalInt(
unsigned int index = 0)
const;
25 void setInt(bt::intT value,
unsigned int index = 0);
26 void setFloat(bt::floatT value,
unsigned int index = 0);
27 void setString(bt::String value,
unsigned int index = 0);
29 PrmValues getValues()
const;
30 void setValues(
const PrmValues &values);
34 boost::signals2::signal<void()> valueChanged;
37 void addUndo_(enzo::prm::PrmValues before);
38 void handleValueChange_();
Basic attribute, parameter, and node types for Enzo.
uint64_t OpId
The unique ID assigned to each node in the network.
Definition Types.h:87
Definition Parameter.h:12