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

Classes

struct  VariableDescriptor
 

Public Member Functions

 AZ_RTTI (ExpressionTree, "{4CCF3DFD-2EA8-47CB-AF25-353BC034EF42}")
 
 AZ_CLASS_ALLOCATOR (ExpressionTree, AZ::SystemAllocator)
 
void ClearTree ()
 
void PushElement (ExpressionToken &&expressionToken)
 
void RegisterVariable (const AZStd::string &displayName)
 
size_t GetTreeSize () const
 
const AZStd::vector< AZStd::string > & GetVariables () const
 
const ExpressionVariable & GetVariable (const AZStd::string &name) const
 
const ExpressionVariable & GetVariable (const AZ::Crc32 &nameHash) const
 
ExpressionVariable & ModVariable (const AZStd::string &name)
 
ExpressionVariable & ModVariable (const AZ::Crc32 &nameHash)
 
template<typename T >
void SetVariable (const AZStd::string &name, const T &value)
 
template<typename T >
void SetVariable (const AZ::Crc32 &nameHash, const T &value)
 
const AZStd::vector< ExpressionToken > & GetTokens () const
 
const AZStd::vector< AZ::Uuid > & GetSupportedTypes (const AZStd::string &variableName) const
 
const AZStd::vector< AZ::Uuid > & GetSupportedTypes (const AZ::Crc32 &nameHash) const
 

Friends

class ExpressionEvaluationSystemComponent
 
class ExpressionTreeVariableDescriptorSerializer
 

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