Open 3D Engine ScriptCanvas Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ScriptCanvas::VariableData Class Reference

Variable Data structure for storing mappings of variable names to variable objects. More...

#include <VariableData.h>

Public Types

enum  Version : AZ::s32 { InitialVersion = 0 , UUID_To_Variable , VariableDatumSimplification , Current }
 

Public Member Functions

 AZ_TYPE_INFO (VariableData, "{4F80659A-CD11-424E-BF04-AF02ABAC06B0}")
 
 AZ_CLASS_ALLOCATOR (VariableData, AZ::SystemAllocator)
 
 VariableData (const VariableData &)=default
 
VariableDataoperator= (const VariableData &)=default
 
 VariableData (VariableData &&)
 
VariableDataoperator= (VariableData &&)
 
GraphVariableMapping & GetVariables ()
 
const GraphVariableMapping & GetVariables () const
 
AZ::Outcome< VariableId, AZStd::string > AddVariable (AZStd::string_view varName, const GraphVariable &graphVariable)
 
GraphVariableFindVariable (AZStd::string_view variableName)
 
GraphVariableFindVariable (VariableId variableId)
 
const GraphVariableFindVariable (AZStd::string_view variableName) const
 
const GraphVariableFindVariable (VariableId variableId) const
 
void Clear ()
 
size_t RemoveVariable (AZStd::string_view variableName)
 
bool RemoveVariable (const VariableId &variableId)
 
bool RenameVariable (const VariableId &variableId, AZStd::string_view newVarName)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Variable Data structure for storing mappings of variable names to variable objects.


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