Public Types | Public Member Functions | Public Attributes | List of all members
BT::Ast::ExprAssignment Struct Reference

#include <operators.hpp>

Inheritance diagram for BT::Ast::ExprAssignment:
Inheritance graph
[legend]

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

Any evaluate (Environment &env) const override
 
 ExprAssignment (expr_ptr _lhs, op_t op, expr_ptr _rhs)
 
const char * opStr () const
 
- Public Member Functions inherited from BT::Ast::ExprBase
virtual ~ExprBase ()=default
 

Public Attributes

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

Detailed Description

Definition at line 467 of file operators.hpp.

Member Enumeration Documentation

◆ op_t

Enumerator
assign_create 
assign_existing 
assign_plus 
assign_minus 
assign_times 
assign_div 

Definition at line 469 of file operators.hpp.

Constructor & Destructor Documentation

◆ ExprAssignment()

BT::Ast::ExprAssignment::ExprAssignment ( expr_ptr  _lhs,
op_t  op,
expr_ptr  _rhs 
)
inlineexplicit

Definition at line 501 of file operators.hpp.

Member Function Documentation

◆ evaluate()

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

Implements BT::Ast::ExprBase.

Definition at line 505 of file operators.hpp.

◆ opStr()

const char* BT::Ast::ExprAssignment::opStr ( ) const
inline

Definition at line 479 of file operators.hpp.

Member Data Documentation

◆ lhs

expr_ptr BT::Ast::ExprAssignment::lhs

Definition at line 499 of file operators.hpp.

◆ op

enum BT::Ast::ExprAssignment::op_t BT::Ast::ExprAssignment::op

◆ rhs

expr_ptr BT::Ast::ExprAssignment::rhs

Definition at line 499 of file operators.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18