BehaviorTree
Core Library to create and execute Behavior Trees
Loading...
Searching...
No Matches
BT::Ast::ExprAssignment Struct Reference
Inheritance diagram for BT::Ast::ExprAssignment:
Collaboration diagram for BT::Ast::ExprAssignment:

Public Types

enum  op_t {
  assign_create , assign_existing , assign_plus , assign_minus ,
  assign_times , assign_div
}
 
- Public Types inherited from BT::Ast::ExprBase
using Ptr = std::shared_ptr< ExprBase >
 

Public Member Functions

const char * opStr () const
 
 ExprAssignment (expr_ptr _lhs, op_t op, expr_ptr _rhs)
 
Any evaluate (Environment &env) const override
 
virtual Any evaluate (Environment &env) const =0
 

Public Attributes

enum BT::Ast::ExprAssignment::op_t op
 
expr_ptr lhs
 
expr_ptr rhs
 

Member Function Documentation

◆ evaluate()

Any BT::Ast::ExprAssignment::evaluate ( Environment env) const
inlineoverridevirtual

Implements BT::Ast::ExprBase.


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