YASK
Yet Another Stencil Kit: a software framework for creating HPC stencil code. Copyright 2014-2023 Intel Corporation.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
yask::yc_var_point_node Class Referenceabstract

A reference to a point in a var. More...

#include <yc_node_api.hpp>

+ Inheritance diagram for yask::yc_var_point_node:

Public Member Functions

virtual yc_var_ptr get_var ()=0
 Get the var this point is in.
 
YASK_DEPRECATED yc_var_ptr get_grid ()
 [Deprecated] Use get_var().
 
- Public Member Functions inherited from yask::yc_number_node
virtual yc_number_node_ptr clone_ast () const =0
 Create a deep copy of AST starting with this node.
 
- Public Member Functions inherited from yask::yc_expr_node
virtual std::string format_simple () const =0
 Create a simple human-readable string.
 
virtual int get_num_nodes () const =0
 Count the size of the AST.
 

Detailed Description

A reference to a point in a var.

Created via yc_var::new_var_point() or yc_var::new_relative_var_point().

Member Function Documentation

◆ get_var()

virtual yc_var_ptr yask::yc_var_point_node::get_var ( )
pure virtual

Get the var this point is in.

Returns
Pointer to a yc_var object.

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